karafka-testing 2.1.5 → 2.2.0
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 +8 -0
- data/Gemfile.lock +11 -11
- data/certs/cert_chain.pem +21 -21
- 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 +28 -28
- 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: 84ae796af17d02ace2ed5130aab0d964ea724bcd5b8379f954b3b93d265afbf2
|
4
|
+
data.tar.gz: 938a1f00fa6b1670d6cf8c6a045426c17ad9964398e6f3e16785ee927f21be93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7229353c31414e28d97b0d498ec0a92d628432d8544b3a34811d518681607573ab2734c75ea936cb25666e1f12dbcce7c6de8fda2e39e2ce7f5f1c394759ec2a
|
7
|
+
data.tar.gz: 0a5b5db670109114c6fbb77e6da81fde0215dbe2c2b38dc95cc063654cc349d836fde8dd09a18fa76a52a50c0560529c4ddd0971b5e4da1ae37a50845e103c08
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Karafka Test gem changelog
|
2
2
|
|
3
|
+
## 2.2.0 (2023-09-91)
|
4
|
+
- [Maintenance] Ensure that `2.2.0` works with consumers for patterns.
|
5
|
+
- [Maintenance] Replace signing key with a new one (old expired).
|
6
|
+
|
7
|
+
## 2.1.6 (2023-08-06)
|
8
|
+
- [Enhancement] Make `#used?` API always return true.
|
9
|
+
- [Enhancement] Expand dummy client API with #seek.
|
10
|
+
|
3
11
|
## 2.1.5 (2023-07-22)
|
4
12
|
- [Enhancement] User `prepend_before` instead of `prepend` for RSpec (ojab)
|
5
13
|
- [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.
|
5
|
-
karafka (>= 2.
|
6
|
-
waterdrop (>= 2.6.
|
4
|
+
karafka-testing (2.2.0)
|
5
|
+
karafka (>= 2.2.0, < 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.
|
14
|
-
karafka-core (>= 2.1.
|
13
|
+
karafka (2.2.0)
|
14
|
+
karafka-core (>= 2.1.1, < 2.2.0)
|
15
15
|
thor (>= 0.20)
|
16
|
-
waterdrop (>= 2.6.
|
16
|
+
waterdrop (>= 2.6.6, < 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
|
ze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
|
13
|
+
YGr1tOiaJrL6c+PNmb0F31NXMKpj/r+n15HwlTMRxQrzFcgjBlxf2XFGnPQXHhBm
|
14
|
+
kp1OFnEq4GG9sON4glRldkwzi/f/fGcZmo5fm3d+0ZdNgwIDAQABo3cwdTAJBgNV
|
15
|
+
HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUPVH5+dLA80A1kJ2Uz5iGwfOa
|
16
|
+
1+swHQYDVR0RBBYwFIESY29udGFjdEBrYXJhZmthLmlvMB0GA1UdEgQWMBSBEmNv
|
17
|
+
bnRhY3RAa2FyYWZrYS5pbzANBgkqhkiG9w0BAQsFAAOCAYEAnpa0jcN7JzREHMTQ
|
18
|
+
bfZ+xcvlrzuROMY6A3zIZmQgbnoZZNuX4cMRrT1p1HuwXpxdpHPw7dDjYqWw3+1h
|
19
|
+
3mXLeMuk7amjQpYoSWU/OIZMhIsARra22UN8qkkUlUj3AwTaChVKN/bPJOM2DzfU
|
20
|
+
kz9vUgLeYYFfQbZqeI6SsM7ltilRV4W8D9yNUQQvOxCFxtLOetJ00fC/E7zMUzbK
|
21
|
+
IBwYFQYsbI6XQzgAIPW6nGSYKgRhkfpmquXSNKZRIQ4V6bFrufa+DzD0bt2ZA3ah
|
22
|
+
fMmJguyb5L2Gf1zpDXzFSPMG7YQFLzwYz1zZZvOU7/UCpQsHpID/YxqDp4+Dgb+Y
|
23
|
+
qma0whX8UG/gXFV2pYWpYOfpatvahwi+A1TwPQsuZwkkhi1OyF1At3RY+hjSXyav
|
24
|
+
AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
|
25
|
+
msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
|
26
26
|
-----END CERTIFICATE-----
|
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.
|
28
|
-
spec.add_dependency 'waterdrop', '>= 2.6.
|
27
|
+
spec.add_dependency 'karafka', '>= 2.2.0', '< 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.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -12,30 +12,30 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MRAwDgYDVQQDDAdjb250
|
14
14
|
YWN0MRcwFQYKCZImiZPyLGQBGRYHa2FyYWZrYTESMBAGCgmSJomT8ixkARkWAmlv
|
15
|
-
|
15
|
+
MB4XDTIzMDgyMTA3MjU1NFoXDTI0MDgyMDA3MjU1NFowPzEQMA4GA1UEAwwHY29u
|
16
16
|
dGFjdDEXMBUGCgmSJomT8ixkARkWB2thcmFma2ExEjAQBgoJkiaJk/IsZAEZFgJp
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|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Muk7amjQpYoSWU/OIZMhIsARra22UN8qkkUlUj3AwTaChVKN/bPJOM2DzfU
|
31
|
+
kz9vUgLeYYFfQbZqeI6SsM7ltilRV4W8D9yNUQQvOxCFxtLOetJ00fC/E7zMUzbK
|
32
|
+
IBwYFQYsbI6XQzgAIPW6nGSYKgRhkfpmquXSNKZRIQ4V6bFrufa+DzD0bt2ZA3ah
|
33
|
+
fMmJguyb5L2Gf1zpDXzFSPMG7YQFLzwYz1zZZvOU7/UCpQsHpID/YxqDp4+Dgb+Y
|
34
|
+
qma0whX8UG/gXFV2pYWpYOfpatvahwi+A1TwPQsuZwkkhi1OyF1At3RY+hjSXyav
|
35
|
+
AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
|
36
|
+
msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-
|
38
|
+
date: 2023-09-01 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.
|
46
|
+
version: 2.2.0
|
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.
|
56
|
+
version: 2.2.0
|
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
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
|
-
rubygems_version: 3.4.
|
132
|
+
rubygems_version: 3.4.19
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: Library which provides helpers for easier Karafka consumers tests
|
metadata.gz.sig
CHANGED
Binary file
|