diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-09 01:51:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-09 01:51:38 +0000 |
commit | db4a1579351c3c8888e58ec24b74669300b168f9 (patch) | |
tree | f1648208a1608166c00b4a6705b4e32ca52df571 /test | |
parent | c6567bd9f7357d021ea13da2948d9dadf1420edb (diff) | |
download | ruby-db4a1579351c3c8888e58ec24b74669300b168f9.tar.gz |
Support 1.8
Merged https://github.com/rubygems/rubygems/commit/72b3701
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_remote_fetcher.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_remote_fetcher.rb b/test/rubygems/test_gem_remote_fetcher.rb index a0922b891f..49b6b6656c 100644 --- a/test/rubygems/test_gem_remote_fetcher.rb +++ b/test/rubygems/test_gem_remote_fetcher.rb @@ -924,8 +924,8 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg== @ssl_server_thread.kill.join @ssl_server_thread = nil end - timeout = WEBrick::Utils::TimeoutHandler - timeout.terminate if defined?(timeout.terminate) + utils = WEBrick::Utils # TimeoutHandler is since 1.9 + utils::TimeoutHandler.terminate if defined?(utils::TimeoutHandler.terminate) end def normal_server_port |