akr
198964ea2f
Avoid tempfile leaks using Tempfile.create instead of Tempfile.open.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 14:00:16 +00:00
hsbt
5691727653
* test/monitor/test_monitor.rb: remove unused variabels.
...
* test/resolv/test_dns.rb: ditto.
* test/rexml/test_functions.rb: ditto.
* test/rss/test_setup_maker_itunes.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21 01:53:38 +00:00
tmm1
959a66249d
resolv/test_addr.rb: require tempfile for new test in r44312
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-21 09:45:50 +00:00
nobu
1ef0a76c6c
test_dns.rb: no server access
...
* test/resolv/test_dns.rb (test_invalid_byte_comment): get rid of
actual server access. [Bug #9273 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-21 07:18:18 +00:00
nobu
1ffbe07e17
resolv.rb: no encodings
...
* lib/resolv.rb (Resolv::Hosts#lazy_initialize): should not
consider encodings in hosts file. [ruby-core:59239] [Bug #9273 ]
* lib/resolv.rb (Resolv::Config.parse_resolv_conf): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-21 03:37:26 +00:00
kazu
ca0bb51887
* test/net/http/test_https_proxy.rb
...
(HTTPSProxyTest#test_https_proxy_authentication):
add workaround to avoid to hang up without openssl.
see #5786
* test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 15:55:07 +00:00
akr
6533f070ba
* lib/resolv.rb (Resolv::DNS): retry IO.select for premature wakeup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-31 12:03:49 +00:00
akr
c4dd8ca7b3
* test/resolv/test_dns.rb: don't check maximum sleeped time.
...
ruby doesn't guarantee the maximum time because it is not a
realtime application.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-31 10:15:27 +00:00
akr
16f4ecbc8c
* lib/resolv.rb: make timeout configurable for DNS query.
...
patch by Eric Wong. [ruby-core:38533] [Feature #5100 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 08:46:12 +00:00
akr
089d2ddda4
* lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 00:06:17 +00:00
akr
20a6e94e47
* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
...
[ruby-core:29501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-18 09:09:46 +00:00
akr
50b8893d56
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#inspect):
...
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-02 16:31:00 +00:00