waterdrop 2.0.0.rc1 → 2.0.0

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: 21d904dd62018fd51b84d19d583c8b9d23e499f7ec348ea77f5652dfd80923ed
4
- data.tar.gz: 57223b65ddefe69c322b9267b1caec34337f49eece49f5ceeac09030adbf8eee
3
+ metadata.gz: 616222bb9061a061dbe807b3c490c04fc368b0f457dc70e27b27c5cc049b1271
4
+ data.tar.gz: f6330179e3db7aea799360ca51a09fa56d9d7bbc757925bf482a901c90e4e76d
5
5
  SHA512:
6
- metadata.gz: b26746357346b68312916f21581830d8b18af6b4233b80f73339ccc55f02e99a7a40d8f7558a64c4fb3325ba2c306a56e8870a5473d5f2e25ed5be08acb5d657
7
- data.tar.gz: 725b540999dd4e9c05bc33280de6b732f9c601514d2b344160c3932b506b250d8e2082db77ad8f980c2b4d6512e48e70aba9439afb97f60a7db5c8375fcd3ac8
6
+ metadata.gz: e09358bf7a02acca118f62f869f3f53bf417356e9f28f32187c578af5debfd6d602463b13082cfc79a3a12042e2e2efcedb000fd45009802bc186249dee4a6bb
7
+ data.tar.gz: 81fe2d98e27704662201408c47746f8a800a955143f260afcbc2e4f3c3d44f34b5b27fbfdedb7bfe642e1fd3df966265f2e69585cc59cc3c4941005e17238079
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1 +1 @@
1
- 2.7.1
1
+ 2.7.2
@@ -1,6 +1,6 @@
1
1
  # WaterDrop changelog
2
2
 
3
- ## 2.0.0-rc1 (unreleased)
3
+ ## 2.0.0 (2020-12-13)
4
4
  - Redesign of the whole API (see `README.md` for the use-cases and the current API)
5
5
  - Replace `ruby-kafka` with `rdkafka`
6
6
  - Switch license from `MIT` to `LGPL-3.0`
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (2.0.0.rc1)
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.3.2)
15
+ activesupport (6.1.0)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- zeitwerk (~> 2.2, >= 2.2.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.4.9)
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.3)
41
- dry-logic (1.0.7)
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.4)
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.5.5)
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.0)
80
+ rdkafka (0.8.1)
81
81
  ffi (~> 1.9)
82
82
  mini_portile2 (~> 2.1)
83
83
  rake (>= 12.3)
84
- rspec (3.9.0)
85
- rspec-core (~> 3.9.0)
86
- rspec-expectations (~> 3.9.0)
87
- rspec-mocks (~> 3.9.0)
88
- rspec-core (3.9.2)
89
- rspec-support (~> 3.9.3)
90
- rspec-expectations (3.9.2)
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.9.0)
93
- rspec-mocks (3.9.1)
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.9.0)
96
- rspec-support (3.9.3)
97
- simplecov (0.19.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
- simplecov-html (0.12.2)
101
- thread_safe (0.3.6)
102
- tzinfo (1.2.7)
103
- thread_safe (~> 0.1)
104
- zeitwerk (2.4.0)
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.1.4
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([^\:\/,]+:[0-9]+)(,[^\:\/,]+:[0-9]+)*\z}.freeze
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|\-|\.)+\z/.freeze
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
@@ -36,6 +36,7 @@ module WaterDrop
36
36
  # @param dispatched_messages [Array<Rdkafka::Producer::DeliveryHandle>] handlers of the
37
37
  # messages that we've dispatched
38
38
  def initialize(dispatched_messages)
39
+ super()
39
40
  @dispatched_messages = dispatched_messages
40
41
  end
41
42
  end
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '2.0.0.rc1'
6
+ VERSION = '2.0.0'
7
7
  end
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.rc1
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-09-05 00:00:00.000000000 Z
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: 1.3.1
184
+ version: '0'
185
185
  requirements: []
186
186
  rubygems_version: 3.1.4
187
187
  signing_key:
metadata.gz.sig CHANGED
Binary file