karafka-testing 2.1.5 → 2.1.6
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 +4 -0
- data/Gemfile.lock +11 -11
- data/karafka-testing.gemspec +2 -2
- data/lib/karafka/testing/rspec/helpers.rb +2 -0
- data/lib/karafka/testing/spec_consumer_client.rb +1 -0
- data/lib/karafka/testing/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +6 -6
- 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: 99691afa1ba9d59e742b87675057dd8d5caca90e88462b6da8d824ca6f6f436d
|
4
|
+
data.tar.gz: ba27ebd42ac239211cc4b0706595ede83c331e08b837f68844fc83cccf287f50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8be52323dd3913df84e57e47ffe3f53a6b231fe92e500790e88d69a9a4b6ae168268b1b2d6f61dff297c0cf896bf28e4ff383d985ee47c0281bbd8a55e84fb26
|
7
|
+
data.tar.gz: e45e5683404a44540edc228ecc07bc94fd159e9361d2b6eece5405af2ed7b7c15fa8b607565af29713333a1a2825e0aed3bcd351bf0c3f0ef2f82c76abb938d9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Karafka Test gem changelog
|
2
2
|
|
3
|
+
## 2.1.6 (2023-08-06)
|
4
|
+
- [Enhancement] Make `#used?` API always return true.
|
5
|
+
- [Enhancement] Expand dummy client API with #seek.
|
6
|
+
|
3
7
|
## 2.1.5 (2023-07-22)
|
4
8
|
- [Enhancement] User `prepend_before` instead of `prepend` for RSpec (ojab)
|
5
9
|
- [Enhancement] Add support for client `#commit_offsets` and `#commit_offsets!` stubs.
|
data/Gemfile.lock
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka-testing (2.1.
|
5
|
-
karafka (>= 2.1.
|
6
|
-
waterdrop (>= 2.6.
|
4
|
+
karafka-testing (2.1.6)
|
5
|
+
karafka (>= 2.1.8, < 3.0.0)
|
6
|
+
waterdrop (>= 2.6.6)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
concurrent-ruby (1.2.2)
|
12
12
|
ffi (1.15.5)
|
13
|
-
karafka (2.1.
|
14
|
-
karafka-core (>= 2.1.
|
13
|
+
karafka (2.1.8)
|
14
|
+
karafka-core (>= 2.1.1, < 2.2.0)
|
15
15
|
thor (>= 0.20)
|
16
|
-
waterdrop (>= 2.6.
|
16
|
+
waterdrop (>= 2.6.2, < 3.0.0)
|
17
17
|
zeitwerk (~> 2.3)
|
18
|
-
karafka-core (2.1.
|
18
|
+
karafka-core (2.1.1)
|
19
19
|
concurrent-ruby (>= 1.1)
|
20
|
-
karafka-rdkafka (>= 0.13.
|
21
|
-
karafka-rdkafka (0.13.
|
20
|
+
karafka-rdkafka (>= 0.13.1, < 0.14.0)
|
21
|
+
karafka-rdkafka (0.13.3)
|
22
22
|
ffi (~> 1.15)
|
23
23
|
mini_portile2 (~> 2.6)
|
24
24
|
rake (> 12)
|
25
25
|
mini_portile2 (2.8.1)
|
26
26
|
rake (13.0.6)
|
27
27
|
thor (1.2.1)
|
28
|
-
waterdrop (2.6.
|
29
|
-
karafka-core (>= 2.1.
|
28
|
+
waterdrop (2.6.6)
|
29
|
+
karafka-core (>= 2.1.1, < 3.0.0)
|
30
30
|
zeitwerk (~> 2.3)
|
31
31
|
zeitwerk (2.6.7)
|
32
32
|
|
data/karafka-testing.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
25
25
|
end
|
26
26
|
|
27
|
-
spec.add_dependency 'karafka', '>= 2.1.
|
28
|
-
spec.add_dependency 'waterdrop', '>= 2.6.
|
27
|
+
spec.add_dependency 'karafka', '>= 2.1.8', '< 3.0.0'
|
28
|
+
spec.add_dependency 'waterdrop', '>= 2.6.6'
|
29
29
|
|
30
30
|
spec.metadata = {
|
31
31
|
'funding_uri' => 'https://karafka.io/#become-pro',
|
@@ -179,6 +179,8 @@ module Karafka
|
|
179
179
|
consumer.client = _karafka_consumer_client
|
180
180
|
consumer.coordinator = coordinators.find_or_create(topic.name, 0)
|
181
181
|
consumer.coordinator.seek_offset = 0
|
182
|
+
# Indicate usage as for tests no direct enqueuing happens
|
183
|
+
consumer.instance_variable_set('@used', true)
|
182
184
|
consumer
|
183
185
|
end
|
184
186
|
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.1.
|
4
|
+
version: 2.1.6
|
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-08-06 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: karafka
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.1.
|
46
|
+
version: 2.1.8
|
47
47
|
- - "<"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: 3.0.0
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
requirements:
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 2.1.
|
56
|
+
version: 2.1.8
|
57
57
|
- - "<"
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: 3.0.0
|
@@ -63,14 +63,14 @@ dependencies:
|
|
63
63
|
requirements:
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 2.6.
|
66
|
+
version: 2.6.6
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 2.6.
|
73
|
+
version: 2.6.6
|
74
74
|
description: Library which provides helpers for easier Karafka consumers tests
|
75
75
|
email:
|
76
76
|
- contact@karafka.io
|
metadata.gz.sig
CHANGED
Binary file
|