[前][次][番号順一覧][スレッド一覧]

ruby-changes:41708

From: nobu <ko1@a...>
Date: Tue, 9 Feb 2016 10:51:34 +0900 (JST)
Subject: [ruby-changes:41708] nobu:r53781 (trunk): Support 1.8

nobu	2016-02-09 10:51:38 +0900 (Tue, 09 Feb 2016)

  New Revision: 53781

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53781

  Log:
    Support 1.8
    
    Merged https://github.com/rubygems/rubygems/commit/72b3701

  Modified files:
    trunk/test/rubygems/test_gem_remote_fetcher.rb
Index: test/rubygems/test_gem_remote_fetcher.rb
===================================================================
--- test/rubygems/test_gem_remote_fetcher.rb	(revision 53780)
+++ test/rubygems/test_gem_remote_fetcher.rb	(revision 53781)
@@ -924,8 +924,8 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg== https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_remote_fetcher.rb#L924
         @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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]