excon 0.19.4 → 0.19.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of excon might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/Gemfile.lock +1 -1
- data/changelog.txt +6 -1
- data/excon.gemspec +1 -1
- data/lib/excon/constants.rb +1 -1
- data/lib/excon/response.rb +1 -1
- metadata +21 -42
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 011663647a49596558289285f614722d7c7d25e0
|
4
|
+
data.tar.gz: a186c587cb11914ff50538e899f0200d9aa2ed1e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2d93b80b63fe2c974fe505c4848f5914344d9407f369493d0de80731105f669950876208437cc4945e9ee2e7a4e86f01d72cf2ff0ceb56f66874b1e50c33f9a9
|
7
|
+
data.tar.gz: 052441cfb4ab36f4db7c1d3390eeb5968f81d4c319fc851b17b7decfef874ed2405099ccbd5e71282a78727544af6370db2bf1c08dab14e510d7e9f3fd9a0d72
|
data/Gemfile.lock
CHANGED
data/changelog.txt
CHANGED
data/excon.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'excon'
|
16
|
-
s.version = '0.19.
|
16
|
+
s.version = '0.19.5'
|
17
17
|
s.date = '2013-03-04'
|
18
18
|
s.rubyforge_project = 'excon'
|
19
19
|
|
data/lib/excon/constants.rb
CHANGED
data/lib/excon/response.rb
CHANGED
@@ -34,7 +34,7 @@ module Excon
|
|
34
34
|
:body => '',
|
35
35
|
:headers => {},
|
36
36
|
:status => socket.read(12)[9, 11].to_i,
|
37
|
-
:remote_ip => socket.remote_ip
|
37
|
+
:remote_ip => socket.respond_to?(:remote_ip) && socket.remote_ip
|
38
38
|
}
|
39
39
|
socket.readline # read the rest of the status line and CRLF
|
40
40
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
5
|
-
prerelease:
|
4
|
+
version: 0.19.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- dpiddy (Dan Peterson)
|
@@ -16,129 +15,113 @@ dependencies:
|
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: activesupport
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- -
|
19
|
+
- - '>='
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: '0'
|
24
22
|
type: :development
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- -
|
26
|
+
- - '>='
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: '0'
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: delorean
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- -
|
33
|
+
- - '>='
|
38
34
|
- !ruby/object:Gem::Version
|
39
35
|
version: '0'
|
40
36
|
type: :development
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- -
|
40
|
+
- - '>='
|
46
41
|
- !ruby/object:Gem::Version
|
47
42
|
version: '0'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: eventmachine
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - '>='
|
54
48
|
- !ruby/object:Gem::Version
|
55
49
|
version: '0'
|
56
50
|
type: :development
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - '>='
|
62
55
|
- !ruby/object:Gem::Version
|
63
56
|
version: '0'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: open4
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
|
-
- -
|
61
|
+
- - '>='
|
70
62
|
- !ruby/object:Gem::Version
|
71
63
|
version: '0'
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
|
-
- -
|
68
|
+
- - '>='
|
78
69
|
- !ruby/object:Gem::Version
|
79
70
|
version: '0'
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: rake
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- -
|
75
|
+
- - '>='
|
86
76
|
- !ruby/object:Gem::Version
|
87
77
|
version: '0'
|
88
78
|
type: :development
|
89
79
|
prerelease: false
|
90
80
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
81
|
requirements:
|
93
|
-
- -
|
82
|
+
- - '>='
|
94
83
|
- !ruby/object:Gem::Version
|
95
84
|
version: '0'
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
86
|
name: rdoc
|
98
87
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
88
|
requirements:
|
101
|
-
- -
|
89
|
+
- - '>='
|
102
90
|
- !ruby/object:Gem::Version
|
103
91
|
version: '0'
|
104
92
|
type: :development
|
105
93
|
prerelease: false
|
106
94
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
95
|
requirements:
|
109
|
-
- -
|
96
|
+
- - '>='
|
110
97
|
- !ruby/object:Gem::Version
|
111
98
|
version: '0'
|
112
99
|
- !ruby/object:Gem::Dependency
|
113
100
|
name: shindo
|
114
101
|
requirement: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
102
|
requirements:
|
117
|
-
- -
|
103
|
+
- - '>='
|
118
104
|
- !ruby/object:Gem::Version
|
119
105
|
version: '0'
|
120
106
|
type: :development
|
121
107
|
prerelease: false
|
122
108
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
109
|
requirements:
|
125
|
-
- -
|
110
|
+
- - '>='
|
126
111
|
- !ruby/object:Gem::Version
|
127
112
|
version: '0'
|
128
113
|
- !ruby/object:Gem::Dependency
|
129
114
|
name: sinatra
|
130
115
|
requirement: !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
116
|
requirements:
|
133
|
-
- -
|
117
|
+
- - '>='
|
134
118
|
- !ruby/object:Gem::Version
|
135
119
|
version: '0'
|
136
120
|
type: :development
|
137
121
|
prerelease: false
|
138
122
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
123
|
requirements:
|
141
|
-
- -
|
124
|
+
- - '>='
|
142
125
|
- !ruby/object:Gem::Version
|
143
126
|
version: '0'
|
144
127
|
description: EXtended http(s) CONnections
|
@@ -220,29 +203,25 @@ files:
|
|
220
203
|
- tests/timeout_tests.rb
|
221
204
|
homepage: https://github.com/geemus/excon
|
222
205
|
licenses: []
|
206
|
+
metadata: {}
|
223
207
|
post_install_message:
|
224
208
|
rdoc_options:
|
225
209
|
- --charset=UTF-8
|
226
210
|
require_paths:
|
227
211
|
- lib
|
228
212
|
required_ruby_version: !ruby/object:Gem::Requirement
|
229
|
-
none: false
|
230
213
|
requirements:
|
231
|
-
- -
|
214
|
+
- - '>='
|
232
215
|
- !ruby/object:Gem::Version
|
233
216
|
version: '0'
|
234
|
-
segments:
|
235
|
-
- 0
|
236
|
-
hash: 4599861139474558854
|
237
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
|
-
none: false
|
239
218
|
requirements:
|
240
|
-
- -
|
219
|
+
- - '>='
|
241
220
|
- !ruby/object:Gem::Version
|
242
221
|
version: '0'
|
243
222
|
requirements: []
|
244
223
|
rubyforge_project: excon
|
245
|
-
rubygems_version:
|
224
|
+
rubygems_version: 2.0.0
|
246
225
|
signing_key:
|
247
226
|
specification_version: 2
|
248
227
|
summary: speed, persistence, http(s)
|