[前][次][番号順一覧][スレッド一覧]

ruby-changes:62479

From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:53 +0900 (JST)
Subject: [ruby-changes:62479] 07dc9691a8 (master): [rubygems/rubygems] https functionality was merged into `net/https`

https://git.ruby-lang.org/ruby.git/commit/?id=07dc9691a8

From 07dc9691a8221fecf4da32358ab8897529dc7b5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Sat, 11 Jul 2020 12:21:13 +0200
Subject: [rubygems/rubygems] https functionality was merged into `net/https`

https://github.com/rubygems/rubygems/commit/d81ce9e457

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 @@ https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/artifice/fail.rb#L1
 # 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 @@ https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_bundled_ca.rb#L1
 # frozen_string_literal: true
 require 'rubygems/test_case'
-require 'net/https'
+require 'net/http'
 require 'rubygems/request'
 
 # = Testing Bundled CA
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]