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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +10 -10
- data/lib/waterdrop/patches/rdkafka/producer.rb +9 -1
- data/lib/waterdrop/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b73f2d492f65c1f7d410579f7bba30298eb4e3c2d7379b789e2cb10bda820eae
|
4
|
+
data.tar.gz: 3ba7625727180dbeda0e0c29a6b36d83bae5d8b24103dd59995a7d96ca804062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
3.1.2
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
waterdrop (2.3.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
69
|
+
minitest (5.16.0)
|
70
70
|
rake (13.0.6)
|
71
|
-
rdkafka (0.
|
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.
|
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.
|
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
|
-
|
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
|
data/lib/waterdrop/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|