Line 0
Link Here
|
|
|
1 |
--- lib/extend-http.rb.orig 2015-05-05 01:19:35 UTC |
2 |
+++ lib/extend-http.rb |
3 |
@@ -97,7 +97,7 @@ class ExtendedHTTP < Net::HTTP #:nodoc |
4 |
end |
5 |
|
6 |
|
7 |
- if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\.0/ |
8 |
+ if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\./ |
9 |
D "opening connection to #{conn_address()}..." |
10 |
s = timeout(@open_timeout) { TCPSocket.open(conn_address(), conn_port()) } |
11 |
D "opened" |