waterdrop 2.0.0.rc1 → 2.0.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +1 -1
- data/Gemfile.lock +33 -31
- data/lib/water_drop/contracts/config.rb +1 -1
- data/lib/water_drop/contracts/message.rb +1 -1
- data/lib/water_drop/errors.rb +1 -0
- data/lib/water_drop/version.rb +1 -1
- metadata +4 -4
- 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: 616222bb9061a061dbe807b3c490c04fc368b0f457dc70e27b27c5cc049b1271
|
4
|
+
data.tar.gz: f6330179e3db7aea799360ca51a09fa56d9d7bbc757925bf482a901c90e4e76d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09358bf7a02acca118f62f869f3f53bf417356e9f28f32187c578af5debfd6d602463b13082cfc79a3a12042e2e2efcedb000fd45009802bc186249dee4a6bb
|
7
|
+
data.tar.gz: 81fe2d98e27704662201408c47746f8a800a955143f260afcbc2e4f3c3d44f34b5b27fbfdedb7bfe642e1fd3df966265f2e69585cc59cc3c4941005e17238079
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.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.0.0
|
4
|
+
waterdrop (2.0.0)
|
5
5
|
concurrent-ruby (>= 1.1)
|
6
6
|
dry-configurable (~> 0.8)
|
7
7
|
dry-monitor (~> 0.3)
|
@@ -12,12 +12,12 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (6.0
|
15
|
+
activesupport (6.1.0)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
-
i18n (>=
|
18
|
-
minitest (
|
19
|
-
tzinfo (~>
|
20
|
-
zeitwerk (~> 2.
|
17
|
+
i18n (>= 1.6, < 2)
|
18
|
+
minitest (>= 5.1)
|
19
|
+
tzinfo (~> 2.0)
|
20
|
+
zeitwerk (~> 2.3)
|
21
21
|
byebug (11.1.3)
|
22
22
|
concurrent-ruby (1.1.7)
|
23
23
|
diff-lcs (1.4.4)
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
dry-container (0.7.2)
|
30
30
|
concurrent-ruby (~> 1.0)
|
31
31
|
dry-configurable (~> 0.1, >= 0.1.3)
|
32
|
-
dry-core (0.
|
32
|
+
dry-core (0.5.0)
|
33
33
|
concurrent-ruby (~> 1.0)
|
34
34
|
dry-equalizer (0.3.0)
|
35
35
|
dry-events (0.2.0)
|
@@ -37,8 +37,8 @@ GEM
|
|
37
37
|
dry-core (~> 0.4)
|
38
38
|
dry-equalizer (~> 0.2)
|
39
39
|
dry-inflector (0.2.0)
|
40
|
-
dry-initializer (3.0.
|
41
|
-
dry-logic (1.0.
|
40
|
+
dry-initializer (3.0.4)
|
41
|
+
dry-logic (1.0.8)
|
42
42
|
concurrent-ruby (~> 1.0)
|
43
43
|
dry-core (~> 0.2)
|
44
44
|
dry-equalizer (~> 0.2)
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
dry-core (~> 0.4)
|
48
48
|
dry-equalizer (~> 0.2)
|
49
49
|
dry-events (~> 0.2)
|
50
|
-
dry-schema (1.5.
|
50
|
+
dry-schema (1.5.6)
|
51
51
|
concurrent-ruby (~> 1.0)
|
52
52
|
dry-configurable (~> 0.8, >= 0.8.3)
|
53
53
|
dry-core (~> 0.4)
|
@@ -62,13 +62,13 @@ GEM
|
|
62
62
|
dry-equalizer (~> 0.3)
|
63
63
|
dry-inflector (~> 0.1, >= 0.1.2)
|
64
64
|
dry-logic (~> 1.0, >= 1.0.2)
|
65
|
-
dry-validation (1.
|
65
|
+
dry-validation (1.6.0)
|
66
66
|
concurrent-ruby (~> 1.0)
|
67
67
|
dry-container (~> 0.7, >= 0.7.1)
|
68
68
|
dry-core (~> 0.4)
|
69
69
|
dry-equalizer (~> 0.2)
|
70
70
|
dry-initializer (~> 3.0)
|
71
|
-
dry-schema (~> 1.5)
|
71
|
+
dry-schema (~> 1.5, >= 1.5.2)
|
72
72
|
factory_bot (6.1.0)
|
73
73
|
activesupport (>= 5.0.0)
|
74
74
|
ffi (1.13.1)
|
@@ -77,34 +77,36 @@ GEM
|
|
77
77
|
mini_portile2 (2.5.0)
|
78
78
|
minitest (5.14.2)
|
79
79
|
rake (13.0.1)
|
80
|
-
rdkafka (0.8.
|
80
|
+
rdkafka (0.8.1)
|
81
81
|
ffi (~> 1.9)
|
82
82
|
mini_portile2 (~> 2.1)
|
83
83
|
rake (>= 12.3)
|
84
|
-
rspec (3.
|
85
|
-
rspec-core (~> 3.
|
86
|
-
rspec-expectations (~> 3.
|
87
|
-
rspec-mocks (~> 3.
|
88
|
-
rspec-core (3.
|
89
|
-
rspec-support (~> 3.
|
90
|
-
rspec-expectations (3.
|
84
|
+
rspec (3.10.0)
|
85
|
+
rspec-core (~> 3.10.0)
|
86
|
+
rspec-expectations (~> 3.10.0)
|
87
|
+
rspec-mocks (~> 3.10.0)
|
88
|
+
rspec-core (3.10.0)
|
89
|
+
rspec-support (~> 3.10.0)
|
90
|
+
rspec-expectations (3.10.0)
|
91
91
|
diff-lcs (>= 1.2.0, < 2.0)
|
92
|
-
rspec-support (~> 3.
|
93
|
-
rspec-mocks (3.
|
92
|
+
rspec-support (~> 3.10.0)
|
93
|
+
rspec-mocks (3.10.0)
|
94
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
-
rspec-support (~> 3.
|
96
|
-
rspec-support (3.
|
97
|
-
simplecov (0.
|
95
|
+
rspec-support (~> 3.10.0)
|
96
|
+
rspec-support (3.10.0)
|
97
|
+
simplecov (0.20.0)
|
98
98
|
docile (~> 1.1)
|
99
99
|
simplecov-html (~> 0.11)
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
100
|
+
simplecov_json_formatter (~> 0.1)
|
101
|
+
simplecov-html (0.12.3)
|
102
|
+
simplecov_json_formatter (0.1.2)
|
103
|
+
tzinfo (2.0.3)
|
104
|
+
concurrent-ruby (~> 1.0)
|
105
|
+
zeitwerk (2.4.2)
|
105
106
|
|
106
107
|
PLATFORMS
|
107
108
|
ruby
|
109
|
+
x86_64-linux
|
108
110
|
|
109
111
|
DEPENDENCIES
|
110
112
|
byebug
|
@@ -115,4 +117,4 @@ DEPENDENCIES
|
|
115
117
|
waterdrop!
|
116
118
|
|
117
119
|
BUNDLED WITH
|
118
|
-
2.
|
120
|
+
2.2.0
|
@@ -5,7 +5,7 @@ module WaterDrop
|
|
5
5
|
# Contract with validation rules for WaterDrop configuration details
|
6
6
|
class Config < Dry::Validation::Contract
|
7
7
|
# Ensure valid format of each seed broker so that rdkafka doesn't fail silently
|
8
|
-
SEED_BROKER_FORMAT_REGEXP = %r{\A([
|
8
|
+
SEED_BROKER_FORMAT_REGEXP = %r{\A([^:/,]+:[0-9]+)(,[^:/,]+:[0-9]+)*\z}.freeze
|
9
9
|
|
10
10
|
private_constant :SEED_BROKER_FORMAT_REGEXP
|
11
11
|
|
@@ -6,7 +6,7 @@ module WaterDrop
|
|
6
6
|
# we provide to producer ale valid and usable
|
7
7
|
class Message < Dry::Validation::Contract
|
8
8
|
# Regex to check that topic has a valid format
|
9
|
-
TOPIC_REGEXP = /\A(\w
|
9
|
+
TOPIC_REGEXP = /\A(\w|-|\.)+\z/.freeze
|
10
10
|
|
11
11
|
# Checks, that the given value is a string
|
12
12
|
STRING_ASSERTION = ->(value) { value.is_a?(String) }.to_proc
|
data/lib/water_drop/errors.rb
CHANGED
data/lib/water_drop/version.rb
CHANGED
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.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
2DND//YJUikn1zwbz1kT70XmHd97B4Eytpln7K+M1u2g1pHVEPW4owD/ammXNpUy
|
35
35
|
nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2020-
|
37
|
+
date: 2020-12-13 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: concurrent-ruby
|
@@ -179,9 +179,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: 2.5.0
|
180
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
|
-
- - "
|
182
|
+
- - ">="
|
183
183
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
184
|
+
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubygems_version: 3.1.4
|
187
187
|
signing_key:
|
metadata.gz.sig
CHANGED
Binary file
|