karafka-testing 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9112bdf5ca189a7f448c2b5768aa2694a5958a96f591f8d8bad8cc204708f1a3
4
- data.tar.gz: 61ae2749b2bac651143bca2b8cdb470900b87eccc058c13cbaa4644e1be1435e
3
+ metadata.gz: c7a7e11e7f5ba273fc7875d3c20bd2b1457d46f315f168e933f1f48f82f6bbf6
4
+ data.tar.gz: 0ac2a1804d0b7e94cfd409763edd8ced61dd64fdde2219d9d42a375f9a21542a
5
5
  SHA512:
6
- metadata.gz: adff2729f366403cc7e01a18135f972b05b9dd9faa8408a8cda7f75cf6425c9e676060815037fc78acaecfc4efa37be122e7b8d15623c6c31b7263fb2856bdc1
7
- data.tar.gz: 29da133e08e85e5d1efa24156c1eab91aa858387bc341070cc4ae059d073e721e6955808f6b6923b39b102a3e713067e6cf856a889d0d9d5568674a27245926e
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.2)
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.10)
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.1)
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] == consumer.topic.name
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
@@ -4,6 +4,6 @@
4
4
  module Karafka
5
5
  module Testing
6
6
  # Current version of gem. It should match Karafka framework version
7
- VERSION = '2.0.2'
7
+ VERSION = '2.0.3'
8
8
  end
9
9
  end
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.2
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-29 00:00:00.000000000 Z
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