mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Only require what we are using
https://github.com/rubygems/rubygems/commit/d92b94f3cf
This commit is contained in:
parent
9ad9c2d9c3
commit
0a7f12fcc6
Notes:
git
2020-07-31 21:08:18 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Gem::Request
|
|||
end
|
||||
|
||||
def self.configure_connection_for_https(connection, cert_files)
|
||||
require 'net/https'
|
||||
require 'openssl'
|
||||
connection.use_ssl = true
|
||||
connection.verify_mode =
|
||||
Gem.configuration.ssl_verify_mode || OpenSSL::SSL::VERIFY_PEER
|
||||
|
|
Loading…
Add table
Reference in a new issue