1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
naruse 439e50789b Use Net::HTTPClientException instead of Net::HTTPServerException
`Net::HTTPServerException` has been deprecated since r63590. [Bug #14688]
And `net/http/responses.rb` uses the deprecated constant, so Ruby warns of the deprecation.

Example:

```bash
$ ruby -r net/http -e ''
/home/pocke/.rbenv/versions/trunk/lib/ruby/2.6.0/net/http/responses.rb:22: warning: constant Net::HTTPServerException is deprecated
```

This change suppresses the warning.
From: Masataka Pocke Kuwabara <kuwabara@pocke.me>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-06 12:13:16 +00:00
..
cgi Use &. instead of modifier if 2018-05-04 13:30:25 +00:00
csv Use hard-coded file list instead of Dir.glob. 2018-05-09 11:44:30 +00:00
drb If host of URI is omitted, make it with IP address. 2018-03-17 15:13:39 +00:00
forwardable
irb irb.rb: restore the last error 2018-04-14 13:05:52 +00:00
matrix
net Use Net::HTTPClientException instead of Net::HTTPServerException 2018-06-06 12:13:16 +00:00
optparse
racc
rdoc Merge rdoc-6.0.4 from upstream. 2018-05-08 02:07:53 +00:00
rexml Fixed wrong require path 2018-06-02 07:04:28 +00:00
rinda
rss Promote RSS library to default gems. 2018-06-02 01:14:24 +00:00
rubygems * remove trailing spaces. 2018-05-30 13:01:37 +00:00
shell
unicode_normalize
uri http_proxy setting should respect both parent domain and subdomain 2018-05-17 07:40:01 +00:00
webrick repatch r62966 and r62969. 2018-04-03 10:22:45 +00:00
yaml
.document
abbrev.rb
base64.rb
benchmark.rb
cgi.rb
cmath.gemspec
cmath.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
csv.rb Merge csv-1.0.2 from upstream. 2018-05-09 04:39:16 +00:00
debug.rb
delegate.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
drb.rb
e2mmap.rb
English.rb
erb.rb erb.rb: relax warn level of ERB.new 2018-02-28 12:12:20 +00:00
fileutils.gemspec Retry to merge fileutils-1.1.0. 2018-05-15 05:53:18 +00:00
fileutils.rb fileutils.rb: split fu_windows? 2018-05-19 00:22:39 +00:00
find.rb
forwardable.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
getoptlong.rb
ipaddr.gemspec
ipaddr.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
irb.rb irb.rb: update _ 2018-05-12 09:13:45 +00:00
logger.gemspec Promote Logger to default gems. 2018-06-02 13:57:48 +00:00
logger.rb logger: use safe navigation operator 2018-01-18 00:52:01 +00:00
matrix.rb lib/matrix.rb: Document deprecated methods [#12032] [doc] [ci-skip] 2018-02-06 23:47:49 +00:00
mkmf.rb mkmf.rb: set cppflags 2018-05-11 15:46:21 +00:00
monitor.rb
mutex_m.rb
observer.rb
open-uri.rb open-uri: clear string after buffering 2018-01-08 01:11:33 +00:00
open3.rb Use &. instead of modifier if 2018-04-30 10:01:08 +00:00
optionparser.rb
optparse.rb lib/optparse.rb: improve docs 2018-05-16 18:55:28 +00:00
ostruct.rb lib/ostruct.rb: Use FrozenError instead of RuntimeError. 2018-02-06 23:52:30 +00:00
pp.rb Requiring pp is not required now [ci skip] 2017-12-18 01:51:53 +00:00
prettyprint.rb
prime.gemspec Promote Prime library to default gems. 2018-06-02 23:05:45 +00:00
prime.rb Promote Prime library to default gems. 2018-06-02 23:05:45 +00:00
profile.rb
profiler.rb
pstore.rb
rdoc.rb Merge rdoc-6.0.4 from upstream. 2018-05-08 02:07:53 +00:00
resolv-replace.rb
resolv.rb resolv.rb: remove rangerand 2018-03-06 03:31:46 +00:00
rss.rb
rubygems.rb Merge RubyGems 3.0.0.beta1. 2018-05-30 13:01:35 +00:00
scanf.gemspec
scanf.rb lib/scanf.rb: [DOC] fix typos 2018-01-07 17:49:46 +00:00
securerandom.rb lib/securerandom.rb: improve docs 2018-05-11 20:07:32 +00:00
set.rb Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
shell.rb
shellwords.rb
singleton.rb
sync.rb
tempfile.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
thwait.rb
time.rb time.rb: fix parsing time zone in iso8601 2018-05-28 15:35:08 +00:00
timeout.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
tmpdir.rb Ignore file separator from tmpfile/tmpdir name. 2018-03-28 10:03:03 +00:00
tracer.rb
tsort.rb
un.rb
uri.rb Improve docs for URI library 2018-04-21 20:04:05 +00:00
weakref.rb
webrick.rb
yaml.rb Clarify the documentation of the YAML module [Misc #14567] 2018-03-02 12:56:37 +00:00