karafka-core 2.0.5 → 2.0.6

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: 9e11bdb1c5a745e22d10b63dff4b2fb0a7a30dd1812aa8f7d3ad555d061dd451
4
- data.tar.gz: 27d163cb019a0b57109bb4e6d53f3adce889a1d315f708f4100ffcee4d4885f8
3
+ metadata.gz: 4405dd3063f0901a0e362e4af4d518a36d9222e0b0bc653e6214789649d1aedc
4
+ data.tar.gz: 3989835a62bb524675548bd8d04b8b8b3f9fad027879b4a063f09c3776cc66a2
5
5
  SHA512:
6
- metadata.gz: d838c690a75dd37b1a15b666df8eafbe38c5f8cd95a38db9d7350a0753220b1c168d9ab153284b2dc5947d920ea26b0056871879cb2ca8bc8fba65f09920304b
7
- data.tar.gz: ec6a1bd9ba1734975d8bafb0d57009e87101de8821caf96d30aa14e358169c0042f9744e7b1db951da959d7bcae19e4a202ad6c2f997bf5e40d6a7cceb1f75c1
6
+ metadata.gz: f016129dc7b5dd6cd7bbf545025731674fd9252756b65db02f0ad01da5c88555b0f2b382e8687b767936e71c9b0f15f8de197ab2d22e551342aac5d61958cb15
7
+ data.tar.gz: d806ccc59909f9650deea4284b9262bf4644749aa5e0a206ecd835d7b4b1e97fdd3292a84ddbb0292a23a3fd8106c20b42b52eff8021a9488253d409b911be44
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Karafka core changelog
2
2
 
3
+ ## 2.0.6 (2022-12-07)
4
+ - Reverse node compilation state tracking removal.
5
+
3
6
  ## 2.0.5 (2022-12-07)
4
7
  - Move `librdkafka` generic (producer and consumer) patches from WaterDrop here.
5
8
  - Move dependency on `librdkafka` here from both Karafka and WaterDrop to unify management.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-core (2.0.5)
4
+ karafka-core (2.0.6)
5
5
  concurrent-ruby (>= 1.1)
6
6
  rdkafka (>= 0.12)
7
7
 
@@ -21,6 +21,7 @@ module Karafka
21
21
  @name = name
22
22
  @children = []
23
23
  @nestings = nestings
24
+ @compiled = false
24
25
  instance_eval(&nestings)
25
26
  end
26
27
 
@@ -43,7 +44,7 @@ module Karafka
43
44
  # Compile settings, allow for overrides via yielding
44
45
  # @return [Node] returns self after configuration
45
46
  def configure
46
- compile
47
+ compile unless @compiled
47
48
  yield(self) if block_given?
48
49
  self
49
50
  end
@@ -97,6 +98,8 @@ module Karafka
97
98
 
98
99
  public_send("#{value.name}=", initialized)
99
100
  end
101
+
102
+ @compiled = true
100
103
  end
101
104
  end
102
105
  end
@@ -4,6 +4,6 @@ module Karafka
4
4
  module Core
5
5
  # Current Karafka::Core version
6
6
  # We follow the versioning schema of given Karafka version
7
- VERSION = '2.0.5'
7
+ VERSION = '2.0.6'
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-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
metadata.gz.sig CHANGED
Binary file