diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-07-11 12:21:13 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-31 21:07:19 +0900 |
commit | 07dc9691a8221fecf4da32358ab8897529dc7b5c (patch) | |
tree | 30ff1c40a8e5dffa99bc307ceefa4dcad0b20e5c | |
parent | 0a7f12fcc617905996238f59d4875cbe4d6641d0 (diff) |
[rubygems/rubygems] https functionality was merged into `net/https`
https://github.com/rubygems/rubygems/commit/d81ce9e457
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3379
-rw-r--r-- | spec/bundler/support/artifice/fail.rb | 5 | ||||
-rw-r--r-- | test/rubygems/test_bundled_ca.rb | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/spec/bundler/support/artifice/fail.rb b/spec/bundler/support/artifice/fail.rb index 1059c6df4e..f69f2eccc6 100644 --- a/spec/bundler/support/artifice/fail.rb +++ b/spec/bundler/support/artifice/fail.rb @@ -1,11 +1,6 @@ # frozen_string_literal: true require "net/http" -begin - require "net/https" -rescue LoadError - nil # net/https or openssl -end # We can't use artifice here because it uses rack diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb index aabfd46a2b..61f70fd10d 100644 --- a/test/rubygems/test_bundled_ca.rb +++ b/test/rubygems/test_bundled_ca.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true require 'rubygems/test_case' -require 'net/https' +require 'net/http' require 'rubygems/request' # = Testing Bundled CA |