ezclient 1.7.0 → 1.7.1
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/.rubocop.yml +2 -2
- data/Gemfile.lock +30 -39
- data/ezclient.gemspec +1 -1
- data/lib/ezclient/response.rb +0 -14
- data/lib/ezclient/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6907661025b4a4e23d639bc2672bae03b767c7801f831ba1a858648aed14ba2
|
|
4
|
+
data.tar.gz: 4557f0603ba11f86f01fba2fcda3d830c2bb45fbbf2f9d2a2a0e4387fe05820b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2f0c198622924ebe163d487093f254c93b6f297635ee430c587928f5261cf6477b93f91921fda5d4175433da7c16e853ec75d47ddff660a3f6bd5d1c6ce0666
|
|
7
|
+
data.tar.gz: 77a73530da0957847959eb5283ca725a1f1afd80954629ac803e2c92b8a31663041815e05cc81ce21a0a7d2427db0f0522bdcbf71f264608706da3a28c16164d
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ezclient (1.7.
|
|
4
|
+
ezclient (1.7.1)
|
|
5
5
|
http (>= 4)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activesupport (7.1.
|
|
10
|
+
activesupport (7.1.4)
|
|
11
11
|
base64
|
|
12
12
|
bigdecimal
|
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
@@ -23,7 +23,7 @@ GEM
|
|
|
23
23
|
base64 (0.2.0)
|
|
24
24
|
bigdecimal (3.1.8)
|
|
25
25
|
coderay (1.1.3)
|
|
26
|
-
concurrent-ruby (1.3.
|
|
26
|
+
concurrent-ruby (1.3.4)
|
|
27
27
|
connection_pool (2.4.1)
|
|
28
28
|
coveralls (0.7.2)
|
|
29
29
|
multi_json (~> 1.3)
|
|
@@ -42,17 +42,17 @@ GEM
|
|
|
42
42
|
ffi-compiler (1.3.2)
|
|
43
43
|
ffi (>= 1.15.5)
|
|
44
44
|
rake
|
|
45
|
-
hashdiff (1.1.
|
|
45
|
+
hashdiff (1.1.1)
|
|
46
46
|
http (5.2.0)
|
|
47
47
|
addressable (~> 2.8)
|
|
48
48
|
base64 (~> 0.1)
|
|
49
49
|
http-cookie (~> 1.0)
|
|
50
50
|
http-form_data (~> 2.2)
|
|
51
51
|
llhttp-ffi (~> 0.5.0)
|
|
52
|
-
http-cookie (1.0.
|
|
52
|
+
http-cookie (1.0.7)
|
|
53
53
|
domain_name (~> 0.5)
|
|
54
54
|
http-form_data (2.3.0)
|
|
55
|
-
i18n (1.14.
|
|
55
|
+
i18n (1.14.6)
|
|
56
56
|
concurrent-ruby (~> 1.0)
|
|
57
57
|
json (2.7.2)
|
|
58
58
|
language_server-protocol (3.17.0.3)
|
|
@@ -62,12 +62,12 @@ GEM
|
|
|
62
62
|
method_source (1.1.0)
|
|
63
63
|
mime-types (3.5.2)
|
|
64
64
|
mime-types-data (~> 3.2015)
|
|
65
|
-
mime-types-data (3.2024.
|
|
66
|
-
minitest (5.
|
|
65
|
+
mime-types-data (3.2024.0903)
|
|
66
|
+
minitest (5.25.1)
|
|
67
67
|
multi_json (1.15.0)
|
|
68
68
|
mutex_m (0.2.0)
|
|
69
|
-
parallel (1.
|
|
70
|
-
parser (3.3.
|
|
69
|
+
parallel (1.26.3)
|
|
70
|
+
parser (3.3.5.0)
|
|
71
71
|
ast (~> 2.4.1)
|
|
72
72
|
racc
|
|
73
73
|
pry (0.14.2)
|
|
@@ -81,61 +81,53 @@ GEM
|
|
|
81
81
|
regexp_parser (2.9.2)
|
|
82
82
|
rest-client (1.6.7)
|
|
83
83
|
mime-types (>= 1.16)
|
|
84
|
-
rexml (3.3.
|
|
85
|
-
strscan
|
|
84
|
+
rexml (3.3.7)
|
|
86
85
|
rspec (3.13.0)
|
|
87
86
|
rspec-core (~> 3.13.0)
|
|
88
87
|
rspec-expectations (~> 3.13.0)
|
|
89
88
|
rspec-mocks (~> 3.13.0)
|
|
90
|
-
rspec-core (3.13.
|
|
89
|
+
rspec-core (3.13.1)
|
|
91
90
|
rspec-support (~> 3.13.0)
|
|
92
|
-
rspec-expectations (3.13.
|
|
91
|
+
rspec-expectations (3.13.3)
|
|
93
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
94
93
|
rspec-support (~> 3.13.0)
|
|
95
94
|
rspec-mocks (3.13.1)
|
|
96
95
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
97
96
|
rspec-support (~> 3.13.0)
|
|
98
97
|
rspec-support (3.13.1)
|
|
99
|
-
rubocop (1.
|
|
98
|
+
rubocop (1.66.1)
|
|
100
99
|
json (~> 2.3)
|
|
101
100
|
language_server-protocol (>= 3.17.0)
|
|
102
101
|
parallel (~> 1.10)
|
|
103
102
|
parser (>= 3.3.0.2)
|
|
104
103
|
rainbow (>= 2.2.2, < 4.0)
|
|
105
|
-
regexp_parser (>=
|
|
106
|
-
|
|
107
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
104
|
+
regexp_parser (>= 2.4, < 3.0)
|
|
105
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
|
108
106
|
ruby-progressbar (~> 1.7)
|
|
109
107
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
110
|
-
rubocop-ast (1.
|
|
108
|
+
rubocop-ast (1.32.3)
|
|
111
109
|
parser (>= 3.3.1.0)
|
|
112
|
-
rubocop-
|
|
113
|
-
rubocop (~> 1.
|
|
114
|
-
|
|
115
|
-
rubocop (~> 1.
|
|
116
|
-
rubocop-
|
|
117
|
-
rubocop-rails (~> 2.24.0)
|
|
110
|
+
rubocop-config-umbrellio (1.66.0.99)
|
|
111
|
+
rubocop (~> 1.66.0)
|
|
112
|
+
rubocop-factory_bot (~> 2.26.0)
|
|
113
|
+
rubocop-performance (~> 1.22.0)
|
|
114
|
+
rubocop-rails (~> 2.26.0)
|
|
118
115
|
rubocop-rake (~> 0.6.0)
|
|
119
|
-
rubocop-rspec (~>
|
|
116
|
+
rubocop-rspec (~> 3.0.0)
|
|
120
117
|
rubocop-sequel (~> 0.3.3)
|
|
121
118
|
rubocop-factory_bot (2.26.1)
|
|
122
119
|
rubocop (~> 1.61)
|
|
123
|
-
rubocop-performance (1.
|
|
120
|
+
rubocop-performance (1.22.1)
|
|
124
121
|
rubocop (>= 1.48.1, < 2.0)
|
|
125
122
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
126
|
-
rubocop-rails (2.
|
|
123
|
+
rubocop-rails (2.26.1)
|
|
127
124
|
activesupport (>= 4.2.0)
|
|
128
125
|
rack (>= 1.1)
|
|
129
|
-
rubocop (>= 1.
|
|
126
|
+
rubocop (>= 1.52.0, < 2.0)
|
|
130
127
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
131
128
|
rubocop-rake (0.6.0)
|
|
132
129
|
rubocop (~> 1.0)
|
|
133
|
-
rubocop-rspec (
|
|
134
|
-
rubocop (~> 1.40)
|
|
135
|
-
rubocop-capybara (~> 2.17)
|
|
136
|
-
rubocop-factory_bot (~> 2.22)
|
|
137
|
-
rubocop-rspec_rails (~> 2.28)
|
|
138
|
-
rubocop-rspec_rails (2.29.1)
|
|
130
|
+
rubocop-rspec (3.0.5)
|
|
139
131
|
rubocop (~> 1.61)
|
|
140
132
|
rubocop-sequel (0.3.4)
|
|
141
133
|
rubocop (~> 1.0)
|
|
@@ -144,17 +136,16 @@ GEM
|
|
|
144
136
|
docile (~> 1.1)
|
|
145
137
|
simplecov-html (~> 0.11)
|
|
146
138
|
simplecov_json_formatter (~> 0.1)
|
|
147
|
-
simplecov-html (0.
|
|
139
|
+
simplecov-html (0.13.1)
|
|
148
140
|
simplecov-lcov (0.8.0)
|
|
149
141
|
simplecov_json_formatter (0.1.4)
|
|
150
|
-
strscan (3.1.0)
|
|
151
142
|
term-ansicolor (1.2.2)
|
|
152
143
|
tins (~> 0.8)
|
|
153
144
|
thor (0.18.1)
|
|
154
145
|
tins (0.13.2)
|
|
155
146
|
tzinfo (2.0.6)
|
|
156
147
|
concurrent-ruby (~> 1.0)
|
|
157
|
-
unicode-display_width (2.
|
|
148
|
+
unicode-display_width (2.6.0)
|
|
158
149
|
webmock (3.23.1)
|
|
159
150
|
addressable (>= 2.8.0)
|
|
160
151
|
crack (>= 0.3.2)
|
|
@@ -177,4 +168,4 @@ DEPENDENCIES
|
|
|
177
168
|
webmock
|
|
178
169
|
|
|
179
170
|
BUNDLED WITH
|
|
180
|
-
2.5.
|
|
171
|
+
2.5.18
|
data/ezclient.gemspec
CHANGED
data/lib/ezclient/response.rb
CHANGED
|
@@ -42,20 +42,6 @@ class EzClient::Response
|
|
|
42
42
|
client_error? || server_error?
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
-
def inspect
|
|
46
|
-
{
|
|
47
|
-
req: {
|
|
48
|
-
raw: http_request.inspect,
|
|
49
|
-
hdrs: http_request.headers,
|
|
50
|
-
},
|
|
51
|
-
resp: {
|
|
52
|
-
raw: http_response.inspect,
|
|
53
|
-
hdrs: headers,
|
|
54
|
-
body: body,
|
|
55
|
-
},
|
|
56
|
-
}.to_s
|
|
57
|
-
end
|
|
58
|
-
|
|
59
45
|
def to_s
|
|
60
46
|
inspect
|
|
61
47
|
end
|
data/lib/ezclient/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ezclient
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuri Smirnov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
73
|
version: '0'
|
|
74
74
|
requirements: []
|
|
75
|
-
rubygems_version: 3.5.
|
|
75
|
+
rubygems_version: 3.5.18
|
|
76
76
|
signing_key:
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: An HTTP gem wrapper for easy persistent connections and more.
|