1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/net
normal 9bb7dfa247 normalize reference to Timeout::Error
From: John Bachir <j@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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-07 20:00:09 +00:00
..
http * lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY): 2014-08-05 19:20:28 +00:00
ftp.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
http.rb * lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead 2014-08-05 19:37:37 +00:00
https.rb
imap.rb * lib/net/imap.rb: split executable code into sample directory. 2014-08-21 03:40:42 +00:00
pop.rb * lib/net/pop.rb: [DOC] Fix typo 2013-12-13 02:38:55 +00:00
protocol.rb net/protocol.rb: fix SMTP dot stuffing 2014-05-23 12:36:30 +00:00
smtp.rb * lib/net/smtp.rb (Net::SMTP#data): enable buffering while 2014-07-11 19:22:19 +00:00
telnet.rb * lib/drb/drb.rb: use attr_reader instead of Module#attr. 2014-08-27 12:10:21 +00:00