karafka-testing 1.3.0.rc1 → 1.3.0

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: 334e5c351ee5d866326e51d74fb861d9c475bd7299c147b4c74e79f298920097
4
- data.tar.gz: abea94cdd6847f57c1230b71975cb50f23ba581d6a848922d6dfaf36275b5469
3
+ metadata.gz: 6ee784ba9b6c79e481316de20a6d9bb450cbd839e9002326ad6e027da06da790
4
+ data.tar.gz: 953807d68461c4e12bbdaf3c1693837e3bf7fe4f1ce8d9bcfef86b0388851deb
5
5
  SHA512:
6
- metadata.gz: 0c7ce2edd303729dc75eac1080b77dabac897cbf87b340102e131f68a8b6ec75767a55f4ed89c9631fd20b2ec0fd9a145e39b54b4913fd160b2fef056001f857
7
- data.tar.gz: 8e1aaef28450c9a5ed48949016d44211b95fe81e166c06b37cc1aef6942cea64361c48ec9e7336b15536ac459261a86fee4d0edf5a52191eb24bf35872f6b4bb
6
+ metadata.gz: fb2c9c0b8dcada48b84e841f1c17b7abc69c3e3535e412a96ad8a20188983a2d3359ff23912e9cb0a48b0f0bef21b770477cf86283bf4bdf6a035d60cac6c995
7
+ data.tar.gz: ab3b0aa4450cb9432161c47eaab0788609ca86399a15881bc715bf5eaba4e779672c69c51bcfb8969f4a800859f287affc5ce7c41895082a39824819e94fd21a
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Karafka Test gem changelog
2
2
 
3
- ## 1.3.0.rc1 (2019-07-31)
3
+ ## 1.3.0 (2019-09-09)
4
+ - Dynamic `App` name (#2)
4
5
 
6
+ ## 1.3.0.rc1 (2019-07-31)
5
7
  - Support for Karafka 1.3
data/Gemfile CHANGED
@@ -3,5 +3,3 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
-
7
- gem 'karafka', '1.3.0.rc1'
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-testing (1.3.0.rc1)
5
- karafka (~> 1.3.0.rc1)
4
+ karafka-testing (1.3.0)
5
+ karafka (~> 1.3.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -18,7 +18,7 @@ GEM
18
18
  dry-container (0.7.2)
19
19
  concurrent-ruby (~> 1.0)
20
20
  dry-configurable (~> 0.1, >= 0.1.3)
21
- dry-core (0.4.8)
21
+ dry-core (0.4.9)
22
22
  concurrent-ruby (~> 1.0)
23
23
  dry-equalizer (0.2.2)
24
24
  dry-events (0.2.0)
@@ -27,7 +27,7 @@ GEM
27
27
  dry-equalizer (~> 0.2)
28
28
  dry-inflector (0.1.2)
29
29
  dry-initializer (3.0.1)
30
- dry-logic (1.0.2)
30
+ dry-logic (1.0.3)
31
31
  concurrent-ruby (~> 1.0)
32
32
  dry-core (~> 0.2)
33
33
  dry-equalizer (~> 0.2)
@@ -36,7 +36,7 @@ GEM
36
36
  dry-core (~> 0.4)
37
37
  dry-equalizer (~> 0.2)
38
38
  dry-events (~> 0.1)
39
- dry-schema (1.3.1)
39
+ dry-schema (1.3.3)
40
40
  concurrent-ruby (~> 1.0)
41
41
  dry-configurable (~> 0.8, >= 0.8.3)
42
42
  dry-core (~> 0.4)
@@ -51,7 +51,7 @@ GEM
51
51
  dry-equalizer (~> 0.2, >= 0.2.2)
52
52
  dry-inflector (~> 0.1, >= 0.1.2)
53
53
  dry-logic (~> 1.0, >= 1.0.2)
54
- dry-validation (1.2.1)
54
+ dry-validation (1.3.1)
55
55
  concurrent-ruby (~> 1.0)
56
56
  dry-container (~> 0.7, >= 0.7.1)
57
57
  dry-core (~> 0.4)
@@ -61,39 +61,38 @@ GEM
61
61
  envlogic (1.1.0)
62
62
  dry-inflector (~> 0.1)
63
63
  irb (1.0.0)
64
- karafka (1.3.0.rc1)
64
+ karafka (1.3.0)
65
65
  dry-configurable (~> 0.8)
66
66
  dry-inflector (~> 0.1)
67
67
  dry-monitor (~> 0.3)
68
68
  dry-validation (~> 1.2)
69
- envlogic (~> 1.0)
69
+ envlogic (~> 1.1)
70
70
  irb (~> 1.0)
71
71
  multi_json (>= 1.12)
72
72
  rake (>= 11.3)
73
73
  ruby-kafka (>= 0.7.8)
74
74
  thor (~> 0.20)
75
- waterdrop (~> 1.3.0.rc1)
75
+ waterdrop (~> 1.3.0)
76
76
  zeitwerk (~> 2.1)
77
77
  king_konf (0.3.7)
78
78
  multi_json (1.13.1)
79
79
  rake (12.3.3)
80
- ruby-kafka (0.7.9)
80
+ ruby-kafka (0.7.10)
81
81
  digest-crc
82
82
  thor (0.20.3)
83
- waterdrop (1.3.0.rc1)
83
+ waterdrop (1.3.0)
84
84
  delivery_boy (~> 0.2)
85
85
  dry-configurable (~> 0.8)
86
86
  dry-monitor (~> 0.3)
87
87
  dry-validation (~> 1.2)
88
88
  ruby-kafka (>= 0.7.8)
89
89
  zeitwerk (~> 2.1)
90
- zeitwerk (2.1.9)
90
+ zeitwerk (2.1.10)
91
91
 
92
92
  PLATFORMS
93
93
  ruby
94
94
 
95
95
  DEPENDENCIES
96
- karafka (= 1.3.0.rc1)
97
96
  karafka-testing!
98
97
 
99
98
  BUNDLED WITH
@@ -24,5 +24,5 @@ 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', '~> 1.3.0.rc1'
27
+ spec.add_dependency 'karafka', '~> 1.3.0'
28
28
  end
@@ -36,7 +36,8 @@ module Karafka
36
36
  def karafka_consumer_for(requested_topic)
37
37
  selected_topic = nil
38
38
 
39
- App.consumer_groups.each do |consumer_group|
39
+ # @note Remove in 2.0. This won't work without the global state
40
+ ::Karafka::App.consumer_groups.each do |consumer_group|
40
41
  consumer_group.topics.each do |topic|
41
42
  selected_topic = topic if topic.name == requested_topic.to_s
42
43
  end
@@ -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 = '1.3.0.rc1'
7
+ VERSION = '1.3.0'
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: 1.3.0.rc1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -34,7 +34,7 @@ cert_chain:
34
34
  KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
35
35
  nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2019-07-31 00:00:00.000000000 Z
37
+ date: 2019-09-09 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: karafka
@@ -42,14 +42,14 @@ dependencies:
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: 1.3.0.rc1
45
+ version: 1.3.0
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
- version: 1.3.0.rc1
52
+ version: 1.3.0
53
53
  description: Library which provides helpers for easier Karafka consumers tests
54
54
  email:
55
55
  - maciej@mensfeld.pl
@@ -91,9 +91,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 1.3.1
96
+ version: '0'
97
97
  requirements: []
98
98
  rubygems_version: 3.0.3
99
99
  signing_key:
metadata.gz.sig CHANGED
Binary file