diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-17 03:55:02 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-17 03:55:02 +0000 |
commit | d35a2bd4dfdb974ff741736ad27b420c40365515 (patch) | |
tree | 2a8542408af557908a28fba1df80c21ecf10f7aa /lib/rubygems/remote_fetcher.rb | |
parent | 1133596e6ba77ddeb93552fc8274a3bbdd87e6f3 (diff) | |
download | ruby-d35a2bd4dfdb974ff741736ad27b420c40365515.tar.gz |
* lib/rubygems/*, test/rubygems/*: Update to RubyGems 2.4.4
master (2f6e42e).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/remote_fetcher.rb')
-rw-r--r-- | lib/rubygems/remote_fetcher.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rubygems/remote_fetcher.rb b/lib/rubygems/remote_fetcher.rb index 607827c47e..d42a7bd9de 100644 --- a/lib/rubygems/remote_fetcher.rb +++ b/lib/rubygems/remote_fetcher.rb @@ -326,7 +326,7 @@ class Gem::RemoteFetcher def correct_for_windows_path(path) if path[0].chr == '/' && path[1].chr =~ /[a-z]/i && path[2].chr == ':' - path = path[1..-1] + path[1..-1] else path end @@ -352,6 +352,10 @@ class Gem::RemoteFetcher uri.scheme.downcase == 'https' end + def close_all + @pools.each_value {|pool| pool.close_all} + end + protected # we have our own signing code here to avoid a dependency on the aws-sdk gem |