net-http-persistent 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +7 -0
- data/README.txt +1 -1
- data/Rakefile +1 -0
- data/lib/net/http/persistent.rb +3 -2
- metadata +23 -7
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/Rakefile
CHANGED
data/lib/net/http/persistent.rb
CHANGED
@@ -37,7 +37,7 @@ class Net::HTTP::Persistent
|
|
37
37
|
##
|
38
38
|
# The version of Net::HTTP::Persistent use are using
|
39
39
|
|
40
|
-
VERSION = '1.5.
|
40
|
+
VERSION = '1.5.2'
|
41
41
|
|
42
42
|
##
|
43
43
|
# Error class for errors raised by Net::HTTP::Persistent. Various
|
@@ -225,7 +225,8 @@ class Net::HTTP::Persistent
|
|
225
225
|
|
226
226
|
if Socket.const_defined? :TCP_NODELAY then
|
227
227
|
socket = connection.instance_variable_get :@socket
|
228
|
-
socket.io.setsockopt Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1
|
228
|
+
socket.io.setsockopt Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1 if
|
229
|
+
socket # for fakeweb
|
229
230
|
end
|
230
231
|
end
|
231
232
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-http-persistent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 2
|
10
|
+
version: 1.5.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Eric Hodel
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
x52qPcexcYZR7w==
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2011-02-
|
39
|
+
date: 2011-02-24 00:00:00 -08:00
|
40
40
|
default_executable:
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
@@ -56,9 +56,25 @@ dependencies:
|
|
56
56
|
type: :development
|
57
57
|
version_requirements: *id001
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
59
|
+
name: rubyforge
|
60
60
|
prerelease: false
|
61
61
|
requirement: &id002 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
hash: 7
|
67
|
+
segments:
|
68
|
+
- 2
|
69
|
+
- 0
|
70
|
+
- 4
|
71
|
+
version: 2.0.4
|
72
|
+
type: :development
|
73
|
+
version_requirements: *id002
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: hoe
|
76
|
+
prerelease: false
|
77
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
62
78
|
none: false
|
63
79
|
requirements:
|
64
80
|
- - ">="
|
@@ -70,7 +86,7 @@ dependencies:
|
|
70
86
|
- 0
|
71
87
|
version: 2.9.0
|
72
88
|
type: :development
|
73
|
-
version_requirements: *
|
89
|
+
version_requirements: *id003
|
74
90
|
description: |-
|
75
91
|
Persistent connections using Net::HTTP plus a speed fix for 1.8. It's
|
76
92
|
thread-safe too!
|
@@ -125,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
141
|
requirements: []
|
126
142
|
|
127
143
|
rubyforge_project: seattlerb
|
128
|
-
rubygems_version: 1.5.
|
144
|
+
rubygems_version: 1.5.2
|
129
145
|
signing_key:
|
130
146
|
specification_version: 3
|
131
147
|
summary: Persistent connections using Net::HTTP plus a speed fix for 1.8
|
metadata.gz.sig
CHANGED
Binary file
|