use the last version of the mounter: fix the SSLv3 issue #231

did committed Mar 04, 2015
commit de876a80ba175dffdab8a16ece8ff51953e32c1c
Showing 4 changed files with 6 additions and 4 deletions
Gemfile +2 -0
@@ @@ -11,6 +11,8 @@ gemspec
gem 'rb-fsevent', '~> 0.9.1'
+ gem 'therubyracer'
+
group :test do
gem 'pry'
gem 'coveralls', require: false
locomotive/wagon/misc/deployment_connection.rb b/lib/locomotive/wagon/misc/deployment_connection.rb +2 -2
@@ @@ -79,7 +79,7 @@ module Locomotive
# return the connection information
{ 'host' => host, 'api_key' => hosting_api.api_key }.tap do |hash|
# add ssl only if it is asked
- hash['ssl'] if hosting_api.ssl?
+ hash['ssl'] = true if hosting_api.ssl?
# insert a new entry for hosting env in the current deploy.yml
File.open(deploy_file, 'a+') do |f|
@@ @@ -117,4 +117,4 @@ module Locomotive
end
end
- end
\ No newline at end of file
+ end
locomotive/wagon/server/dynamic_assets.rb b/lib/locomotive/wagon/server/dynamic_assets.rb +1 -1
@@ @@ -30,4 +30,4 @@ module Locomotive::Wagon
end
end
- end
\ No newline at end of file
+ end
locomotivecms_wagon.gemspec +1 -1
@@ @@ -35,7 +35,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'httmultiparty', '0.3.10'
gem.add_dependency 'will_paginate', '~> 3.0.3'
- gem.add_dependency 'locomotivecms_mounter', '~> 1.5.1'
+ gem.add_dependency 'locomotivecms_mounter', '~> 1.5.2'
gem.add_dependency 'faker', '~> 0.9.5'