Skip to content

Commit

Permalink
Update net-http-persistent to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Zaliskyi committed Dec 8, 2016
1 parent 9c902df commit 8800199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ gemspec

gem "rake"
gem "minitest"
gem "net-http-persistent", ">= 3.0.0"
2 changes: 1 addition & 1 deletion lib/helpers/https.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class HTTPS < Net::HTTP::Persistent
#
# Verify fingerprints of server SSL/TLS certificates.
def initialize(name = nil, proxy = nil, fingerprints)
super(name, proxy)
super(name: name, proxy: proxy)

# Attribute ca_file must be set, otherwise verify_callback would never be called.
@ca_file = "lib/cacert.pem"
Expand Down

0 comments on commit 8800199

Please sign in to comment.