rimless 3.6.0 → 3.7.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/CHANGELOG.md +4 -0
- data/lib/rimless/avro_utils.rb +2 -2
- data/lib/rimless/extensions/configuration_handling.rb +1 -2
- data/lib/rimless/rspec/helpers.rb +2 -2
- data/lib/rimless/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e824cdd563d715b9da3eef1febda55fa392b459d1b6cdbcd98044911327e042
|
|
4
|
+
data.tar.gz: 2e1a538c8a075130fce2a815d6a2ed341813a4ecf01b62a90bd69a0fdc4f97d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c40d754bba5822858fb209ea5eb3eabae8f809cbfde2b8236176dc34d8776060f9a9a2b7fce695591328d9ebab3c40be6f7a9ae201d63bac792500557ee5e37f
|
|
7
|
+
data.tar.gz: 1cea22c912c9e8967bda254ad44a1bd56d09f99b9148e95543dd74ce36221e07f0dfd9fa3009f806dcb74d70400edb231160219a5c48575bce264d7631bb5dfe
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
|
4
4
|
|
|
5
|
+
### 3.7.0 (27 August 2026)
|
|
6
|
+
|
|
7
|
+
* Corrected some RuboCop glitches ([#80](https://github.com/hausgold/rimless/pull/80))
|
|
8
|
+
|
|
5
9
|
### 3.6.0 (20 May 2026)
|
|
6
10
|
|
|
7
11
|
* Corrected some RuboCop glitches ([#79](https://github.com/hausgold/rimless/pull/79))
|
data/lib/rimless/avro_utils.rb
CHANGED
|
@@ -51,7 +51,8 @@ module Rimless
|
|
|
51
51
|
# @param dest [Pathname, File, IO] the file to check
|
|
52
52
|
# @raise [JSON::ParserError] when invalid
|
|
53
53
|
#
|
|
54
|
-
# rubocop:disable Security/JSONLoad -- because we wrote the file
|
|
54
|
+
# rubocop:disable-next Security/JSONLoad -- because we wrote the file
|
|
55
|
+
# contents
|
|
55
56
|
def validate_file(dest)
|
|
56
57
|
JSON.load(dest)
|
|
57
58
|
rescue JSON::ParserError => e
|
|
@@ -61,7 +62,6 @@ module Rimless
|
|
|
61
62
|
e.message.prepend("#{prefix} - ")
|
|
62
63
|
raise e
|
|
63
64
|
end
|
|
64
|
-
# rubocop:enable Security/JSONLoad
|
|
65
65
|
|
|
66
66
|
# Clear previous compiled Avro schema files to provide a clean rebuild.
|
|
67
67
|
def clear
|
|
@@ -4,7 +4,7 @@ module Rimless
|
|
|
4
4
|
module Extensions
|
|
5
5
|
# The top-level configuration handling.
|
|
6
6
|
#
|
|
7
|
-
# rubocop:disable Style/ClassVars -- because we split module code
|
|
7
|
+
# rubocop:disable-next Style/ClassVars -- because we split module code
|
|
8
8
|
module ConfigurationHandling
|
|
9
9
|
extend ActiveSupport::Concern
|
|
10
10
|
|
|
@@ -72,6 +72,5 @@ module Rimless
|
|
|
72
72
|
delegate :logger, to: :configuration
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
|
-
# rubocop:enable Style/ClassVars
|
|
76
75
|
end
|
|
77
76
|
end
|
|
@@ -22,7 +22,8 @@ module Rimless
|
|
|
22
22
|
# @param metadata [Hash{Symbol => Mixed}] the message metadata
|
|
23
23
|
# @return [RSpec::Mocks::InstanceVerifyingDouble] the Kafka message double
|
|
24
24
|
#
|
|
25
|
-
# rubocop:disable Metrics/MethodLength -- because of the metadata
|
|
25
|
+
# rubocop:disable-next Metrics/MethodLength -- because of the metadata
|
|
26
|
+
# handling
|
|
26
27
|
def kafka_message(topic: nil, headers: {}, metadata: {}, **payload)
|
|
27
28
|
metadata = {
|
|
28
29
|
topic: topic ? Rimless.topic(topic) : nil,
|
|
@@ -48,7 +49,6 @@ module Rimless
|
|
|
48
49
|
**metadata
|
|
49
50
|
)
|
|
50
51
|
end
|
|
51
|
-
# rubocop:enable Metrics/MethodLength
|
|
52
52
|
|
|
53
53
|
# Capture all Apache Kafka messages of the given block.
|
|
54
54
|
#
|
data/lib/rimless/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rimless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hermann Mayer
|
|
@@ -279,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
279
279
|
- !ruby/object:Gem::Version
|
|
280
280
|
version: '0'
|
|
281
281
|
requirements: []
|
|
282
|
-
rubygems_version: 4.0.
|
|
282
|
+
rubygems_version: 4.0.16
|
|
283
283
|
specification_version: 4
|
|
284
284
|
summary: A bundle of opinionated Apache Kafka / Confluent Schema Registry helpers.
|
|
285
285
|
test_files: []
|