diff options
author | David RodrÃguez <[email protected]> | 2024-01-15 20:51:02 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-01-29 12:14:21 +0900 |
commit | d64d0b54231208c7bec899a7fe8c3b98ec2e9a1b () | |
tree | 9d18dbdda185bda6ccaf1f5a710f678dddbc907f /lib/rubygems/remote_fetcher.rb | |
parent | 6bbbfb4629a4fdb336d5ac4f625e97ce30c15a01 (diff) |
Vendor uri gem in RubyGems
-rw-r--r-- | lib/rubygems/remote_fetcher.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,7 +76,7 @@ class Gem::RemoteFetcher require_relative "core_ext/tcpsocket_init" if Gem.configuration.ipv4_fallback_enabled require_relative "net/http" require "stringio" - require "uri" Socket.do_not_reverse_lookup = true @@ -135,7 +135,7 @@ class Gem::RemoteFetcher scheme = source_uri.scheme - # URI.parse gets confused by MS Windows paths with forward slashes. scheme = nil if /^[a-z]$/i.match?(scheme) # REFACTOR: split this up and dis on scheme (eg download_http) |