[ruby-cvs:54987] normal:r47838 (trunk): normalize reference to Timeout::Error

normal at ruby-lang.org normal at ruby-lang.org
Wed Oct 8 05:00:10 JST 2014


normal	2014-10-08 05:00:09 +0900 (Wed, 08 Oct 2014)

  New Revision: 47838

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

  Log:
    normalize reference to Timeout::Error
    
    From: John Bachir <j at jjb.cc>
    
    * bootstraptest/test_io.rb (assert_finish):
      normalize rescue for Timeout::Error
    * lib/net/ftp.rb (Net#read_timeout): ditto for doc
    * lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
    * lib/webrick/httprequest.rb (_read_data): ditto for rescue
    * sample/timeout.rb (p timeout): ditto for call
    * test/drb/drbtest.rb (test_06_timeout): ditto
    * test/ruby/test_readpartial.rb (test_open_pipe): ditto
    * test/thread/test_queue.rb (test_queue_thread_raise): ditto
    * thread.c (rb_thread_s_handle_interrupt): ditto for doc
      [ruby-core:65481] [misc #10339]
    
    TimeoutError is a legacy constant, Timeout::Error is the canonical constant.
    This patch normalizes all code and comments to reference Timeout::Error.

  Modified files:
    trunk/ChangeLog
    trunk/bootstraptest/test_io.rb
    trunk/lib/net/ftp.rb
    trunk/lib/resolv.rb
    trunk/lib/webrick/httprequest.rb
    trunk/sample/timeout.rb
    trunk/test/drb/drbtest.rb
    trunk/test/ruby/test_readpartial.rb
    trunk/test/thread/test_queue.rb
    trunk/thread.c


More information about the ruby-cvs mailing list