excon 0.13.0 → 0.13.1
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.
- data/changelog.txt +5 -0
- data/excon.gemspec +2 -2
- data/lib/excon/connection.rb +1 -1
- data/lib/excon/constants.rb +1 -1
- metadata +156 -162
data/changelog.txt
CHANGED
data/excon.gemspec
CHANGED
@@ -13,8 +13,8 @@ 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.13.
|
17
|
-
s.date = '2012-03-
|
16
|
+
s.version = '0.13.1'
|
17
|
+
s.date = '2012-03-26'
|
18
18
|
s.rubyforge_project = 'excon'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
data/lib/excon/connection.rb
CHANGED
@@ -185,7 +185,7 @@ module Excon
|
|
185
185
|
# The HTTP spec isn't clear on it, but specifically, GET requests don't usually send bodies;
|
186
186
|
# if they don't, sending Content-Length:0 can cause issues.
|
187
187
|
params[:headers]['Content-Length'] = case params[:body]
|
188
|
-
when File
|
188
|
+
when File, Tempfile
|
189
189
|
params[:body].binmode
|
190
190
|
File.size(params[:body])
|
191
191
|
when String
|
data/lib/excon/constants.rb
CHANGED
metadata
CHANGED
@@ -1,183 +1,177 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: excon
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.13.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.13.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
authors:
|
8
|
+
- dpiddy (Dan Peterson)
|
9
|
+
- geemus (Wesley Beary)
|
10
|
+
- nextmat (Matt Sanders)
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
version_requirements: *id007
|
14
|
+
date: 2012-03-26 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: activesupport
|
18
|
+
requirement: &70201828051100 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
24
|
+
type: :development
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *70201828051100
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: delorean
|
29
|
+
requirement: &70201828050080 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: *70201828050080
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: open4
|
40
|
+
requirement: &70201828049280 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
type: :development
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: *70201828049280
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rake
|
51
|
+
requirement: &70201828048840 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: *70201828048840
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rdoc
|
62
|
+
requirement: &70201828048420 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: *70201828048420
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: shindo
|
73
|
+
requirement: &70201828047800 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: *70201828047800
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: sinatra
|
84
|
+
requirement: &70201828047240 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: *70201828047240
|
94
93
|
description: EXtended http(s) CONnections
|
95
94
|
email: geemus@gmail.com
|
96
95
|
executables: []
|
97
|
-
|
98
96
|
extensions: []
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
- tests/thread_safety_tests.rb
|
97
|
+
extra_rdoc_files:
|
98
|
+
- README.md
|
99
|
+
files:
|
100
|
+
- Gemfile
|
101
|
+
- README.md
|
102
|
+
- Rakefile
|
103
|
+
- benchmarks/class_vs_lambda.rb
|
104
|
+
- benchmarks/concat_vs_insert.rb
|
105
|
+
- benchmarks/concat_vs_interpolate.rb
|
106
|
+
- benchmarks/cr_lf.rb
|
107
|
+
- benchmarks/downcase-eq-eq_vs_casecmp.rb
|
108
|
+
- benchmarks/excon.rb
|
109
|
+
- benchmarks/excon_vs.rb
|
110
|
+
- benchmarks/for_vs_array_each.rb
|
111
|
+
- benchmarks/for_vs_hash_each.rb
|
112
|
+
- benchmarks/has_key-vs-hash[key].rb
|
113
|
+
- benchmarks/headers_case_sensitivity.rb
|
114
|
+
- benchmarks/headers_split_vs_match.rb
|
115
|
+
- benchmarks/implicit_block-vs-explicit_block.rb
|
116
|
+
- benchmarks/merging.rb
|
117
|
+
- benchmarks/single_vs_double_quotes.rb
|
118
|
+
- benchmarks/string_ranged_index.rb
|
119
|
+
- benchmarks/strip_newline.rb
|
120
|
+
- benchmarks/vs_stdlib.rb
|
121
|
+
- changelog.txt
|
122
|
+
- data/cacert.pem
|
123
|
+
- excon.gemspec
|
124
|
+
- lib/excon.rb
|
125
|
+
- lib/excon/connection.rb
|
126
|
+
- lib/excon/constants.rb
|
127
|
+
- lib/excon/errors.rb
|
128
|
+
- lib/excon/response.rb
|
129
|
+
- lib/excon/socket.rb
|
130
|
+
- lib/excon/ssl_socket.rb
|
131
|
+
- tests/bad_tests.rb
|
132
|
+
- tests/basic_tests.rb
|
133
|
+
- tests/header_tests.rb
|
134
|
+
- tests/idempotent_tests.rb
|
135
|
+
- tests/instrumentation_tests.rb
|
136
|
+
- tests/proxy_tests.rb
|
137
|
+
- tests/query_string_tests.rb
|
138
|
+
- tests/rackups/basic.rb
|
139
|
+
- tests/rackups/basic.ru
|
140
|
+
- tests/rackups/basic_auth.ru
|
141
|
+
- tests/rackups/proxy.ru
|
142
|
+
- tests/rackups/query_string.ru
|
143
|
+
- tests/rackups/request_methods.ru
|
144
|
+
- tests/rackups/response_header.ru
|
145
|
+
- tests/rackups/ssl.ru
|
146
|
+
- tests/rackups/thread_safety.ru
|
147
|
+
- tests/request_method_tests.rb
|
148
|
+
- tests/servers/bad.rb
|
149
|
+
- tests/stub_tests.rb
|
150
|
+
- tests/test_helper.rb
|
151
|
+
- tests/thread_safety_tests.rb
|
155
152
|
homepage: https://github.com/geemus/excon
|
156
153
|
licenses: []
|
157
|
-
|
158
154
|
post_install_message:
|
159
|
-
rdoc_options:
|
160
|
-
|
161
|
-
require_paths:
|
162
|
-
|
163
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
+
rdoc_options:
|
156
|
+
- --charset=UTF-8
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
164
160
|
none: false
|
165
|
-
requirements:
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
166
|
none: false
|
171
|
-
requirements:
|
172
|
-
|
173
|
-
|
174
|
-
|
167
|
+
requirements:
|
168
|
+
- - ! '>='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
175
171
|
requirements: []
|
176
|
-
|
177
172
|
rubyforge_project: excon
|
178
|
-
rubygems_version: 1.8.
|
173
|
+
rubygems_version: 1.8.10
|
179
174
|
signing_key:
|
180
175
|
specification_version: 2
|
181
176
|
summary: speed, persistence, http(s)
|
182
177
|
test_files: []
|
183
|
-
|