rimless 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/documentation.yml +1 -0
- data/.github/workflows/release.yml +1 -0
- data/.github/workflows/test.yml +2 -0
- data/.rubocop.yml +6 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile +19 -0
- data/gemfiles/rails_5.2.gemfile +17 -1
- data/lib/rimless/karafka/avro_deserializer.rb +3 -3
- data/lib/rimless/version.rb +1 -1
- data/rimless.gemspec +1 -19
- metadata +8 -240
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eb06c668517f7d1e2e2a122cdd8586ada5c6c69b8d08448e2163f4628b22b91
|
4
|
+
data.tar.gz: b40442ca44912688d5230b25680c1c82f69845ad62f9420306e9710530542306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2ec34319a309770fd831655c2e370da52e55f43118c3d61b3a28a3dbc625840e776234a54d481e1c9bfff9f16b75df90bc2cf56ec00e6266be1a121cead757e
|
7
|
+
data.tar.gz: e13af984580349ed5567be7bf8c7513e3ef03dacb59f4b329cb0769ff82e0260d04bcb027907400aed59f5e5e6e5571f6e1e42db2da08c3cb9f43b541f58f0dd
|
data/.github/workflows/test.yml
CHANGED
@@ -36,6 +36,7 @@ jobs:
|
|
36
36
|
uses: hausgold/actions/ci@master
|
37
37
|
with:
|
38
38
|
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
39
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
39
40
|
settings: '${{ github.repository }}'
|
40
41
|
target: ci/gem-test
|
41
42
|
|
@@ -56,6 +57,7 @@ jobs:
|
|
56
57
|
uses: hausgold/actions/ci@master
|
57
58
|
with:
|
58
59
|
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
60
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
59
61
|
settings: '${{ github.repository }}'
|
60
62
|
target: ci/noop
|
61
63
|
|
data/.rubocop.yml
CHANGED
@@ -65,3 +65,9 @@ RSpec/FilePath:
|
|
65
65
|
# Because we just implemented the ActiveRecord API.
|
66
66
|
Rails/SkipsModelValidations:
|
67
67
|
Enabled: false
|
68
|
+
|
69
|
+
# Because Rubocop does not respect the `TargetRubyVersion: 2.5` for this cop,
|
70
|
+
# so it converts to `then` which is not yet available on Ruby 2.5 which causes
|
71
|
+
# `NoMethodError` errors. NOTE: Remove when Ruby 2.5 support is dropped.
|
72
|
+
Style/ObjectThen:
|
73
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
+
### 1.4.2
|
6
|
+
|
7
|
+
* Reverted to use `yield_self` instead of `then` in order to support Ruby 2.5
|
8
|
+
as advertised (broken since #19, 1.3.0) (#31)
|
9
|
+
|
10
|
+
### 1.4.1
|
11
|
+
|
12
|
+
* Moved the development dependencies from the gemspec to the Gemfile (#29)
|
13
|
+
* Pinned Karafka gem <1.4.15 in order to suppress the
|
14
|
+
`I_ACCEPT_CRITICAL_ERRORS_IN_KARAFKA_1_4=true` agony (#30)
|
15
|
+
|
5
16
|
### 1.4.0
|
6
17
|
|
7
18
|
* Added support for Gem release automation
|
data/Gemfile
CHANGED
@@ -6,3 +6,22 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
6
|
|
7
7
|
# Specify your gem's dependencies in grape-jwt-authentication.gemspec
|
8
8
|
gemspec
|
9
|
+
|
10
|
+
# Development dependencies
|
11
|
+
gem 'appraisal', '~> 2.4'
|
12
|
+
gem 'bundler', '~> 2.3'
|
13
|
+
gem 'countless', '~> 1.1'
|
14
|
+
gem 'factory_bot', '~> 6.2'
|
15
|
+
gem 'guard-rspec', '~> 4.7'
|
16
|
+
gem 'railties', '>= 5.2'
|
17
|
+
gem 'rake', '~> 13.0'
|
18
|
+
gem 'redcarpet', '~> 3.5'
|
19
|
+
gem 'rspec', '~> 3.12'
|
20
|
+
gem 'rubocop', '~> 1.28'
|
21
|
+
gem 'rubocop-rails', '~> 2.14'
|
22
|
+
gem 'rubocop-rspec', '~> 2.10'
|
23
|
+
gem 'simplecov', '>= 0.22'
|
24
|
+
gem 'timecop', '>= 0.9.6'
|
25
|
+
gem 'vcr', '~> 6.0'
|
26
|
+
gem 'yard', '>= 0.9.28'
|
27
|
+
gem 'yard-activesupport-concern', '>= 0.0.1'
|
data/gemfiles/rails_5.2.gemfile
CHANGED
@@ -2,7 +2,23 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "
|
5
|
+
gem "appraisal", "~> 2.4"
|
6
|
+
gem "bundler", "~> 2.3"
|
7
|
+
gem "countless", "~> 1.1"
|
8
|
+
gem "factory_bot", "~> 6.2"
|
9
|
+
gem "guard-rspec", "~> 4.7"
|
6
10
|
gem "railties", "~> 5.2.0"
|
11
|
+
gem "rake", "~> 13.0"
|
12
|
+
gem "redcarpet", "~> 3.5"
|
13
|
+
gem "rspec", "~> 3.12"
|
14
|
+
gem "rubocop", "~> 1.28"
|
15
|
+
gem "rubocop-rails", "~> 2.14"
|
16
|
+
gem "rubocop-rspec", "~> 2.10"
|
17
|
+
gem "simplecov", ">= 0.22"
|
18
|
+
gem "timecop", ">= 0.9.6"
|
19
|
+
gem "vcr", "~> 6.0"
|
20
|
+
gem "yard", ">= 0.9.28"
|
21
|
+
gem "yard-activesupport-concern", ">= 0.0.1"
|
22
|
+
gem "activesupport", "~> 5.2.0"
|
7
23
|
|
8
24
|
gemspec path: "../"
|
@@ -19,9 +19,9 @@ module Rimless
|
|
19
19
|
# occurence should be rare.
|
20
20
|
Rimless
|
21
21
|
.decode(params.raw_payload)
|
22
|
-
.
|
23
|
-
.
|
24
|
-
.
|
22
|
+
.yield_self { |data| Sparsify(data, sparse_array: true) }
|
23
|
+
.yield_self { |data| data.transform_keys { |key| key.delete('\\') } }
|
24
|
+
.yield_self { |data| Unsparsify(data, sparse_array: true) }
|
25
25
|
.deep_symbolize_keys
|
26
26
|
end
|
27
27
|
end
|
data/lib/rimless/version.rb
CHANGED
data/rimless.gemspec
CHANGED
@@ -37,29 +37,11 @@ Gem::Specification.new do |spec|
|
|
37
37
|
|
38
38
|
spec.add_runtime_dependency 'activesupport', '>= 5.2'
|
39
39
|
spec.add_runtime_dependency 'avro_turf', '~> 0.11.0'
|
40
|
-
spec.add_runtime_dependency 'karafka', '~> 1.4'
|
40
|
+
spec.add_runtime_dependency 'karafka', '~> 1.4', '< 1.4.15'
|
41
41
|
spec.add_runtime_dependency 'karafka-sidekiq-backend', '~> 1.4'
|
42
42
|
spec.add_runtime_dependency 'karafka-testing', '~> 1.4'
|
43
43
|
spec.add_runtime_dependency 'sinatra', '~> 2.2'
|
44
44
|
spec.add_runtime_dependency 'sparsify', '~> 1.1'
|
45
45
|
spec.add_runtime_dependency 'waterdrop', '~> 1.4'
|
46
46
|
spec.add_runtime_dependency 'webmock', '~> 3.18'
|
47
|
-
|
48
|
-
spec.add_development_dependency 'appraisal', '~> 2.4'
|
49
|
-
spec.add_development_dependency 'bundler', '~> 2.3'
|
50
|
-
spec.add_development_dependency 'countless', '~> 1.1'
|
51
|
-
spec.add_development_dependency 'factory_bot', '~> 6.2'
|
52
|
-
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
53
|
-
spec.add_development_dependency 'railties', '>= 5.2'
|
54
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
55
|
-
spec.add_development_dependency 'redcarpet', '~> 3.5'
|
56
|
-
spec.add_development_dependency 'rspec', '~> 3.12'
|
57
|
-
spec.add_development_dependency 'rubocop', '~> 1.28'
|
58
|
-
spec.add_development_dependency 'rubocop-rails', '~> 2.14'
|
59
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
|
60
|
-
spec.add_development_dependency 'simplecov', '>= 0.22'
|
61
|
-
spec.add_development_dependency 'timecop', '>= 0.9.6'
|
62
|
-
spec.add_development_dependency 'vcr', '~> 6.0'
|
63
|
-
spec.add_development_dependency 'yard', '>= 0.9.28'
|
64
|
-
spec.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
|
65
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rimless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -45,6 +45,9 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.4'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 1.4.15
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +55,9 @@ dependencies:
|
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
57
|
version: '1.4'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 1.4.15
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: karafka-sidekiq-backend
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,244 +142,6 @@ dependencies:
|
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
144
|
version: '3.18'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: appraisal
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '2.4'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '2.4'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: bundler
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '2.3'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '2.3'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: countless
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '1.1'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '1.1'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: factory_bot
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '6.2'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '6.2'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: guard-rspec
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '4.7'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - "~>"
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '4.7'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: railties
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '5.2'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '5.2'
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: rake
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '13.0'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '13.0'
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
name: redcarpet
|
239
|
-
requirement: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - "~>"
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: '3.5'
|
244
|
-
type: :development
|
245
|
-
prerelease: false
|
246
|
-
version_requirements: !ruby/object:Gem::Requirement
|
247
|
-
requirements:
|
248
|
-
- - "~>"
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: '3.5'
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: rspec
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
255
|
-
- - "~>"
|
256
|
-
- !ruby/object:Gem::Version
|
257
|
-
version: '3.12'
|
258
|
-
type: :development
|
259
|
-
prerelease: false
|
260
|
-
version_requirements: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - "~>"
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '3.12'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: rubocop
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: '1.28'
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: '1.28'
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: rubocop-rails
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '2.14'
|
286
|
-
type: :development
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - "~>"
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: '2.14'
|
293
|
-
- !ruby/object:Gem::Dependency
|
294
|
-
name: rubocop-rspec
|
295
|
-
requirement: !ruby/object:Gem::Requirement
|
296
|
-
requirements:
|
297
|
-
- - "~>"
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: '2.10'
|
300
|
-
type: :development
|
301
|
-
prerelease: false
|
302
|
-
version_requirements: !ruby/object:Gem::Requirement
|
303
|
-
requirements:
|
304
|
-
- - "~>"
|
305
|
-
- !ruby/object:Gem::Version
|
306
|
-
version: '2.10'
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: simplecov
|
309
|
-
requirement: !ruby/object:Gem::Requirement
|
310
|
-
requirements:
|
311
|
-
- - ">="
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version: '0.22'
|
314
|
-
type: :development
|
315
|
-
prerelease: false
|
316
|
-
version_requirements: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - ">="
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: '0.22'
|
321
|
-
- !ruby/object:Gem::Dependency
|
322
|
-
name: timecop
|
323
|
-
requirement: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - ">="
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: 0.9.6
|
328
|
-
type: :development
|
329
|
-
prerelease: false
|
330
|
-
version_requirements: !ruby/object:Gem::Requirement
|
331
|
-
requirements:
|
332
|
-
- - ">="
|
333
|
-
- !ruby/object:Gem::Version
|
334
|
-
version: 0.9.6
|
335
|
-
- !ruby/object:Gem::Dependency
|
336
|
-
name: vcr
|
337
|
-
requirement: !ruby/object:Gem::Requirement
|
338
|
-
requirements:
|
339
|
-
- - "~>"
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: '6.0'
|
342
|
-
type: :development
|
343
|
-
prerelease: false
|
344
|
-
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
requirements:
|
346
|
-
- - "~>"
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
version: '6.0'
|
349
|
-
- !ruby/object:Gem::Dependency
|
350
|
-
name: yard
|
351
|
-
requirement: !ruby/object:Gem::Requirement
|
352
|
-
requirements:
|
353
|
-
- - ">="
|
354
|
-
- !ruby/object:Gem::Version
|
355
|
-
version: 0.9.28
|
356
|
-
type: :development
|
357
|
-
prerelease: false
|
358
|
-
version_requirements: !ruby/object:Gem::Requirement
|
359
|
-
requirements:
|
360
|
-
- - ">="
|
361
|
-
- !ruby/object:Gem::Version
|
362
|
-
version: 0.9.28
|
363
|
-
- !ruby/object:Gem::Dependency
|
364
|
-
name: yard-activesupport-concern
|
365
|
-
requirement: !ruby/object:Gem::Requirement
|
366
|
-
requirements:
|
367
|
-
- - ">="
|
368
|
-
- !ruby/object:Gem::Version
|
369
|
-
version: 0.0.1
|
370
|
-
type: :development
|
371
|
-
prerelease: false
|
372
|
-
version_requirements: !ruby/object:Gem::Requirement
|
373
|
-
requirements:
|
374
|
-
- - ">="
|
375
|
-
- !ruby/object:Gem::Version
|
376
|
-
version: 0.0.1
|
377
145
|
description: A bundle of opinionated Apache Kafka / Confluent Schema Registry helpers.
|
378
146
|
email:
|
379
147
|
- hermann.mayer92@gmail.com
|