Skip to content

Commit

Permalink
swap SSLv23 for TLSv1
Browse files Browse the repository at this point in the history
version bump
  • Loading branch information
nickmerwin committed Jun 23, 2015
1 parent 87bde67 commit 2ea77ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/coveralls/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def self.post_json(endpoint, hash)
Coveralls::Output.puts("#{ JSON.pretty_generate(hash) }", :color => "green") if ENV['COVERALLS_DEBUG']
hash = apified_hash hash
Coveralls::Output.puts("[Coveralls] Submitting to #{API_BASE}", :color => "cyan")
response = RestClient::Request.execute(:method => :post, :url => url, :payload => { :json_file => hash_to_file(hash) }, :ssl_version => 'SSLv23')
response = RestClient::Request.execute(:method => :post, :url => url, :payload => { :json_file => hash_to_file(hash) }, :ssl_version => 'TLSv1', :verify_ssl => false)
response_hash = JSON.load(response.to_str)
Coveralls::Output.puts("[Coveralls] #{ response_hash['message'] }", :color => "cyan")
if response_hash['message']
Expand Down
2 changes: 1 addition & 1 deletion lib/coveralls/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Coveralls
VERSION = "0.8.1"
VERSION = "0.8.2"
end

0 comments on commit 2ea77ec

Please sign in to comment.