waterdrop 1.3.1 → 1.4.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: bc0f332e73321a83f3e2026ee435542e85129149e033381428ea5ed10fb65d4f
4
- data.tar.gz: 1d677bffde0a588a5242568179b84c4a72705a25b6a4720373946b74bbecf411
3
+ metadata.gz: 0ab81433321c716a9fe8cbd22ca3a8cd425a875165cc528b35d5738a7d5e7282
4
+ data.tar.gz: b2de6214dceb395d507062d7c3e621e81b7b8aafb4717f2383d5a4573c9bb657
5
5
  SHA512:
6
- metadata.gz: 9a166e5eafefcda2314eb2348b95d18b364cfb3c05fea120a704e42fa945379c7d59960800c1755ca5e6e92ed084c05d4f5f4589fca04be90446947491d19193
7
- data.tar.gz: f20cf44b891a343616082e41b9d50354102843c95dbe62b9b71e68a7cfec0d1c54a1aaa88540072ecabc937fe7e02f7ad881c4e2f44ef6af55f051390378e5cc
6
+ metadata.gz: 20cc7c2237ea6bf7ea268c09c5e424ee81df391b37b77e1eb61ac43546abd75527f10f99e6f85bb0f7cc8f61dbe1298bdce69be76c5cc0d5880b220f11184d04
7
+ data.tar.gz: 2f57c686aca05d5abaf44ef06bfcf5690c148d84a5db8ac73795726423772b73bb6b92893e0fa01424a9684f613f1934c2acad48119cf7a7be787988c233933a
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/.diffend.yml ADDED
@@ -0,0 +1,3 @@
1
+ project_id: 'ee590bc9-f375-4832-ac8e-beb174b49aa5'
2
+ shareable_id: '1325b111-b957-4fd8-bd6f-fead41e06034'
3
+ shareable_key: 'd29c6230-8bf6-479b-83ff-98f374d3466e'
@@ -0,0 +1,76 @@
1
+ name: ci
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ schedule:
7
+ - cron: '0 1 * * *'
8
+
9
+ jobs:
10
+ specs:
11
+ runs-on: ubuntu-latest
12
+ needs: diffend
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ ruby:
17
+ - '3.0'
18
+ - '2.7'
19
+ - '2.6'
20
+ - '2.5'
21
+ - 'jruby'
22
+ include:
23
+ - ruby: '3.0'
24
+ coverage: 'true'
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+ - name: Install package dependencies
28
+ run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: ${{matrix.ruby}}
33
+ - name: Install latest bundler
34
+ run: |
35
+ gem install bundler --no-document
36
+ bundle config set without 'tools benchmarks docs'
37
+ - name: Bundle install
38
+ run: |
39
+ bundle config set without development
40
+ bundle install --jobs 4 --retry 3
41
+ - name: Run Kafka with docker-compose
42
+ run: docker-compose up -d
43
+ - name: Run all tests
44
+ env:
45
+ GITHUB_COVERAGE: ${{matrix.coverage}}
46
+ run: bundle exec rspec
47
+
48
+ diffend:
49
+ runs-on: ubuntu-latest
50
+ strategy:
51
+ fail-fast: false
52
+ steps:
53
+ - uses: actions/checkout@v2
54
+ with:
55
+ fetch-depth: 0
56
+ - name: Set up Ruby
57
+ uses: ruby/setup-ruby@v1
58
+ with:
59
+ ruby-version: 3.0
60
+ - name: Install latest bundler
61
+ run: gem install bundler --no-document
62
+ - name: Install Diffend plugin
63
+ run: bundle plugin install diffend
64
+ - name: Bundle Secure
65
+ run: bundle secure
66
+
67
+ coditsu:
68
+ runs-on: ubuntu-latest
69
+ strategy:
70
+ fail-fast: false
71
+ steps:
72
+ - uses: actions/checkout@v2
73
+ with:
74
+ fetch-depth: 0
75
+ - name: Run Coditsu
76
+ run: \curl -sSL https://api.coditsu.io/run/ci | bash
data/.gitignore CHANGED
@@ -64,3 +64,5 @@ pickle-email-*.html
64
64
 
65
65
  # documentation
66
66
  .yardoc
67
+
68
+ .byebug_history
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
1
+ 3.0.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 1.4.1 (2021-03-23)
4
+ - Support for Ruby 3.0
5
+
6
+ ## 1.4.0 (2020-08-25)
7
+ - Release to match Karafka 1.4 versioning.
8
+
9
+ ## 1.3.4 (2020-02-17)
10
+ - Support for new `dry-configurable`
11
+
12
+ ## 1.3.3 (2019-01-06)
13
+ - #119 - Support exactly once delivery and transactional messaging (kylekthompson)
14
+ - #119 - Support delivery_boy 1.0 (kylekthompson)
15
+
16
+ ## 1.3.2 (2019-26-12)
17
+ - Ruby 2.7.0 support
18
+ - Fix missing `delegate` dependency on `ruby-kafka`
19
+
3
20
  ## 1.3.1 (2019-10-21)
4
21
  - Ruby 2.6.5 support
5
22
  - Expose setting to optionally verify hostname on ssl certs #109 (tabdollahi)
@@ -27,7 +44,7 @@
27
44
  - Bump delivery_boy (0.2.7 => 0.2.8)
28
45
 
29
46
  ## 1.2.5
30
- - Bump deps to match Karafka
47
+ - Bump dependencies to match Karafka
31
48
  - drop jruby support
32
49
  - drop ruby 2.2 support
33
50
 
@@ -90,7 +107,7 @@
90
107
  - Dev tools update
91
108
  - Gem update
92
109
  - Specs updates
93
- - File namming convention fix from waterdrop to water_drop + compatibility file
110
+ - File naming convention fix from waterdrop to water_drop + compatibility file
94
111
  - Additional params (partition, etc) that can be passed into producer
95
112
 
96
113
  ## 0.3.0
@@ -99,7 +116,7 @@
99
116
  ## 0.2.0
100
117
  - Version dump - this WaterDrop version no longer relies on Aspector to work
101
118
  - #17 - Logger for Aspector - WaterDrop no longer depends on Aspector
102
- - #8 - add send date as a default value added to a message - wontfix. Should be implemented on a message level since WaterDrop just transports messages without adding additional stuff.
119
+ - #8 - add send date as a default value added to a message - wont-fix. Should be implemented on a message level since WaterDrop just transports messages without adding additional stuff.
103
120
  - #11 - same as above
104
121
 
105
122
  ## 0.1.13
@@ -118,7 +135,7 @@
118
135
 
119
136
  ## 0.1.9
120
137
  - Required acks and set to -1 (most secure but slower)
121
- - Added a proxu layer to to producer so we could replate Kafka with other messaging systems
138
+ - Added a proxy layer to to producer so we could replace Kafka with other messaging systems
122
139
  - Gem dump
123
140
 
124
141
  ## 0.1.8
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (1.3.1)
5
- delivery_boy (~> 0.2)
4
+ waterdrop (1.4.1)
5
+ delivery_boy (>= 0.2, < 2.x)
6
6
  dry-configurable (~> 0.8)
7
7
  dry-monitor (~> 0.3)
8
8
  dry-validation (~> 1.2)
@@ -12,85 +12,85 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- concurrent-ruby (1.1.5)
16
- delivery_boy (0.2.8)
17
- king_konf (~> 0.3)
18
- ruby-kafka (~> 0.7.8)
19
- diff-lcs (1.3)
20
- digest-crc (0.4.1)
21
- docile (1.3.2)
22
- dry-configurable (0.8.3)
15
+ concurrent-ruby (1.1.8)
16
+ delivery_boy (1.1.0)
17
+ king_konf (~> 1.0)
18
+ ruby-kafka (~> 1.0)
19
+ diff-lcs (1.4.4)
20
+ digest-crc (0.6.3)
21
+ rake (>= 12.0.0, < 14.0.0)
22
+ docile (1.3.5)
23
+ dry-configurable (0.12.1)
23
24
  concurrent-ruby (~> 1.0)
24
- dry-core (~> 0.4, >= 0.4.7)
25
+ dry-core (~> 0.5, >= 0.5.0)
25
26
  dry-container (0.7.2)
26
27
  concurrent-ruby (~> 1.0)
27
28
  dry-configurable (~> 0.1, >= 0.1.3)
28
- dry-core (0.4.9)
29
+ dry-core (0.5.0)
29
30
  concurrent-ruby (~> 1.0)
30
- dry-equalizer (0.2.2)
31
+ dry-equalizer (0.3.0)
31
32
  dry-events (0.2.0)
32
33
  concurrent-ruby (~> 1.0)
33
34
  dry-core (~> 0.4)
34
35
  dry-equalizer (~> 0.2)
35
36
  dry-inflector (0.2.0)
36
- dry-initializer (3.0.1)
37
- dry-logic (1.0.3)
37
+ dry-initializer (3.0.4)
38
+ dry-logic (1.1.0)
38
39
  concurrent-ruby (~> 1.0)
39
- dry-core (~> 0.2)
40
- dry-equalizer (~> 0.2)
41
- dry-monitor (0.3.1)
40
+ dry-core (~> 0.5, >= 0.5)
41
+ dry-monitor (0.3.2)
42
42
  dry-configurable (~> 0.5)
43
43
  dry-core (~> 0.4)
44
44
  dry-equalizer (~> 0.2)
45
- dry-events (~> 0.1)
46
- dry-schema (1.4.1)
45
+ dry-events (~> 0.2)
46
+ dry-schema (1.6.1)
47
47
  concurrent-ruby (~> 1.0)
48
48
  dry-configurable (~> 0.8, >= 0.8.3)
49
- dry-core (~> 0.4)
50
- dry-equalizer (~> 0.2)
49
+ dry-core (~> 0.5, >= 0.5)
51
50
  dry-initializer (~> 3.0)
52
51
  dry-logic (~> 1.0)
53
- dry-types (~> 1.2)
54
- dry-types (1.2.0)
52
+ dry-types (~> 1.5)
53
+ dry-types (1.5.1)
55
54
  concurrent-ruby (~> 1.0)
56
55
  dry-container (~> 0.3)
57
- dry-core (~> 0.4, >= 0.4.4)
58
- dry-equalizer (~> 0.2, >= 0.2.2)
56
+ dry-core (~> 0.5, >= 0.5)
59
57
  dry-inflector (~> 0.1, >= 0.1.2)
60
58
  dry-logic (~> 1.0, >= 1.0.2)
61
- dry-validation (1.3.1)
59
+ dry-validation (1.6.0)
62
60
  concurrent-ruby (~> 1.0)
63
61
  dry-container (~> 0.7, >= 0.7.1)
64
62
  dry-core (~> 0.4)
65
63
  dry-equalizer (~> 0.2)
66
64
  dry-initializer (~> 3.0)
67
- dry-schema (~> 1.0, >= 1.3.1)
68
- json (2.2.0)
69
- king_konf (0.3.7)
70
- rspec (3.9.0)
71
- rspec-core (~> 3.9.0)
72
- rspec-expectations (~> 3.9.0)
73
- rspec-mocks (~> 3.9.0)
74
- rspec-core (3.9.0)
75
- rspec-support (~> 3.9.0)
76
- rspec-expectations (3.9.0)
65
+ dry-schema (~> 1.5, >= 1.5.2)
66
+ king_konf (1.0.0)
67
+ rake (13.0.3)
68
+ rspec (3.10.0)
69
+ rspec-core (~> 3.10.0)
70
+ rspec-expectations (~> 3.10.0)
71
+ rspec-mocks (~> 3.10.0)
72
+ rspec-core (3.10.1)
73
+ rspec-support (~> 3.10.0)
74
+ rspec-expectations (3.10.1)
77
75
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.9.0)
79
- rspec-mocks (3.9.0)
76
+ rspec-support (~> 3.10.0)
77
+ rspec-mocks (3.10.2)
80
78
  diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.9.0)
82
- rspec-support (3.9.0)
83
- ruby-kafka (0.7.10)
79
+ rspec-support (~> 3.10.0)
80
+ rspec-support (3.10.2)
81
+ ruby-kafka (1.3.0)
84
82
  digest-crc
85
- simplecov (0.17.1)
83
+ simplecov (0.21.2)
86
84
  docile (~> 1.1)
87
- json (>= 1.8, < 3)
88
- simplecov-html (~> 0.10.0)
89
- simplecov-html (0.10.2)
90
- zeitwerk (2.2.0)
85
+ simplecov-html (~> 0.11)
86
+ simplecov_json_formatter (~> 0.1)
87
+ simplecov-html (0.12.3)
88
+ simplecov_json_formatter (0.1.2)
89
+ zeitwerk (2.4.2)
91
90
 
92
91
  PLATFORMS
93
- ruby
92
+ x86_64-darwin-19
93
+ x86_64-linux
94
94
 
95
95
  DEPENDENCIES
96
96
  rspec
@@ -98,4 +98,4 @@ DEPENDENCIES
98
98
  waterdrop!
99
99
 
100
100
  BUNDLED WITH
101
- 2.0.2
101
+ 2.2.15
data/certs/mensfeld.pem CHANGED
@@ -1,25 +1,25 @@
1
1
  -----BEGIN CERTIFICATE-----
2
2
  MIIEODCCAqCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhtYWNp
3
- ZWovREM9bWVuc2ZlbGQvREM9cGwwHhcNMTkwNzMwMTQ1NDU0WhcNMjAwNzI5MTQ1
4
- NDU0WjAjMSEwHwYDVQQDDBhtYWNpZWovREM9bWVuc2ZlbGQvRE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E9HcZ5aXeL1UtJ
24
- nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
16
+ c2ZlbGQucGwwDQYJKoZIhvcNAQELBQADggGBAKiHpwoENVrMi94V1zD4o8/6G3AU
17
+ gWz4udkPYHTZLUy3dLznc/sNjdkJFWT3E6NKYq7c60EpJ0m0vAEg5+F5pmNOsvD3
18
+ 2pXLj9kisEeYhR516HwXAvtngboUcb75skqvBCU++4Pu7BRAPjO1/ihLSBexbwSS
19
+ fF+J5OWNuyHHCQp+kGPLtXJe2yUYyvSWDj3I2//Vk0VhNOIlaCS1+5/P3ZJThOtm
20
+ zJUBI7h3HgovwRpcnmk2mXTmU4Zx/bCzX8EA6VY0khEvnmiq7S6eBF0H9qH8KyQ6
21
+ EkVLpvmUDFcf/uNaBQdazEMB5jYtwoA8gQlANETNGPi51KlkukhKgaIEDMkBDJOx
22
+ 65N7DzmkcyY0/GwjIVIxmRhcrCt1YeCUElmfFx0iida1/YRm6sB2AXqScc1+ECRi
23
+ 2DND//YJUikn1zwbz1kT70XmHd97B4Eytpln7K+M1u2g1pHVEPW4owD/ammXNpUy
24
+ nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
25
25
  -----END CERTIFICATE-----
@@ -0,0 +1,17 @@
1
+ version: '2'
2
+ services:
3
+ zookeeper:
4
+ image: wurstmeister/zookeeper
5
+ ports:
6
+ - "2181:2181"
7
+ kafka:
8
+ image: wurstmeister/kafka:1.0.1
9
+ ports:
10
+ - "9092:9092"
11
+ environment:
12
+ KAFKA_ADVERTISED_HOST_NAME: localhost
13
+ KAFKA_ADVERTISED_PORT: 9092
14
+ KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
15
+ KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
16
+ volumes:
17
+ - /var/run/docker.sock:/var/run/docker.sock
data/lib/water_drop.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # External components
4
+ # delegate should be removed because we don't need it, we just add it because of ruby-kafka
4
5
  %w[
6
+ delegate
5
7
  json
6
8
  delivery_boy
7
9
  singleton
@@ -18,7 +18,7 @@ module WaterDrop
18
18
 
19
19
  d_method = WaterDrop.config.raise_on_buffer_overflow ? :deliver_async! : :deliver_async
20
20
 
21
- DeliveryBoy.send(d_method, message, options)
21
+ DeliveryBoy.send(d_method, message, **options)
22
22
  rescue Kafka::Error => e
23
23
  graceful_attempt?(attempts_count, message, options, e) ? retry : raise(e)
24
24
  end
@@ -71,6 +71,12 @@ module WaterDrop
71
71
  # delivery. Default is 100 messages. Disable buffer size based background deliveries by
72
72
  # setting this to 0.
73
73
  setting :delivery_threshold, 100
74
+ # option [Boolean]
75
+ setting :idempotent, false
76
+ # option [Boolean]
77
+ setting :transactional, false
78
+ # option [Integer]
79
+ setting :transactional_timeout, 60
74
80
 
75
81
  # option [Integer] The number of retries when attempting to deliver messages.
76
82
  setting :max_retries, 2
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WaterDrop
4
+ # Namespace for all the things related with WaterDrop instrumentation process
5
+ module Instrumentation
6
+ end
7
+ end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WaterDrop
4
- # Namespace for all the things related with WaterDrop instrumentation process
5
4
  module Instrumentation
6
5
  # Monitor is used to hookup external monitoring services to monitor how WaterDrop works
7
6
  # Since it is a pub-sub based on dry-monitor, you can use as many subscribers/loggers at the
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '1.3.1'
6
+ VERSION = '1.4.1'
7
7
  end
File without changes
data/waterdrop.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.description = spec.summary
17
17
  spec.license = 'MIT'
18
18
 
19
- spec.add_dependency 'delivery_boy', '~> 0.2'
19
+ spec.add_dependency 'delivery_boy', '>= 0.2', '< 2.x'
20
20
  spec.add_dependency 'dry-configurable', '~> 0.8'
21
21
  spec.add_dependency 'dry-monitor', '~> 0.3'
22
22
  spec.add_dependency 'dry-validation', '~> 1.2'
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: 1.3.1
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -11,45 +11,51 @@ cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIEODCCAqCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhtYWNp
14
- ZWovREM9bWVuc2ZlbGQvREM9cGwwHhcNMTkwNzMwMTQ1NDU0WhcNMjAwNzI5MTQ1
15
- NDU0WjAjMSEwHwYDVQQDDBhtYWNpZWovREM9bWVuc2ZlbGQvREM9cGwwggGiMA0G
16
- CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC9fCwtaHZG2SyyNXiH8r0QbJQx/xxl
17
- dkvwWz9QGJO+O8rEx20FB1Ab+MVkfOscwIv5jWpmk1U9whzDPl1uFtIbgu+sk+Zb
18
- uQlZyK/DPN6c+/BbBL+RryTBRyvkPLoCVwm7uxc/JZ1n4AI6eF4cCZ2ieZ9QgQbU
19
- MQs2QPqs9hT50Ez/40GnOdadVfiDDGz+NME2C4ms0BriXwZ1tcRTfJIHe2xjIbbb
20
- y5qRGfsLKcgMzvLQR24olixyX1MR0s4+Wveq3QL/gBhL4veUcv+UABJA8IJR0kyB
21
- seHHutusiwZ1v3SjjjW1xLLrc2ARV0mgCb0WaK2T4iA3oFTGLh6Ydz8LNl31KQFv
22
- 94nRd8IhmJxrhQ6dQ/WT9IXoa5S9lfT5lPJeINemH4/6QPABzf9W2IZlCdI9wCdB
23
- TBaw57MKneGAYZiKjw6OALSy2ltQUCl3RqFl3VP7n8uFy1U987Q5VIIQ3O1UUsQD
24
- Oe/h+r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ln7K+M1u2g1pHVEPW4owD/ammXNpUy
35
+ nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2019-10-21 00:00:00.000000000 Z
37
+ date: 2021-03-23 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: delivery_boy
41
41
  requirement: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - "~>"
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0.2'
46
+ - - "<"
47
+ - !ruby/object:Gem::Version
48
+ version: 2.x
46
49
  type: :runtime
47
50
  prerelease: false
48
51
  version_requirements: !ruby/object:Gem::Requirement
49
52
  requirements:
50
- - - "~>"
53
+ - - ">="
51
54
  - !ruby/object:Gem::Version
52
55
  version: '0.2'
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: 2.x
53
59
  - !ruby/object:Gem::Dependency
54
60
  name: dry-configurable
55
61
  requirement: !ruby/object:Gem::Requirement
@@ -128,12 +134,13 @@ extensions: []
128
134
  extra_rdoc_files: []
129
135
  files:
130
136
  - ".coditsu/ci.yml"
137
+ - ".diffend.yml"
131
138
  - ".github/FUNDING.yml"
139
+ - ".github/workflows/ci.yml"
132
140
  - ".gitignore"
133
141
  - ".rspec"
134
142
  - ".ruby-gemset"
135
143
  - ".ruby-version"
136
- - ".travis.yml"
137
144
  - CHANGELOG.md
138
145
  - Gemfile
139
146
  - Gemfile.lock
@@ -141,6 +148,7 @@ files:
141
148
  - README.md
142
149
  - certs/mensfeld.pem
143
150
  - config/errors.yml
151
+ - docker-compose.yml
144
152
  - lib/water_drop.rb
145
153
  - lib/water_drop/async_producer.rb
146
154
  - lib/water_drop/base_producer.rb
@@ -150,12 +158,13 @@ files:
150
158
  - lib/water_drop/contracts/config.rb
151
159
  - lib/water_drop/contracts/message_options.rb
152
160
  - lib/water_drop/errors.rb
161
+ - lib/water_drop/instrumentation.rb
153
162
  - lib/water_drop/instrumentation/monitor.rb
154
163
  - lib/water_drop/instrumentation/stdout_listener.rb
155
164
  - lib/water_drop/sync_producer.rb
156
165
  - lib/water_drop/version.rb
157
166
  - lib/waterdrop.rb
158
- - log/.keep
167
+ - log/.gitkeep
159
168
  - waterdrop.gemspec
160
169
  homepage: https://github.com/karafka/waterdrop
161
170
  licenses:
@@ -176,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
185
  - !ruby/object:Gem::Version
177
186
  version: '0'
178
187
  requirements: []
179
- rubygems_version: 3.0.3
188
+ rubygems_version: 3.2.3
180
189
  signing_key:
181
190
  specification_version: 4
182
191
  summary: Kafka messaging made easy!
metadata.gz.sig CHANGED
Binary file
data/.travis.yml DELETED
@@ -1,35 +0,0 @@
1
- services:
2
- - docker
3
-
4
- dist: trusty
5
- cache: bundler
6
-
7
- git:
8
- depth: false
9
-
10
- test: &test
11
- stage: Test
12
- language: ruby
13
- before_install:
14
- - gem install bundler
15
- - gem update --system
16
- script: bundle exec rspec
17
-
18
- jobs:
19
- include:
20
- - <<: *test
21
- rvm: 2.6.5
22
- - <<: *test
23
- rvm: 2.5.5
24
-
25
- - stage: coditsu
26
- language: ruby
27
- rvm: 2.6.5
28
- before_install:
29
- - gem update --system
30
- - gem install bundler
31
- script: \curl -sSL https://api.coditsu.io/run/ci | bash
32
-
33
- stages:
34
- - coditsu
35
- - test