1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
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
..
cgi * lib/cgi/session/pstore.rb: separated sample code. 2014-08-10 01:34:50 +00:00
drb * lib/drb/drb.rb: Support graceful shutdown. 2014-09-21 17:06:05 +00:00
irb * lib/drb/drb.rb: use attr_reader instead of Module#attr. 2014-08-27 12:10:21 +00:00
matrix * lib/matrix/eigenvalue_decomposition: Style fix 2014-07-18 10:11:18 +00:00
net normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
optparse * lib/cgi/core.rb: remove unused variables. 2014-07-27 11:04:28 +00:00
racc * lib/cgi/core.rb: remove unused variables. 2014-07-27 11:04:28 +00:00
rake * append newline at EOF. 2014-09-06 09:31:52 +00:00
rbconfig * tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb. 2014-07-07 02:07:01 +00:00
rdoc * lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(21b241a) 2014-09-11 01:03:22 +00:00
rexml * lib/rexml/**/*.rb: removed commented-out code. 2014-09-21 03:10:27 +00:00
rinda * lib/rinda/ring.rb: split executable code into sample directory. 2014-08-21 04:23:56 +00:00
rss Restore date field. 2014-06-14 13:52:04 +00:00
rubygems * lib/rubygems: Update to RubyGems 2.4.2. 2014-10-01 08:30:21 +00:00
shell * lib/shell/process-controller.rb: removed commented-out code. 2014-08-26 02:44:26 +00:00
uri * lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when 2014-09-27 03:13:22 +00:00
webrick normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
xmlrpc * lib/gserver.rb: removed unmaintained code. 2014-08-15 01:21:18 +00:00
yaml
abbrev.rb * lib/abbrev.rb: remove executable. 2014-07-11 08:16:05 +00:00
base64.rb
benchmark.rb lib/benchmark.rb: remove CLOCK_MONOTONIC_RAW support 2014-09-11 08:09:07 +00:00
cgi.rb * lib/cgi.rb: remove needless condition for old ruby version. 2014-08-07 06:14:29 +00:00
cmath.rb * lib/cmath.rb: fixed indent. 2014-08-09 01:36:49 +00:00
csv.rb * lib/csv.rb: avoid unnecessary object allocations. 2014-09-21 03:21:17 +00:00
debug.rb
delegate.rb * lib/delegate.rb: split executable code into sample directory. 2014-07-26 17:11:56 +00:00
drb.rb
e2mmap.rb * lib/e2mmap.rb: remove needless instance variables. 2014-08-24 07:16:25 +00:00
English.rb * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620] 2014-05-31 19:54:55 +00:00
erb.rb * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation. 2014-08-27 12:21:41 +00:00
fileutils.rb * lib/fileutils.rb: enable to remove with non-owner directory. 2014-08-12 04:36:31 +00:00
find.rb
forwardable.rb
getoptlong.rb
ipaddr.rb * lib/ipaddr.rb: extracted inline tests into test dir. 2014-05-31 07:36:51 +00:00
irb.rb * lib/e2mmap.rb: remove needless instance variables. 2014-08-24 07:16:25 +00:00
logger.rb logger.rb: simplify 2014-08-25 04:03:33 +00:00
mathn.rb lib/mathn.rb: remove built-in methods 2014-08-26 12:07:57 +00:00
matrix.rb * lib/matrix.rb: Add Matrix#laplace_expansion. 2014-10-07 19:30:48 +00:00
mkmf.rb mkmf.rb: -I flags to $INCFLAGS 2014-09-09 00:27:34 +00:00
monitor.rb
mutex_m.rb
observer.rb * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation. 2014-08-27 12:21:41 +00:00
open-uri.rb * lib/open-uri.rb: remove needless condition for old ruby version. 2014-08-08 10:30:19 +00:00
open3.rb * lib/cgi/session/pstore.rb: separated sample code. 2014-08-10 01:34:50 +00:00
optionparser.rb lib/optionparser.rb 2014-05-26 03:25:38 +00:00
optparse.rb optparse.rb: getopts message improvement 2014-07-21 06:55:44 +00:00
ostruct.rb
pp.rb
prettyprint.rb * lib/prettyprint.rb: removed PrettyPrint#first? 2014-08-22 02:38:59 +00:00
prime.rb * lib/cgi/core.rb: remove unused variables. 2014-07-27 11:04:28 +00:00
profile.rb
profiler.rb
pstore.rb * lib/pstore.rb: split executable code into sample directory. 2014-07-23 19:31:18 +00:00
rake.rb * lib/rake.rb, lib/rake/*.rb: Upgrade to rake-10.3.2 2014-07-15 03:07:37 +00:00
rdoc.rb * lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287) 2014-09-05 01:41:25 +00:00
resolv-replace.rb
resolv.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
rss.rb
rubygems.rb * lib/rubygems: Update to RubyGems 2.4.2. 2014-10-01 08:30:21 +00:00
scanf.rb
securerandom.rb * lib/securerandom.rb: use OpenSSL::BN for performance improvement. 2014-08-08 11:00:47 +00:00
set.rb * lib/set.rb (Set#replace): Check if an object given is enumerable 2014-08-06 11:28:21 +00:00
shell.rb * lib/e2mmap.rb: remove needless instance variables. 2014-08-24 07:16:25 +00:00
shellwords.rb * lib/shellwords.rb: proofreading documentation. 2014-09-05 10:00:46 +00:00
singleton.rb
sync.rb
tempfile.rb tempfile.rb: fix r47655 2014-09-21 01:40:21 +00:00
thwait.rb * lib/drb/drb.rb: use attr_reader instead of Module#attr. 2014-08-27 12:10:21 +00:00
time.rb * time.c: [DOC] Clarify %Y in strftime, which can accept any digits 2014-07-27 20:58:05 +00:00
timeout.rb
tmpdir.rb tmpdir.rb: explicit conversion to string 2014-09-22 04:44:19 +00:00
tracer.rb
tsort.rb
ubygems.rb
un.rb
uri.rb
weakref.rb * lib/weakref.rb: split executable code into sample directory. 2014-07-26 17:12:11 +00:00
webrick.rb
xmlrpc.rb
yaml.rb Revert "Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]"" 2014-06-26 02:52:46 +00:00