waterdrop 2.3.0 → 2.3.1

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: f665d9dff358be819f65b6adb794175af3d0858062daaad60aef05cdd99f8023
4
- data.tar.gz: 72598f0afd73a612c162e3e820d0ab705fbe79563f5637656842b8a3f07e357f
3
+ metadata.gz: b73f2d492f65c1f7d410579f7bba30298eb4e3c2d7379b789e2cb10bda820eae
4
+ data.tar.gz: 3ba7625727180dbeda0e0c29a6b36d83bae5d8b24103dd59995a7d96ca804062
5
5
  SHA512:
6
- metadata.gz: 7f43f5cff311886bf7e2ff26b3fac2c9280aa6a9916115ff93ee9b07e1dadf8ab8017d6cfce063db34bd00403cc452942d432f41e538ae0f0c23fb95997b2003
7
- data.tar.gz: 89cba9dfeed151f61f6cc113f6b08ccd0ac365161897a3f938b31002a1933ebc40e3103307742281b7b389bcef0e550b98ada6207ac001e8115b03c0b9efaf90
6
+ metadata.gz: b073fdee0c430f1036d4c3219ba236f02ec33fe5350130d4fd448338f34f8ae3c63b424b093c78665c2f78ec9bfbc1b213a70dc536bd29110dae8530c208ceed
7
+ data.tar.gz: 01ca4ea0a71137bbe3051e896319b9cdb81d6d6144945c0c85c95ce4644e66b3cbac5ad2187a1eb3073bc0a76783534872e713644b1fe90139a8b3bf6f01055f
checksums.yaml.gz.sig CHANGED
Binary file
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.1.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 2.3.1 (2022-06-17)
4
+ - Update rdkafka patches to align with `0.12.0` and `0.11.1` support.
5
+
3
6
  ## 2.3.0 (2022-04-03)
4
7
  - Rename StdoutListener to LoggerListener (#240)
5
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (2.3.0)
4
+ waterdrop (2.3.1)
5
5
  concurrent-ruby (>= 1.1)
6
6
  dry-configurable (~> 0.13)
7
7
  dry-monitor (~> 0.5)
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.2.3)
15
+ activesupport (7.0.3)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -21,7 +21,7 @@ GEM
21
21
  concurrent-ruby (1.1.10)
22
22
  diff-lcs (1.5.0)
23
23
  docile (1.4.0)
24
- dry-configurable (0.14.0)
24
+ dry-configurable (0.15.0)
25
25
  concurrent-ruby (~> 1.0)
26
26
  dry-core (~> 0.6)
27
27
  dry-container (0.9.0)
@@ -41,7 +41,7 @@ GEM
41
41
  dry-configurable (~> 0.13, >= 0.13.0)
42
42
  dry-core (~> 0.5, >= 0.5)
43
43
  dry-events (~> 0.2)
44
- dry-schema (1.9.1)
44
+ dry-schema (1.9.2)
45
45
  concurrent-ruby (~> 1.0)
46
46
  dry-configurable (~> 0.13, >= 0.13.0)
47
47
  dry-core (~> 0.5, >= 0.5)
@@ -54,21 +54,21 @@ GEM
54
54
  dry-core (~> 0.5, >= 0.5)
55
55
  dry-inflector (~> 0.1, >= 0.1.2)
56
56
  dry-logic (~> 1.0, >= 1.0.2)
57
- dry-validation (1.8.0)
57
+ dry-validation (1.8.1)
58
58
  concurrent-ruby (~> 1.0)
59
59
  dry-container (~> 0.7, >= 0.7.1)
60
60
  dry-core (~> 0.5, >= 0.5)
61
61
  dry-initializer (~> 3.0)
62
- dry-schema (~> 1.9, >= 1.9.1)
62
+ dry-schema (~> 1.8, >= 1.8.0)
63
63
  factory_bot (6.2.1)
64
64
  activesupport (>= 5.0.0)
65
65
  ffi (1.15.5)
66
66
  i18n (1.10.0)
67
67
  concurrent-ruby (~> 1.0)
68
68
  mini_portile2 (2.8.0)
69
- minitest (5.15.0)
69
+ minitest (5.16.0)
70
70
  rake (13.0.6)
71
- rdkafka (0.11.1)
71
+ rdkafka (0.12.0)
72
72
  ffi (~> 1.15)
73
73
  mini_portile2 (~> 2.6)
74
74
  rake (> 12)
@@ -93,7 +93,7 @@ GEM
93
93
  simplecov_json_formatter (0.1.4)
94
94
  tzinfo (2.0.4)
95
95
  concurrent-ruby (~> 1.0)
96
- zeitwerk (2.5.4)
96
+ zeitwerk (2.6.0)
97
97
 
98
98
  PLATFORMS
99
99
  arm64-darwin-21
@@ -107,4 +107,4 @@ DEPENDENCIES
107
107
  waterdrop!
108
108
 
109
109
  BUNDLED WITH
110
- 2.3.10
110
+ 2.3.15
@@ -10,7 +10,15 @@ module WaterDrop
10
10
  # Adds a method that allows us to get the native kafka producer name
11
11
  # @return [String] producer instance name
12
12
  def name
13
- ::Rdkafka::Bindings.rd_kafka_name(@native_kafka)
13
+ unless @_native
14
+ version = ::Gem::Version.new(::Rdkafka::VERSION)
15
+ change = ::Gem::Version.new('0.12.0')
16
+ # 0.12.0 changed how the native producer client reference works.
17
+ # This code supports both older and newer versions of rdkafka
18
+ @_native = version >= change ? @client.native : @native_kafka
19
+ end
20
+
21
+ ::Rdkafka::Bindings.rd_kafka_name(@_native)
14
22
  end
15
23
  end
16
24
  end
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '2.3.0'
6
+ VERSION = '2.3.1'
7
7
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waterdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.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-04-03 00:00:00.000000000 Z
37
+ date: 2022-06-17 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: concurrent-ruby
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  requirements: []
195
- rubygems_version: 3.3.4
195
+ rubygems_version: 3.2.20
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Kafka messaging made easy!
metadata.gz.sig CHANGED
Binary file