waterdrop 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +8 -8
- data/README.md +2 -2
- data/lib/water_drop.rb +1 -1
- data/lib/water_drop/schemas/config.rb +1 -1
- data/lib/water_drop/version.rb +1 -1
- data/waterdrop.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ca8a589d1b25ca64ff4fe5e0b9b501a73aa70fe14901b6d9a5da7e6792cad89
|
4
|
+
data.tar.gz: bd75fb0f84eab0ebdc69412e72bd7132a327c545585e7ff5c04d0e3771be82dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0e6501922e0e3fac96db78e8666b800fb1a8244e136c88b21f8af808803b5aaad81fb24726bb3d84eacba19a933dbde31660c94b3b0d992123cac66d032f824
|
7
|
+
data.tar.gz: f85d2617e9139e84b70b23221f92efa9f04c188da04b0077c945b0da978733aa9f9dbfc87b089c907faadb30b0931cd93bfd099914f9b258a4ab788f0cafcd8e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
waterdrop (1.2.
|
4
|
+
waterdrop (1.2.1)
|
5
5
|
delivery_boy (~> 0.2)
|
6
6
|
dry-configurable (~> 0.7)
|
7
7
|
dry-monitor (~> 0.1)
|
8
8
|
dry-validation (~> 0.11)
|
9
|
-
null-logger
|
9
|
+
null-logger (~> 0.1)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
@@ -16,13 +16,13 @@ GEM
|
|
16
16
|
king_konf (~> 0.1.8)
|
17
17
|
ruby-kafka (~> 0.5.1)
|
18
18
|
diff-lcs (1.3)
|
19
|
-
docile (1.
|
19
|
+
docile (1.3.0)
|
20
20
|
dry-configurable (0.7.0)
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
22
|
dry-container (0.6.0)
|
23
23
|
concurrent-ruby (~> 1.0)
|
24
24
|
dry-configurable (~> 0.1, >= 0.1.3)
|
25
|
-
dry-core (0.4.
|
25
|
+
dry-core (0.4.5)
|
26
26
|
concurrent-ruby (~> 1.0)
|
27
27
|
dry-equalizer (0.2.0)
|
28
28
|
dry-events (0.1.0)
|
@@ -56,7 +56,7 @@ GEM
|
|
56
56
|
inflecto (0.0.2)
|
57
57
|
json (2.1.0)
|
58
58
|
king_konf (0.1.10)
|
59
|
-
null-logger (0.1.
|
59
|
+
null-logger (0.1.5)
|
60
60
|
rouge (2.2.1)
|
61
61
|
rspec (3.7.0)
|
62
62
|
rspec-core (~> 3.7.0)
|
@@ -71,9 +71,9 @@ GEM
|
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
72
|
rspec-support (~> 3.7.0)
|
73
73
|
rspec-support (3.7.1)
|
74
|
-
ruby-kafka (0.5.
|
75
|
-
simplecov (0.
|
76
|
-
docile (~> 1.1
|
74
|
+
ruby-kafka (0.5.4)
|
75
|
+
simplecov (0.16.1)
|
76
|
+
docile (~> 1.1)
|
77
77
|
json (>= 1.8, < 3)
|
78
78
|
simplecov-html (~> 0.10.0)
|
79
79
|
simplecov-html (0.10.2)
|
data/README.md
CHANGED
@@ -100,7 +100,7 @@ Both ```SyncProducer``` and ```AsyncProducer``` accept following options:
|
|
100
100
|
| Option | Required | Value type | Description |
|
101
101
|
|-------------------- |----------|------------|---------------------------------------------------------------------|
|
102
102
|
| ```topic``` | true | String | The Kafka topic that should be written to |
|
103
|
-
| ```key``` | false | String | The key that should be set
|
103
|
+
| ```key``` | false | String | The key that should be set in the Kafka message |
|
104
104
|
| ```partition``` | false | Integer | A specific partition number that should be written to |
|
105
105
|
| ```partition_key``` | false | String | A string that can be used to deterministically select the partition |
|
106
106
|
| ```create_time``` | false | Time | The timestamp that should be set on the message |
|
@@ -117,7 +117,7 @@ Keep in mind, that message you want to send should be either binary or stringifi
|
|
117
117
|
|
118
118
|
First, thank you for considering contributing to WaterDrop! It's people like you that make the open source community such a great community!
|
119
119
|
|
120
|
-
Each pull request must pass all the
|
120
|
+
Each pull request must pass all the RSpec specs and meet our quality requirements.
|
121
121
|
|
122
122
|
To check if everything is as it should be, we use [Coditsu](https://coditsu.io) that combines multiple linters and code analyzers for both code and documentation. Once you're done with your changes, submit a pull request.
|
123
123
|
|
data/lib/water_drop.rb
CHANGED
@@ -40,7 +40,7 @@ module WaterDrop
|
|
40
40
|
required(:connect_timeout).filled { (int? | float?) & gt?(0) }
|
41
41
|
required(:socket_timeout).filled { (int? | float?) & gt?(0) }
|
42
42
|
required(:compression_threshold).filled(:int?, gteq?: 1)
|
43
|
-
optional(:compression_codec).maybe(included_in?: %
|
43
|
+
optional(:compression_codec).maybe(included_in?: %w[snappy gzip lz4])
|
44
44
|
|
45
45
|
required(:max_buffer_bytesize).filled(:int?, gt?: 0)
|
46
46
|
required(:max_buffer_size).filled(:int?, gt?: 0)
|
data/lib/water_drop/version.rb
CHANGED
data/waterdrop.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
lib = File.expand_path('
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
|
6
6
|
require 'water_drop/version'
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_dependency 'dry-configurable', '~> 0.7'
|
21
21
|
spec.add_dependency 'dry-monitor', '~> 0.1'
|
22
22
|
spec.add_dependency 'dry-validation', '~> 0.11'
|
23
|
-
spec.add_dependency 'null-logger'
|
23
|
+
spec.add_dependency 'null-logger', '~> 0.1'
|
24
24
|
|
25
25
|
spec.required_ruby_version = '>= 2.2.0'
|
26
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waterdrop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: delivery_boy
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: null-logger
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
75
|
+
version: '0.1'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '0.1'
|
83
83
|
description: Kafka messaging made easy!
|
84
84
|
email:
|
85
85
|
- maciej@mensfeld.pl
|