api_proxy 0.2.9 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d61c5cf36f1ea1bd4f85ccc4dae8a44c5cbfbbd5ed90a46c271b3dd5b1e6488e
4
- data.tar.gz: a79c2e0eec2d448f0e7f8d74aca1f2e6387d3a2fd2c009dc41c6f3e364c67bb4
3
+ metadata.gz: 60bbe27ebc2868755a3f345018a46930ec121a0ab02078f30d997c6f1f0a975a
4
+ data.tar.gz: 921d792f75d7cb12f1ae5a0ad1528b15fb8bc84c31e95705552c5819d59302f4
5
5
  SHA512:
6
- metadata.gz: 913b636988ecb6e592a8e331a6531d01fae795513730d93e0eac22951a84e431996e230609e41b9e61be94313b6ca0f2b23e9da1f6831a5913e2420a87a70443
7
- data.tar.gz: edef8ee9c18aaa5024e7479a8a33996b5c088e7d3506a4db27dc31fb77aa2ff429d88c3c3778a5115a0f282037e9032a8a81506f18713ad88aaefd801de3765e
6
+ metadata.gz: dc0e69860cffd6aa688e8bee60dd171297dbf3048b5ae99889139d9fd027f0dbb32f821bc431cbee9d1217a1378f294b5ba823d002599fc7285f11b099df8141
7
+ data.tar.gz: b710f1e58d785cea2086c30e54c7ea841b46d298c1d7d1f5c484a0f7c16c49be735ec43452a4d4ed3e9c59ae798f18888f1de21786c41c624ead688312bab3d8
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 3.2.2
2
+ TargetRubyVersion: 3.2.6
3
3
 
4
4
  Exclude:
5
5
  - "Guardfile"
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.2.6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_proxy (0.2.9)
4
+ api_proxy (0.3.0)
5
5
  activesupport (>= 4.0)
6
6
  api_signature (~> 0.1.2)
7
7
  httparty (>= 0.15)
@@ -9,71 +9,91 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (7.1.3.2)
12
+ activesupport (8.0.2)
13
13
  base64
14
+ benchmark (>= 0.3)
14
15
  bigdecimal
15
- concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ concurrent-ruby (~> 1.0, >= 1.3.1)
16
17
  connection_pool (>= 2.2.5)
17
18
  drb
18
19
  i18n (>= 1.6, < 2)
20
+ logger (>= 1.4.2)
19
21
  minitest (>= 5.1)
20
- mutex_m
21
- tzinfo (~> 2.0)
22
- addressable (2.8.6)
23
- public_suffix (>= 2.0.2, < 6.0)
22
+ securerandom (>= 0.3)
23
+ tzinfo (~> 2.0, >= 2.0.5)
24
+ uri (>= 0.13.1)
25
+ addressable (2.8.7)
26
+ public_suffix (>= 2.0.2, < 7.0)
24
27
  api_signature (0.1.5)
25
28
  activesupport (>= 4.0)
26
29
  rack (>= 1.6)
27
- ast (2.4.2)
30
+ ast (2.4.3)
28
31
  base64 (0.2.0)
29
- bigdecimal (3.1.7)
30
- bundler-audit (0.9.1)
32
+ benchmark (0.4.0)
33
+ bigdecimal (3.1.9)
34
+ bundler-audit (0.9.2)
31
35
  bundler (>= 1.2.0, < 3)
32
36
  thor (~> 1.0)
33
- childprocess (5.0.0)
37
+ childprocess (5.1.0)
38
+ logger (~> 1.5)
34
39
  coderay (1.1.3)
35
- concurrent-ruby (1.2.3)
36
- connection_pool (2.4.1)
40
+ concurrent-ruby (1.3.5)
41
+ connection_pool (2.5.0)
37
42
  crack (1.0.0)
38
43
  bigdecimal
39
44
  rexml
40
- diff-lcs (1.5.1)
45
+ csv (3.3.3)
46
+ diff-lcs (1.6.1)
41
47
  drb (2.2.1)
42
- dry-configurable (1.1.0)
43
- dry-core (~> 1.0, < 2)
48
+ dry-configurable (1.3.0)
49
+ dry-core (~> 1.1)
44
50
  zeitwerk (~> 2.6)
45
- dry-core (1.0.1)
51
+ dry-core (1.1.0)
46
52
  concurrent-ruby (~> 1.0)
53
+ logger
47
54
  zeitwerk (~> 2.6)
48
- dry-inflector (1.0.0)
49
- dry-initializer (3.1.1)
50
- dry-logic (1.5.0)
55
+ dry-inflector (1.2.0)
56
+ dry-initializer (3.2.0)
57
+ dry-logic (1.6.0)
58
+ bigdecimal
51
59
  concurrent-ruby (~> 1.0)
52
- dry-core (~> 1.0, < 2)
60
+ dry-core (~> 1.1)
53
61
  zeitwerk (~> 2.6)
54
- dry-schema (1.13.3)
62
+ dry-schema (1.14.1)
55
63
  concurrent-ruby (~> 1.0)
56
64
  dry-configurable (~> 1.0, >= 1.0.1)
57
- dry-core (~> 1.0, < 2)
58
- dry-initializer (~> 3.0)
59
- dry-logic (>= 1.4, < 2)
60
- dry-types (>= 1.7, < 2)
65
+ dry-core (~> 1.1)
66
+ dry-initializer (~> 3.2)
67
+ dry-logic (~> 1.5)
68
+ dry-types (~> 1.8)
61
69
  zeitwerk (~> 2.6)
62
- dry-types (1.7.2)
70
+ dry-types (1.8.2)
63
71
  bigdecimal (~> 3.0)
64
72
  concurrent-ruby (~> 1.0)
65
73
  dry-core (~> 1.0)
66
74
  dry-inflector (~> 1.0)
67
75
  dry-logic (~> 1.4)
68
76
  zeitwerk (~> 2.6)
69
- ffi (1.16.3)
77
+ ffi (1.17.1)
78
+ ffi (1.17.1-aarch64-linux-gnu)
79
+ ffi (1.17.1-aarch64-linux-musl)
80
+ ffi (1.17.1-arm-linux-gnu)
81
+ ffi (1.17.1-arm-linux-musl)
82
+ ffi (1.17.1-arm64-darwin)
83
+ ffi (1.17.1-x86-linux-gnu)
84
+ ffi (1.17.1-x86-linux-musl)
85
+ ffi (1.17.1-x86_64-darwin)
86
+ ffi (1.17.1-x86_64-linux-gnu)
87
+ ffi (1.17.1-x86_64-linux-musl)
70
88
  formatador (1.1.0)
71
- guard (2.18.1)
89
+ guard (2.19.1)
72
90
  formatador (>= 0.2.4)
73
91
  listen (>= 2.7, < 4.0)
92
+ logger (~> 1.6)
74
93
  lumberjack (>= 1.0.12, < 2.0)
75
94
  nenv (~> 0.1)
76
95
  notiffany (~> 0.0)
96
+ ostruct (~> 0.6)
77
97
  pry (>= 0.13.0)
78
98
  shellany (~> 0.0)
79
99
  thor (>= 0.18.1)
@@ -82,94 +102,115 @@ GEM
82
102
  guard (~> 2.1)
83
103
  guard-compat (~> 1.1)
84
104
  rspec (>= 2.99.0, < 4.0)
85
- hashdiff (1.1.0)
86
- httparty (0.21.0)
105
+ hashdiff (1.1.2)
106
+ httparty (0.23.1)
107
+ csv
87
108
  mini_mime (>= 1.0.0)
88
109
  multi_xml (>= 0.5.2)
89
- i18n (1.14.4)
110
+ i18n (1.14.7)
90
111
  concurrent-ruby (~> 1.0)
91
112
  iniparse (1.5.0)
92
- json (2.7.1)
93
- language_server-protocol (3.17.0.3)
113
+ json (2.10.2)
114
+ language_server-protocol (3.17.0.4)
115
+ lint_roller (1.1.0)
94
116
  listen (3.9.0)
95
117
  rb-fsevent (~> 0.10, >= 0.10.3)
96
118
  rb-inotify (~> 0.9, >= 0.9.10)
119
+ logger (1.7.0)
97
120
  lumberjack (1.2.10)
98
- method_source (1.0.0)
121
+ method_source (1.1.0)
99
122
  mini_mime (1.1.5)
100
- minitest (5.22.3)
101
- multi_xml (0.6.0)
102
- mutex_m (0.2.0)
123
+ minitest (5.25.5)
124
+ multi_xml (0.7.1)
125
+ bigdecimal (~> 3.1)
103
126
  nenv (0.3.0)
104
127
  notiffany (0.1.3)
105
128
  nenv (~> 0.1)
106
129
  shellany (~> 0.0)
107
- overcommit (0.63.0)
130
+ ostruct (0.6.1)
131
+ overcommit (0.67.1)
108
132
  childprocess (>= 0.6.3, < 6)
109
133
  iniparse (~> 1.4)
110
- rexml (~> 3.2)
111
- parallel (1.24.0)
112
- parser (3.3.0.5)
134
+ rexml (>= 3.3.9)
135
+ parallel (1.26.3)
136
+ parser (3.3.7.4)
113
137
  ast (~> 2.4.1)
114
138
  racc
115
- pry (0.14.2)
139
+ prism (1.4.0)
140
+ pry (0.15.2)
116
141
  coderay (~> 1.1)
117
142
  method_source (~> 1.0)
118
- public_suffix (5.0.5)
119
- racc (1.7.3)
120
- rack (3.0.10)
143
+ public_suffix (6.0.1)
144
+ racc (1.8.1)
145
+ rack (3.1.12)
121
146
  rainbow (3.1.1)
122
- rake (13.2.0)
147
+ rake (13.2.1)
123
148
  rb-fsevent (0.11.2)
124
- rb-inotify (0.10.1)
149
+ rb-inotify (0.11.1)
125
150
  ffi (~> 1.0)
126
- reek (6.3.0)
127
- dry-schema (~> 1.13.0)
151
+ reek (6.5.0)
152
+ dry-schema (~> 1.13)
153
+ logger (~> 1.6)
128
154
  parser (~> 3.3.0)
129
155
  rainbow (>= 2.0, < 4.0)
130
156
  rexml (~> 3.1)
131
- regexp_parser (2.9.0)
132
- rexml (3.2.6)
157
+ regexp_parser (2.10.0)
158
+ rexml (3.4.1)
133
159
  rspec (3.13.0)
134
160
  rspec-core (~> 3.13.0)
135
161
  rspec-expectations (~> 3.13.0)
136
162
  rspec-mocks (~> 3.13.0)
137
- rspec-core (3.13.0)
163
+ rspec-core (3.13.3)
138
164
  rspec-support (~> 3.13.0)
139
- rspec-expectations (3.13.0)
165
+ rspec-expectations (3.13.3)
140
166
  diff-lcs (>= 1.2.0, < 2.0)
141
167
  rspec-support (~> 3.13.0)
142
- rspec-mocks (3.13.0)
168
+ rspec-mocks (3.13.2)
143
169
  diff-lcs (>= 1.2.0, < 2.0)
144
170
  rspec-support (~> 3.13.0)
145
- rspec-support (3.13.1)
146
- rubocop (1.62.1)
171
+ rspec-support (3.13.2)
172
+ rubocop (1.75.1)
147
173
  json (~> 2.3)
148
- language_server-protocol (>= 3.17.0)
174
+ language_server-protocol (~> 3.17.0.2)
175
+ lint_roller (~> 1.1.0)
149
176
  parallel (~> 1.10)
150
177
  parser (>= 3.3.0.2)
151
178
  rainbow (>= 2.2.2, < 4.0)
152
- regexp_parser (>= 1.8, < 3.0)
153
- rexml (>= 3.2.5, < 4.0)
154
- rubocop-ast (>= 1.31.1, < 2.0)
179
+ regexp_parser (>= 2.9.3, < 3.0)
180
+ rubocop-ast (>= 1.43.0, < 2.0)
155
181
  ruby-progressbar (~> 1.7)
156
- unicode-display_width (>= 2.4.0, < 3.0)
157
- rubocop-ast (1.31.2)
158
- parser (>= 3.3.0.4)
182
+ unicode-display_width (>= 2.4.0, < 4.0)
183
+ rubocop-ast (1.43.0)
184
+ parser (>= 3.3.7.2)
185
+ prism (~> 1.4)
159
186
  ruby-progressbar (1.13.0)
187
+ securerandom (0.4.1)
160
188
  shellany (0.0.1)
161
- thor (1.3.1)
189
+ thor (1.3.2)
162
190
  tzinfo (2.0.6)
163
191
  concurrent-ruby (~> 1.0)
164
- unicode-display_width (2.5.0)
165
- webmock (3.23.0)
192
+ unicode-display_width (3.1.4)
193
+ unicode-emoji (~> 4.0, >= 4.0.4)
194
+ unicode-emoji (4.0.4)
195
+ uri (1.0.3)
196
+ webmock (3.25.1)
166
197
  addressable (>= 2.8.0)
167
198
  crack (>= 0.3.2)
168
199
  hashdiff (>= 0.4.0, < 2.0.0)
169
- zeitwerk (2.6.13)
200
+ zeitwerk (2.7.2)
170
201
 
171
202
  PLATFORMS
172
- arm64-darwin-22
203
+ aarch64-linux-gnu
204
+ aarch64-linux-musl
205
+ arm-linux-gnu
206
+ arm-linux-musl
207
+ arm64-darwin
208
+ ruby
209
+ x86-linux-gnu
210
+ x86-linux-musl
211
+ x86_64-darwin
212
+ x86_64-linux-gnu
213
+ x86_64-linux-musl
173
214
 
174
215
  DEPENDENCIES
175
216
  api_proxy!
@@ -184,4 +225,4 @@ DEPENDENCIES
184
225
  webmock (~> 3.4, >= 3.4.2)
185
226
 
186
227
  BUNDLED WITH
187
- 2.4.19
228
+ 2.5.23
@@ -16,7 +16,7 @@ module ApiProxy
16
16
  end
17
17
 
18
18
  def perform
19
- self.class.send(request_method, url, headers: headers, body: body, format: :json)
19
+ self.class.send(request_method, url, headers: headers, body: body, query: query, format: :json)
20
20
  end
21
21
 
22
22
  private
@@ -29,6 +29,10 @@ module ApiProxy
29
29
  options[:body]
30
30
  end
31
31
 
32
+ def query
33
+ options[:query]
34
+ end
35
+
32
36
  def signature_headers
33
37
  ApiSignature::Builder.new(signature_options).headers
34
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiProxy
4
- VERSION = '0.2.9'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Malinovskiy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-22 00:00:00.000000000 Z
11
+ date: 2025-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  - !ruby/object:Gem::Version
235
235
  version: '0'
236
236
  requirements: []
237
- rubygems_version: 3.4.10
237
+ rubygems_version: 3.5.23
238
238
  signing_key:
239
239
  specification_version: 4
240
240
  summary: Proxy for tickets service