karafka 1.2.10 → 1.2.11

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: faa85e7cb9393fe808fe8b50ca7f4ae111d3cf7d8f320e5cb339977dccad230d
4
- data.tar.gz: 8f880cfeb7236013274e6c93a487ab308f077f75dd8a987a19bc8826f64d5b9d
3
+ metadata.gz: 5c2e53b615dda9e231595e49d3ec0be42c18fa37c0143a1387e5e86b7e2250c6
4
+ data.tar.gz: 27221b33684a4418b111eea86e088367de20a6d2e27157e7358685c3b4fc88eb
5
5
  SHA512:
6
- metadata.gz: e641fdde14eca1702144864e63c1e563418c3a2d7fc93360078c951f2e55dfffc2274eee8d952195ffe34c2cb1b4a2a66c9f50f5637e7de6f169ca8bf1662a31
7
- data.tar.gz: 06120b7847d2daf4034f25378603383533de76802adbfdafee86fd3063b2be2e5f94c4ca48762f70c8a460e95153d708ab9eb5f66c930556a19f4a4b95806006
6
+ metadata.gz: 2c3279ad72202031be303b64e8505c578fac252364f0bd78351251d4468e465ffad0427fc3218adc00d36cfb4dce5b5d6df33a8db60f1bf05f33f64c9fbeba75
7
+ data.tar.gz: 9009bf7b22eaac06faa714f1a349f05807a82f5fc2dbd75ddc73681027bd1ce6bf71e244b42a51349afa024c516ac3388bf2e81370cf12f5f12cccbbc9000418
@@ -1 +1 @@
1
- 2.6.0
1
+ 2.6.1
@@ -19,7 +19,7 @@ test: &test
19
19
  jobs:
20
20
  include:
21
21
  - <<: *test
22
- rvm: 2.6.0
22
+ rvm: 2.6.1
23
23
  - <<: *test
24
24
  rvm: 2.5.3
25
25
  - <<: *test
@@ -29,7 +29,7 @@ jobs:
29
29
 
30
30
  - stage: coditsu
31
31
  language: ruby
32
- rvm: 2.6.0
32
+ rvm: 2.6.1
33
33
  before_install:
34
34
  - gem update --system
35
35
  - gem install bundler
@@ -1,5 +1,8 @@
1
1
  # Karafka framework changelog
2
2
 
3
+ ## 1.2.11
4
+ - [#470](https://github.com/karafka/karafka/issues/470) Karafka not working with dry-configurable 0.8
5
+
3
6
  ## 1.2.10
4
7
  - [#453](https://github.com/karafka/karafka/pull/453) require `Forwardable` module
5
8
 
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka (1.2.10)
4
+ karafka (1.2.11)
5
5
  activesupport (>= 4.0)
6
- dry-configurable (~> 0.7)
6
+ dry-configurable (~> 0.8)
7
7
  dry-inflector (~> 0.1)
8
- dry-monitor (~> 0.1)
8
+ dry-monitor (~> 0.3)
9
9
  dry-validation (~> 0.11)
10
10
  envlogic (~> 1.0)
11
11
  multi_json (>= 1.12)
12
12
  rake (>= 11.3)
13
13
  require_all (>= 1.4)
14
14
  ruby-kafka (>= 0.6)
15
- thor (~> 0.19)
15
+ thor (~> 0.20)
16
16
  waterdrop (~> 1.2.4)
17
17
 
18
18
  GEM
@@ -31,9 +31,10 @@ GEM
31
31
  diff-lcs (1.3)
32
32
  digest-crc (0.4.1)
33
33
  docile (1.3.1)
34
- dry-configurable (0.7.0)
34
+ dry-configurable (0.8.0)
35
35
  concurrent-ruby (~> 1.0)
36
- dry-container (0.6.0)
36
+ dry-core (~> 0.4, >= 0.4.7)
37
+ dry-container (0.7.0)
37
38
  concurrent-ruby (~> 1.0)
38
39
  dry-configurable (~> 0.1, >= 0.1.3)
39
40
  dry-core (0.4.7)
@@ -44,32 +45,32 @@ GEM
44
45
  dry-core (~> 0.4)
45
46
  dry-equalizer (~> 0.2)
46
47
  dry-inflector (0.1.2)
47
- dry-logic (0.4.2)
48
+ dry-logic (0.5.0)
48
49
  dry-container (~> 0.2, >= 0.2.6)
49
50
  dry-core (~> 0.2)
50
51
  dry-equalizer (~> 0.2)
51
- dry-monitor (0.1.2)
52
+ dry-monitor (0.3.0)
52
53
  dry-configurable (~> 0.5)
54
+ dry-core (~> 0.4)
53
55
  dry-equalizer (~> 0.2)
54
56
  dry-events (~> 0.1)
55
- rouge (~> 2.0, >= 2.2.1)
56
- dry-types (0.13.4)
57
+ dry-types (0.14.0)
57
58
  concurrent-ruby (~> 1.0)
58
59
  dry-container (~> 0.3)
59
60
  dry-core (~> 0.4, >= 0.4.4)
60
61
  dry-equalizer (~> 0.2)
61
62
  dry-inflector (~> 0.1, >= 0.1.2)
62
- dry-logic (~> 0.4, >= 0.4.2)
63
- dry-validation (0.12.2)
63
+ dry-logic (~> 0.5, >= 0.5)
64
+ dry-validation (0.13.0)
64
65
  concurrent-ruby (~> 1.0)
65
66
  dry-configurable (~> 0.1, >= 0.1.3)
66
67
  dry-core (~> 0.2, >= 0.2.1)
67
68
  dry-equalizer (~> 0.2)
68
- dry-logic (~> 0.4, >= 0.4.0)
69
- dry-types (~> 0.13.1)
69
+ dry-logic (~> 0.5, >= 0.5.0)
70
+ dry-types (~> 0.14, >= 0.14)
70
71
  envlogic (1.1.0)
71
72
  dry-inflector (~> 0.1)
72
- i18n (1.5.2)
73
+ i18n (1.5.3)
73
74
  concurrent-ruby (~> 1.0)
74
75
  json (2.1.0)
75
76
  king_konf (0.3.7)
@@ -78,7 +79,6 @@ GEM
78
79
  null-logger (0.1.5)
79
80
  rake (12.3.2)
80
81
  require_all (2.0.0)
81
- rouge (2.2.1)
82
82
  rspec (3.8.0)
83
83
  rspec-core (~> 3.8.0)
84
84
  rspec-expectations (~> 3.8.0)
@@ -104,10 +104,10 @@ GEM
104
104
  timecop (0.9.1)
105
105
  tzinfo (1.2.5)
106
106
  thread_safe (~> 0.1)
107
- waterdrop (1.2.4)
107
+ waterdrop (1.2.5)
108
108
  delivery_boy (~> 0.2)
109
- dry-configurable (~> 0.7)
110
- dry-monitor (~> 0.1)
109
+ dry-configurable (~> 0.8)
110
+ dry-monitor (~> 0.3)
111
111
  dry-validation (~> 0.11)
112
112
  null-logger (~> 0.1)
113
113
  ruby-kafka (>= 0.6)
@@ -17,16 +17,16 @@ Gem::Specification.new do |spec|
17
17
  spec.license = 'MIT'
18
18
 
19
19
  spec.add_dependency 'activesupport', '>= 4.0'
20
- spec.add_dependency 'dry-configurable', '~> 0.7'
20
+ spec.add_dependency 'dry-configurable', '~> 0.8'
21
21
  spec.add_dependency 'dry-inflector', '~> 0.1'
22
- spec.add_dependency 'dry-monitor', '~> 0.1'
22
+ spec.add_dependency 'dry-monitor', '~> 0.3'
23
23
  spec.add_dependency 'dry-validation', '~> 0.11'
24
24
  spec.add_dependency 'envlogic', '~> 1.0'
25
25
  spec.add_dependency 'multi_json', '>= 1.12'
26
26
  spec.add_dependency 'rake', '>= 11.3'
27
27
  spec.add_dependency 'require_all', '>= 1.4'
28
28
  spec.add_dependency 'ruby-kafka', '>= 0.6'
29
- spec.add_dependency 'thor', '~> 0.19'
29
+ spec.add_dependency 'thor', '~> 0.20'
30
30
  spec.add_dependency 'waterdrop', '~> 1.2.4'
31
31
 
32
32
  spec.post_install_message = <<~MSG
@@ -56,9 +56,11 @@ module Karafka
56
56
  # This is a drity and bad hack of dry-configurable to get keys before setting values
57
57
  dynamically_proxied = Karafka::Setup::Config
58
58
  ._settings
59
+ .settings
59
60
  .find { |s| s.name == :kafka }
60
61
  .value
61
- .instance_variable_get('@klass').settings
62
+ .names
63
+ .to_a
62
64
 
63
65
  (defined_settings + dynamically_proxied).uniq + karafka_settings - ignored_settings
64
66
  end
@@ -10,10 +10,8 @@ module Karafka
10
10
  # Unfortunately it does not provide an on call proc evaluation, so
11
11
  # this feature had to be added here on demand/
12
12
  # @param args Any arguments that DryConfigurable::Config accepts
13
- def initialize(*args)
14
- super
15
-
16
- @config.each_key(&method(:rebuild))
13
+ def define!(*args)
14
+ super.tap { @config.each_key(&method(:rebuild)) }
17
15
  end
18
16
 
19
17
  private
@@ -3,5 +3,5 @@
3
3
  # Main module namespace
4
4
  module Karafka
5
5
  # Current Karafka version
6
- VERSION = '1.2.10'
6
+ VERSION = '1.2.11'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.10
4
+ version: 1.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-01-21 00:00:00.000000000 Z
13
+ date: 2019-02-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '0.7'
35
+ version: '0.8'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '0.7'
42
+ version: '0.8'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: dry-inflector
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -60,14 +60,14 @@ dependencies:
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '0.1'
63
+ version: '0.3'
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '0.1'
70
+ version: '0.3'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: dry-validation
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -158,14 +158,14 @@ dependencies:
158
158
  requirements:
159
159
  - - "~>"
160
160
  - !ruby/object:Gem::Version
161
- version: '0.19'
161
+ version: '0.20'
162
162
  type: :runtime
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - "~>"
167
167
  - !ruby/object:Gem::Version
168
- version: '0.19'
168
+ version: '0.20'
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: waterdrop
171
171
  requirement: !ruby/object:Gem::Requirement