summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-11 12:21:13 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commit07dc9691a8221fecf4da32358ab8897529dc7b5c (patch)
tree30ff1c40a8e5dffa99bc307ceefa4dcad0b20e5c
parent0a7f12fcc617905996238f59d4875cbe4d6641d0 (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.rb5
-rw-r--r--test/rubygems/test_bundled_ca.rb2
2 files changed, 1 insertions, 6 deletions
diff --git a/spec/bundler/support/artifice/fail.rb b/spec/bundler/support/artifice/fail.rb
index 1059c6d..f69f2ec 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 aabfd46..61f70fd 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