aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-17 03:55:02 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-17 03:55:02 +0000
commitd35a2bd4dfdb974ff741736ad27b420c40365515 (patch)
tree2a8542408af557908a28fba1df80c21ecf10f7aa /test/rubygems
parent1133596e6ba77ddeb93552fc8274a3bbdd87e6f3 (diff)
downloadruby-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 'test/rubygems')
-rw-r--r--test/rubygems/test_gem_remote_fetcher.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/rubygems/test_gem_remote_fetcher.rb b/test/rubygems/test_gem_remote_fetcher.rb
index 7e08a8c663..883e1bd8e4 100644
--- a/test/rubygems/test_gem_remote_fetcher.rb
+++ b/test/rubygems/test_gem_remote_fetcher.rb
@@ -77,30 +77,6 @@ gems:
DIR = File.expand_path(File.dirname(__FILE__))
- module RemoteFetcherCleanup
- refine Gem::RemoteFetcher do
- def close_all
- @pools.each_value {|pool| pool.close_all}
- end
- end
- refine Gem::Request::ConnectionPools do
- def close_all
- @pools.each_value {|pool| pool.close_all}
- end
- end
- refine Gem::Request::HTTPPool do
- def close_all
- until @queue.empty?
- if connection = @queue.pop(true) and connection.started?
- connection.finish
- end
- end
- @queue.push(nil)
- end
- end
- end
- using RemoteFetcherCleanup
-
def setup
@proxies = %w[http_proxy HTTP_PROXY http_proxy_user HTTP_PROXY_USER http_proxy_pass HTTP_PROXY_PASS no_proxy NO_PROXY]
@old_proxies = @proxies.map {|k| ENV[k] }