httparty 0.17.3 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ci.yml +23 -0
- data/.gitignore +2 -1
- data/.rubocop_todo.yml +1 -1
- data/Changelog.md +408 -301
- data/Gemfile +2 -0
- data/Guardfile +3 -2
- data/README.md +4 -4
- data/docs/README.md +88 -3
- data/examples/README.md +3 -0
- data/examples/aaws.rb +6 -2
- data/examples/idn.rb +10 -0
- data/httparty.gemspec +3 -2
- data/lib/httparty/connection_adapter.rb +8 -25
- data/lib/httparty/cookie_hash.rb +10 -8
- data/lib/httparty/decompressor.rb +102 -0
- data/lib/httparty/exceptions.rb +3 -1
- data/lib/httparty/hash_conversions.rb +4 -2
- data/lib/httparty/headers_processor.rb +2 -0
- data/lib/httparty/logger/apache_formatter.rb +4 -2
- data/lib/httparty/logger/curl_formatter.rb +5 -3
- data/lib/httparty/logger/logger.rb +2 -0
- data/lib/httparty/logger/logstash_formatter.rb +5 -2
- data/lib/httparty/module_inheritable_attributes.rb +6 -6
- data/lib/httparty/net_digest_auth.rb +9 -10
- data/lib/httparty/parser.rb +12 -5
- data/lib/httparty/request/body.rb +34 -12
- data/lib/httparty/request/multipart_boundary.rb +2 -0
- data/lib/httparty/request.rb +87 -40
- data/lib/httparty/response/headers.rb +2 -0
- data/lib/httparty/response.rb +7 -5
- data/lib/httparty/response_fragment.rb +2 -0
- data/lib/httparty/text_encoder.rb +7 -5
- data/lib/httparty/utils.rb +2 -0
- data/lib/httparty/version.rb +3 -1
- data/lib/httparty.rb +40 -19
- data/script/release +4 -4
- metadata +29 -14
- data/.simplecov +0 -1
- data/.travis.yml +0 -11
metadata
CHANGED
@@ -1,16 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httparty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
- Sandro Turriate
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: csv
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
14
28
|
- !ruby/object:Gem::Dependency
|
15
29
|
name: multi_xml
|
16
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -26,19 +40,19 @@ dependencies:
|
|
26
40
|
- !ruby/object:Gem::Version
|
27
41
|
version: 0.5.2
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
43
|
+
name: mini_mime
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
31
45
|
requirements:
|
32
|
-
- - "
|
46
|
+
- - ">="
|
33
47
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
48
|
+
version: 1.0.0
|
35
49
|
type: :runtime
|
36
50
|
prerelease: false
|
37
51
|
version_requirements: !ruby/object:Gem::Requirement
|
38
52
|
requirements:
|
39
|
-
- - "
|
53
|
+
- - ">="
|
40
54
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
55
|
+
version: 1.0.0
|
42
56
|
description: Makes http fun! Also, makes consuming restful web services dead easy.
|
43
57
|
email:
|
44
58
|
- nunemaker@gmail.com
|
@@ -48,11 +62,11 @@ extensions: []
|
|
48
62
|
extra_rdoc_files: []
|
49
63
|
files:
|
50
64
|
- ".editorconfig"
|
65
|
+
- ".github/dependabot.yml"
|
66
|
+
- ".github/workflows/ci.yml"
|
51
67
|
- ".gitignore"
|
52
68
|
- ".rubocop.yml"
|
53
69
|
- ".rubocop_todo.yml"
|
54
|
-
- ".simplecov"
|
55
|
-
- ".travis.yml"
|
56
70
|
- CONTRIBUTING.md
|
57
71
|
- Changelog.md
|
58
72
|
- Gemfile
|
@@ -72,6 +86,7 @@ files:
|
|
72
86
|
- examples/delicious.rb
|
73
87
|
- examples/google.rb
|
74
88
|
- examples/headers_and_user_agents.rb
|
89
|
+
- examples/idn.rb
|
75
90
|
- examples/logging.rb
|
76
91
|
- examples/microsoft_graph.rb
|
77
92
|
- examples/multipart.rb
|
@@ -88,6 +103,7 @@ files:
|
|
88
103
|
- lib/httparty.rb
|
89
104
|
- lib/httparty/connection_adapter.rb
|
90
105
|
- lib/httparty/cookie_hash.rb
|
106
|
+
- lib/httparty/decompressor.rb
|
91
107
|
- lib/httparty/exceptions.rb
|
92
108
|
- lib/httparty/hash_conversions.rb
|
93
109
|
- lib/httparty/headers_processor.rb
|
@@ -122,16 +138,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
138
|
requirements:
|
123
139
|
- - ">="
|
124
140
|
- !ruby/object:Gem::Version
|
125
|
-
version: 2.
|
141
|
+
version: 2.7.0
|
126
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
143
|
requirements:
|
128
144
|
- - ">="
|
129
145
|
- !ruby/object:Gem::Version
|
130
146
|
version: '0'
|
131
147
|
requirements: []
|
132
|
-
|
133
|
-
|
134
|
-
signing_key:
|
148
|
+
rubygems_version: 3.3.7
|
149
|
+
signing_key:
|
135
150
|
specification_version: 4
|
136
151
|
summary: Makes http fun! Also, makes consuming restful web services dead easy.
|
137
152
|
test_files: []
|
data/.simplecov
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
SimpleCov.start "test_frameworks"
|