httparty 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of httparty might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Guardfile +3 -3
- data/History +74 -11
- data/README.md +4 -1
- data/Rakefile +1 -2
- data/bin/httparty +4 -4
- data/examples/README.md +64 -0
- data/examples/aaws.rb +3 -3
- data/examples/basic.rb +5 -5
- data/examples/crack.rb +1 -1
- data/examples/delicious.rb +5 -5
- data/examples/headers_and_user_agents.rb +1 -1
- data/examples/logging.rb +38 -0
- data/examples/rubyurl.rb +1 -1
- data/examples/stackexchange.rb +1 -1
- data/examples/tripit_sign_in.rb +5 -5
- data/examples/twitter.rb +5 -5
- data/examples/whoismyrep.rb +1 -1
- data/features/steps/httparty_steps.rb +2 -2
- data/httparty.gemspec +2 -0
- data/lib/httparty.rb +35 -17
- data/lib/httparty/connection_adapter.rb +4 -2
- data/lib/httparty/cookie_hash.rb +1 -1
- data/lib/httparty/hash_conversions.rb +12 -12
- data/lib/httparty/logger/apache_logger.rb +1 -1
- data/lib/httparty/logger/logger.rb +1 -1
- data/lib/httparty/net_digest_auth.rb +4 -1
- data/lib/httparty/request.rb +41 -21
- data/lib/httparty/version.rb +1 -1
- data/spec/httparty/connection_adapter_spec.rb +52 -36
- data/spec/httparty/cookie_hash_spec.rb +8 -8
- data/spec/httparty/logger/apache_logger_spec.rb +29 -14
- data/spec/httparty/net_digest_auth_spec.rb +11 -0
- data/spec/httparty/parser_spec.rb +10 -10
- data/spec/httparty/request_spec.rb +209 -30
- data/spec/httparty/response_spec.rb +41 -41
- data/spec/httparty/ssl_spec.rb +4 -4
- data/spec/httparty_spec.rb +78 -59
- data/spec/support/ssl_test_helper.rb +6 -6
- data/spec/support/stub_response.rb +2 -2
- data/website/index.html +3 -3
- metadata +15 -14
- data/spec/spec.opts +0 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httparty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
@@ -9,34 +9,34 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.8'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.8'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: multi_xml
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.5.2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 0.5.2
|
42
42
|
description: Makes http fun! Also, makes consuming restful web services dead easy.
|
@@ -47,8 +47,8 @@ executables:
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
-
- .gitignore
|
51
|
-
- .travis.yml
|
50
|
+
- ".gitignore"
|
51
|
+
- ".travis.yml"
|
52
52
|
- Gemfile
|
53
53
|
- Guardfile
|
54
54
|
- History
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- Rakefile
|
58
58
|
- bin/httparty
|
59
59
|
- cucumber.yml
|
60
|
+
- examples/README.md
|
60
61
|
- examples/aaws.rb
|
61
62
|
- examples/basic.rb
|
62
63
|
- examples/crack.rb
|
@@ -64,6 +65,7 @@ files:
|
|
64
65
|
- examples/delicious.rb
|
65
66
|
- examples/google.rb
|
66
67
|
- examples/headers_and_user_agents.rb
|
68
|
+
- examples/logging.rb
|
67
69
|
- examples/nokogiri_html_parser.rb
|
68
70
|
- examples/rubyurl.rb
|
69
71
|
- examples/stackexchange.rb
|
@@ -130,7 +132,6 @@ files:
|
|
130
132
|
- spec/httparty/response_spec.rb
|
131
133
|
- spec/httparty/ssl_spec.rb
|
132
134
|
- spec/httparty_spec.rb
|
133
|
-
- spec/spec.opts
|
134
135
|
- spec/spec_helper.rb
|
135
136
|
- spec/support/ssl_test_helper.rb
|
136
137
|
- spec/support/ssl_test_server.rb
|
@@ -138,7 +139,8 @@ files:
|
|
138
139
|
- website/css/common.css
|
139
140
|
- website/index.html
|
140
141
|
homepage: http://jnunemaker.github.com/httparty
|
141
|
-
licenses:
|
142
|
+
licenses:
|
143
|
+
- MIT
|
142
144
|
metadata: {}
|
143
145
|
post_install_message: When you HTTParty, you must party hard!
|
144
146
|
rdoc_options: []
|
@@ -146,17 +148,17 @@ require_paths:
|
|
146
148
|
- lib
|
147
149
|
required_ruby_version: !ruby/object:Gem::Requirement
|
148
150
|
requirements:
|
149
|
-
- -
|
151
|
+
- - ">="
|
150
152
|
- !ruby/object:Gem::Version
|
151
153
|
version: 1.9.3
|
152
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
155
|
requirements:
|
154
|
-
- -
|
156
|
+
- - ">="
|
155
157
|
- !ruby/object:Gem::Version
|
156
158
|
version: '0'
|
157
159
|
requirements: []
|
158
160
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.2.2
|
160
162
|
signing_key:
|
161
163
|
specification_version: 4
|
162
164
|
summary: Makes http fun! Also, makes consuming restful web services dead easy.
|
@@ -203,7 +205,6 @@ test_files:
|
|
203
205
|
- spec/httparty/response_spec.rb
|
204
206
|
- spec/httparty/ssl_spec.rb
|
205
207
|
- spec/httparty_spec.rb
|
206
|
-
- spec/spec.opts
|
207
208
|
- spec/spec_helper.rb
|
208
209
|
- spec/support/ssl_test_helper.rb
|
209
210
|
- spec/support/ssl_test_server.rb
|
data/spec/spec.opts
DELETED