http 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of http might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/http.gemspec +1 -1
- data/lib/http/client.rb +2 -2
- data/lib/http/version.rb +1 -1
- metadata +7 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f805ef1ff977da3de5e63d6f83d4f8bca9acef53
|
4
|
+
data.tar.gz: c2cfbb035716d369fd9374029b277c414ac32280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2fb7cf922b2154d82b1446046e79bfffae11bff2ac9315d140859c85bc52f66bbc91b70e580fbd28d620b889c7fcb72053e27ba15d01ca3fb804add736b1ce0
|
7
|
+
data.tar.gz: b999027d340c9dc7a48192253b59f08066e0b0f15ec0087648bbdfaefa2939578481201dc70fad0c2b8712741c70ed6625b6a13e3f37a7b71b13473df92a9ea7
|
data/CHANGES.md
CHANGED
data/http.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.version = HTTP::VERSION
|
24
24
|
|
25
25
|
gem.add_runtime_dependency 'http_parser.rb', '~> 0.6.0'
|
26
|
-
gem.add_runtime_dependency 'form_data',
|
26
|
+
gem.add_runtime_dependency 'http-form_data', '~> 1.0.0'
|
27
27
|
|
28
28
|
gem.add_development_dependency 'bundler', '~> 1.0'
|
29
29
|
end
|
data/lib/http/client.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'cgi'
|
2
2
|
require 'uri'
|
3
|
-
require 'form_data'
|
3
|
+
require 'http/form_data'
|
4
4
|
require 'http/options'
|
5
5
|
require 'http/redirector'
|
6
6
|
|
@@ -132,7 +132,7 @@ module HTTP
|
|
132
132
|
when opts.body
|
133
133
|
opts.body
|
134
134
|
when opts.form
|
135
|
-
form = FormData.create opts.form
|
135
|
+
form = HTTP::FormData.create opts.form
|
136
136
|
headers['Content-Type'] ||= form.content_type
|
137
137
|
headers['Content-Length'] ||= form.content_length
|
138
138
|
form.to_s
|
data/lib/http/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http_parser.rb
|
@@ -27,19 +27,19 @@ dependencies:
|
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 0.6.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
|
-
name: form_data
|
30
|
+
name: http-form_data
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 1.0.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 1.0.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: bundler
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,33 +141,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.2.2
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: HTTP should be easy
|
148
|
-
test_files:
|
149
|
-
- spec/lib/http/client_spec.rb
|
150
|
-
- spec/lib/http/content_type_spec.rb
|
151
|
-
- spec/lib/http/headers/mixin_spec.rb
|
152
|
-
- spec/lib/http/headers_spec.rb
|
153
|
-
- spec/lib/http/options/body_spec.rb
|
154
|
-
- spec/lib/http/options/form_spec.rb
|
155
|
-
- spec/lib/http/options/headers_spec.rb
|
156
|
-
- spec/lib/http/options/json_spec.rb
|
157
|
-
- spec/lib/http/options/merge_spec.rb
|
158
|
-
- spec/lib/http/options/new_spec.rb
|
159
|
-
- spec/lib/http/options/proxy_spec.rb
|
160
|
-
- spec/lib/http/options_spec.rb
|
161
|
-
- spec/lib/http/redirector_spec.rb
|
162
|
-
- spec/lib/http/request/writer_spec.rb
|
163
|
-
- spec/lib/http/request_spec.rb
|
164
|
-
- spec/lib/http/response/body_spec.rb
|
165
|
-
- spec/lib/http/response/status_spec.rb
|
166
|
-
- spec/lib/http/response_spec.rb
|
167
|
-
- spec/lib/http_spec.rb
|
168
|
-
- spec/spec_helper.rb
|
169
|
-
- spec/support/capture_warning.rb
|
170
|
-
- spec/support/example_server.rb
|
171
|
-
- spec/support/example_server/servlet.rb
|
172
|
-
- spec/support/proxy_server.rb
|
148
|
+
test_files: []
|
173
149
|
has_rdoc:
|