karafka-core 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82bb5d4340cf638f60cb93f47188e0eb09c25a47a8c4a0d3cfbe556b2d861703
4
- data.tar.gz: f2fec7fa22658d92539e3cfae8c73f4a00a903160e7b5ca73b5f5236873f2195
3
+ metadata.gz: 6bd6d59f81183ea27ea19b3292f17e94928bf8159527521d542e0ca997e3cfef
4
+ data.tar.gz: d71e9371eb87e46f3a41468807b0ec66cc817752701ab2ccd9b2b3ffb41d84a3
5
5
  SHA512:
6
- metadata.gz: 480bc8f93ca8efd92cad4c9bc77c28ef5e43947f9603b1b56060bd8ff769a1b7f0c83729d2ad8f22b2a37e57aa913b996ea919458f4c60491c9266d772eba5ea
7
- data.tar.gz: 8c578ff0a9d8a0e7e81601ae5a1e6b318b79dc12b9aeba65046bebf384e16fdd9adfac03aec60adbd3d4f03a4ab396fd3aeeea4219c1b29bb91741c72cb26df8
6
+ metadata.gz: 871ccf53e4f17d93ad16ed22484b880ca03a73b96202aa1bf4be1c3cf69b684b0ae63838ff939d4e3503a36a6c62a36dee6ca3757e9255bba272bc74a44777eb
7
+ data.tar.gz: 36ae734a39ba0f146926ccbeb84755130dee1966fe1398a94fafbf06da58da051ca546538132db218f03a82ee2a56e53698da89786356b34b71bc06775e93aa4
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Karafka core changelog
2
2
 
3
- ## 2.0.0.beta1
3
+ ## 2.0.1
4
+ - Fix a case where setting would match a method monkey-patched on an object (#1) causing initializers not to build proper accessors on nodes. This is not the core bug, but still worth handling this case.
5
+
6
+ ## 2.0.0
4
7
  - Initial extraction of common components used in the Karafka ecosystem from WaterDrop.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-core (2.0.0)
4
+ karafka-core (2.0.1)
5
5
  concurrent-ruby (>= 1.1)
6
6
 
7
7
  GEM
@@ -82,10 +82,12 @@ module Karafka
82
82
  @children.each do |value|
83
83
  # Do not redefine something that was already set during compilation
84
84
  # This will allow us to reconfigure things and skip override with defaults
85
- next if respond_to?(value.name)
85
+ skippable = respond_to?(value.name)
86
86
 
87
87
  singleton_class.attr_accessor value.name
88
88
 
89
+ next if skippable
90
+
89
91
  initialized = if value.is_a?(Leaf)
90
92
  value.constructor ? value.constructor.call(value.default) : value.default
91
93
  else
@@ -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.0'
7
+ VERSION = '2.0.1'
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.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -34,7 +34,7 @@ cert_chain:
34
34
  R2P11bWoCtr70BsccVrN8jEhzwXngMyI2gVt750Y+dbTu1KgRqZKp/ECe7ZzPzXj
35
35
  pIy9vHxTANKYVyI4qj8OrFdEM5BQNu8oQpL0iQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2022-07-28 00:00:00.000000000 Z
37
+ date: 2022-07-30 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: concurrent-ruby
metadata.gz.sig CHANGED
Binary file