rimless 1.7.6 → 1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/rimless/karafka/base64_interchanger.rb +5 -4
- data/lib/rimless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65a81e9d34d669a1e6acd791e2c10a189869fc40d2910b478fa37fac6c84accb
|
4
|
+
data.tar.gz: 69a88291a2aef544f0d646e58951f7fc9dc143848b9cc05041cfd19a8e19d47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 427e0d60a2aae434d3742ab73ae676917077c16216282d6de286c3f32cc5a4c2df02034ff743b8acb1470f2d347d710d0bac322c264f64ddbdda5ad1526a7667
|
7
|
+
data.tar.gz: 7f1bd3ff9c139586dd4b4c14efdd80177860e3d4e7d2dc93e58a29ed2fed67985218031fb3264b103efe2bac209fb3f02a2c9a1495f23d81e66384112d0209bb
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
+
### 1.7.7
|
6
|
+
|
7
|
+
* Corrected the Sidekiq interchanger decoding, which is caused by an upstream
|
8
|
+
update of the karafka-sidekiq-backend gem (#43)
|
9
|
+
|
5
10
|
### 1.7.6
|
6
11
|
|
7
12
|
* Added a monkey-patch for the constellation Karafka 1.4 and Thor 1.3,
|
@@ -11,7 +11,8 @@ module Rimless
|
|
11
11
|
# Encode a binary Apache Kafka message(s) so they can be passed to the
|
12
12
|
# Sidekiq +Rimless::ConsumerJob+.
|
13
13
|
#
|
14
|
-
# @param params_batch [
|
14
|
+
# @param params_batch [Karafka::Params::ParamsBatch] the karafka params
|
15
|
+
# batch object
|
15
16
|
# @return [String] the marshaled+base64 encoded data
|
16
17
|
def encode(params_batch)
|
17
18
|
Base64.encode64(Marshal.dump(super))
|
@@ -21,9 +22,9 @@ module Rimless
|
|
21
22
|
# the Sidekiq +Rimless::ConsumerJob+.
|
22
23
|
#
|
23
24
|
# @param params_string [String] the marshaled+base64 encoded data
|
24
|
-
# @return [
|
25
|
-
def decode(
|
26
|
-
Marshal.load(Base64.decode64(
|
25
|
+
# @return [Array<Hash>] the unmarshaled+base64 decoded data
|
26
|
+
def decode(params_batch)
|
27
|
+
super(Marshal.load(Base64.decode64(params_batch))).map(&:stringify_keys)
|
27
28
|
end
|
28
29
|
end
|
29
30
|
# rubocop:enable Security/MarshalLoad
|
data/lib/rimless/version.rb
CHANGED