diff options
Diffstat (limited to 'lib/bundler/ssl_certs/certificate_manager.rb')
-rw-r--r-- | lib/bundler/ssl_certs/certificate_manager.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/ssl_certs/certificate_manager.rb b/lib/bundler/ssl_certs/certificate_manager.rb index 0148736b7a..558bd9ef50 100644 --- a/lib/bundler/ssl_certs/certificate_manager.rb +++ b/lib/bundler/ssl_certs/certificate_manager.rb @@ -1,6 +1,6 @@ -require 'fileutils' -require 'net/https' -require 'openssl' +require "fileutils" +require "net/https" +require "openssl" module Bundler module SSLCerts @@ -13,7 +13,7 @@ module Bundler def initialize(rubygems_path = nil) if rubygems_path - rubygems_cert_path = File.join(rubygems_path, 'lib/rubygems/ssl_certs') + rubygems_cert_path = File.join(rubygems_path, "lib/rubygems/ssl_certs") @rubygems_certs = certificates_in(rubygems_cert_path) end @@ -41,7 +41,7 @@ module Bundler http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_PEER http.cert_store = store - http.head('/') + http.head("/") end private |