karafka-testing 2.0.2 → 2.0.3
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +4 -1
- data/Gemfile.lock +3 -3
- data/lib/karafka/testing/rspec/helpers.rb +1 -1
- data/lib/karafka/testing/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7a7e11e7f5ba273fc7875d3c20bd2b1457d46f315f168e933f1f48f82f6bbf6
|
|
4
|
+
data.tar.gz: 0ac2a1804d0b7e94cfd409763edd8ced61dd64fdde2219d9d42a375f9a21542a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38d9372fcf299860d91efe18061ed219583a95fb1955a4817536a9fe4ae5ac6e9f86fc4e92c35c02a256cf9b9a1162f0a2cd54c17d6dd48b503f9a36c1d2be6c
|
|
7
|
+
data.tar.gz: fa0f0e8395e9fc00b155074a5e0059ad8dc4aecf0f9e93b0edaf6806574a873e17e183ad8bbede526237e3dcd321b378664252755d05d82204329c3351361861
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# Karafka Test gem changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.3 (2022-09-30)
|
|
4
|
+
- Fix direct name reference `consumer` instead of `subject` (#97).
|
|
5
|
+
|
|
3
6
|
## 2.0.2 (2022-09-29)
|
|
4
7
|
- Provide multi-consumer group testing support (#92)
|
|
5
8
|
- Fail fast if requested topic is present in multiple consumer groups but consumer group is not specified.
|
|
6
9
|
- Allow for usage of `Karafka.producer` directly and make it buffered.
|
|
7
|
-
- Rename `karafka.publish` to `karafka.produce` to align naming conventions.
|
|
10
|
+
- Rename `karafka.publish` to `karafka.produce` to align naming conventions [breaking change].
|
|
8
11
|
|
|
9
12
|
## 2.0.1 (2022-08-05)
|
|
10
13
|
- Require non rc version of Karafka.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
karafka-testing (2.0.
|
|
4
|
+
karafka-testing (2.0.3)
|
|
5
5
|
karafka (>= 2.0, < 3.0.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -9,7 +9,7 @@ GEM
|
|
|
9
9
|
specs:
|
|
10
10
|
concurrent-ruby (1.1.10)
|
|
11
11
|
ffi (1.15.5)
|
|
12
|
-
karafka (2.0.
|
|
12
|
+
karafka (2.0.11)
|
|
13
13
|
karafka-core (>= 2.0.2, < 3.0.0)
|
|
14
14
|
rdkafka (>= 0.12)
|
|
15
15
|
thor (>= 0.20)
|
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
mini_portile2 (~> 2.6)
|
|
25
25
|
rake (> 12)
|
|
26
26
|
thor (1.2.1)
|
|
27
|
-
waterdrop (2.4.
|
|
27
|
+
waterdrop (2.4.2)
|
|
28
28
|
karafka-core (>= 2.0.2, < 3.0.0)
|
|
29
29
|
rdkafka (>= 0.10)
|
|
30
30
|
zeitwerk (~> 2.3)
|
|
@@ -87,7 +87,7 @@ module Karafka
|
|
|
87
87
|
def _karafka_add_message_to_consumer_if_needed(message)
|
|
88
88
|
# We target to the consumer only messages that were produced to it, since specs may also
|
|
89
89
|
# produce other messages targeting other topics
|
|
90
|
-
return unless message[:topic] ==
|
|
90
|
+
return unless message[:topic] == subject.topic.name
|
|
91
91
|
|
|
92
92
|
# Build message metadata and copy any metadata that would come from the message
|
|
93
93
|
metadata = _karafka_message_metadata_defaults
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: karafka-testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maciej Mensfeld
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
Qf04B9ceLUaC4fPVEz10FyobjaFoY4i32xRto3XnrzeAgfEe4swLq8bQsR3w/EF3
|
|
36
36
|
MGU0FeSV2Yj7Xc2x/7BzLK8xQn5l7Yy75iPF+KP3vVmDHnNl
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2022-09-
|
|
38
|
+
date: 2022-09-30 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: karafka
|
metadata.gz.sig
CHANGED
|
Binary file
|