karafka-testing 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/karafka/testing/rspec/helpers.rb +1 -1
- data/lib/karafka/testing/spec_consumer_client.rb +3 -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: 03bafbd13410d642081b2d48089cddab05a67fcde695aab36170e355d7e5a6ee
|
4
|
+
data.tar.gz: 330c7f0bfdf78b3ee6f265f7dfe80328dd1d3c17ccd24e4ac4c50eb0f7b84960
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 006c9d20aa033515813738fe904a00871f0965ac4de505fdc7682adcc413e3e22a36e94f9446ff5ea97ce5b139001590e5fa5dbb52975deb5498daa94515de40
|
7
|
+
data.tar.gz: 154b7141b13b9a781f08e24826030f8d4afbcd5015f31b2b0570af70406ff52e4208844efbed6d327d4fdb045305eba3f688a3c07d19399149f70036b6018fd9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Karafka Test gem changelog
|
2
2
|
|
3
|
+
## 2.1.5 (2023-07-22)
|
4
|
+
- [Enhancement] User `prepend_before` instead of `prepend` for RSpec (ojab)
|
5
|
+
- [Enhancement] Add support for client `#commit_offsets` and `#commit_offsets!` stubs.
|
6
|
+
- [Fix] Make sure that `#mark_as_consumed!` and `#mark_as_consumed` return true.
|
7
|
+
|
3
8
|
## 2.1.4 (2023-06-20)
|
4
9
|
- [Fix] Fix invalid consumer group assignment for consumers created for non-default consumer group when same topic is being used multiple times.
|
5
10
|
|
data/Gemfile.lock
CHANGED
@@ -29,7 +29,7 @@ module Karafka
|
|
29
29
|
# Producer fake client to mock communication with Kafka
|
30
30
|
base.let(:_karafka_producer_client) { Karafka::Testing::SpecProducerClient.new(self) }
|
31
31
|
|
32
|
-
base.
|
32
|
+
base.prepend_before do
|
33
33
|
_karafka_consumer_messages.clear
|
34
34
|
_karafka_producer_client.reset
|
35
35
|
|
@@ -9,8 +9,10 @@ module Karafka
|
|
9
9
|
%i[
|
10
10
|
mark_as_consumed
|
11
11
|
mark_as_consumed!
|
12
|
+
commit_offsets
|
13
|
+
commit_offsets!
|
12
14
|
].each do |caught_delegator|
|
13
|
-
define_method(caught_delegator) { |*| }
|
15
|
+
define_method(caught_delegator) { |*| true }
|
14
16
|
end
|
15
17
|
|
16
18
|
# @return [Boolean] assignments are never lost for specs
|
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.1.
|
4
|
+
version: 2.1.5
|
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: 2023-
|
38
|
+
date: 2023-07-22 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: karafka
|
metadata.gz.sig
CHANGED
Binary file
|