ruby-changes:62458
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:28 +0900 (JST)
Subject: [ruby-changes:62458] 0a7f12fcc6 (master): [rubygems/rubygems] Only require what we are using
https://git.ruby-lang.org/ruby.git/commit/?id=0a7f12fcc6 From 0a7f12fcc617905996238f59d4875cbe4d6641d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 11 Jul 2020 12:20:43 +0200 Subject: [rubygems/rubygems] Only require what we are using https://github.com/rubygems/rubygems/commit/d92b94f3cf diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index d07c60d..75f9e99 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -45,7 +45,7 @@ class Gem::Request https://github.com/ruby/ruby/blob/trunk/lib/rubygems/request.rb#L45 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/