karafka-testing 2.0.11 → 2.1.1
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 +6 -0
- data/Gemfile.lock +4 -4
- data/karafka-testing.gemspec +1 -1
- data/lib/karafka/testing/rspec/helpers.rb +5 -1
- data/lib/karafka/testing/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- 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: fae4b939191c552b4f9a1c7244e832de0f721ea5297c3a741b7c263b1e2d6a52
|
4
|
+
data.tar.gz: e12fa021909dca8333090b6bb685f24cc418d6f5f93a3049c51677e3b1a1f46c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee5da08ea6b37dd2cf9bd19141d246288fdf1cddd4206c2159006cc09df0a63a8dc307cba3920435c5636872c5df8c3d91ca2998f673cf796cc41cf297ae5014
|
7
|
+
data.tar.gz: d5555fd3870e33a1a0ae36da998d27326a4fc71a1829990f3442df048d7d28a0a53644415fb82da8f636b7904309e1ca9d03cee2ab16e2365ee1236a9d7d2c24
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Karafka Test gem changelog
|
2
2
|
|
3
|
+
## 2.1.1 (2023-06-07)
|
4
|
+
- [Enhancement] Support WaterDrop stubs with Mocha.
|
5
|
+
|
6
|
+
## 2.1.0 (2023-05-22)
|
7
|
+
- [Maintenance] Align Karafka expectations to match `2.1.0`.
|
8
|
+
|
3
9
|
## 2.0.11 (2023-04-13)
|
4
10
|
- Align metadata builder format with Karafka `2.0.40`.
|
5
11
|
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka-testing (2.
|
5
|
-
karafka (>= 2.0
|
4
|
+
karafka-testing (2.1.1)
|
5
|
+
karafka (>= 2.1.0, < 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
concurrent-ruby (1.2.2)
|
11
11
|
ffi (1.15.5)
|
12
|
-
karafka (2.0
|
12
|
+
karafka (2.1.0)
|
13
13
|
karafka-core (>= 2.0.12, < 3.0.0)
|
14
14
|
thor (>= 0.20)
|
15
15
|
waterdrop (>= 2.4.10, < 3.0.0)
|
@@ -37,4 +37,4 @@ DEPENDENCIES
|
|
37
37
|
karafka-testing!
|
38
38
|
|
39
39
|
BUNDLED WITH
|
40
|
-
2.4.
|
40
|
+
2.4.12
|
data/karafka-testing.gemspec
CHANGED
@@ -24,7 +24,7 @@ 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.0
|
27
|
+
spec.add_dependency 'karafka', '>= 2.1.0', '< 3.0.0'
|
28
28
|
|
29
29
|
spec.metadata = {
|
30
30
|
'funding_uri' => 'https://karafka.io/#become-pro',
|
@@ -33,7 +33,11 @@ module Karafka
|
|
33
33
|
_karafka_consumer_messages.clear
|
34
34
|
_karafka_producer_client.reset
|
35
35
|
|
36
|
-
|
36
|
+
if Object.const_defined?('Mocha', false)
|
37
|
+
Karafka.producer.stubs(:client).returns(_karafka_producer_client)
|
38
|
+
else
|
39
|
+
allow(Karafka.producer).to receive(:client).and_return(_karafka_producer_client)
|
40
|
+
end
|
37
41
|
end
|
38
42
|
end
|
39
43
|
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.1.1
|
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-06-07 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.0
|
46
|
+
version: 2.1.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.0
|
56
|
+
version: 2.1.0
|
57
57
|
- - "<"
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: 3.0.0
|
metadata.gz.sig
CHANGED
Binary file
|