Merge RubyGems-3.3.16 and Bundler-2.3.16

This commit is contained in:
Hiroshi SHIBATA 2022-07-13 14:44:32 +09:00 committed by nagachika
parent b9f6a09bd2
commit a01f5ad1ec
66 changed files with 808 additions and 562 deletions

View file

@ -26,15 +26,8 @@ class Gem::Source
# Creates a new Source which will use the index located at +uri+.
def initialize(uri)
begin
unless uri.kind_of? URI
uri = URI.parse(uri.to_s)
end
rescue URI::InvalidURIError
raise if Gem::Source == self.class
end
@uri = uri
require_relative "uri"
@uri = Gem::Uri.parse!(uri)
@update_cache = nil
end