waterdrop 1.3.2 → 1.4.2

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: c07e80909dae4b51b139a24718f22649cf71f2d939e1e3f8e9b7bbab2d0e1c9d
4
- data.tar.gz: 357fb83dc4a746dd2ac77b28978c18201b52b2b5ece1a84bb4edfc27f44134d7
3
+ metadata.gz: 3264233762968462432ad2d4c37809289966e943908df7c8c08d9939d585e621
4
+ data.tar.gz: '079c4e36222105d110f7268dff2abb3cfbdab20a019963a80552555d084f20ae'
5
5
  SHA512:
6
- metadata.gz: 7cb034ee52bae8be3b6e4c58ed81360d522654bfcb83500fb221b98db39934d45cb19ad8b52d03f6333d370b5bc10b299785508a7b9851f520a4b546041d2a4f
7
- data.tar.gz: dd68dee18beb08134d0e01892c939dfacdce5defda468f5320d9eb72e147a6ee96d5778c00418a7bb60c08e13abf52c8ae57bb7f4185c1313393ff80cb91140d
6
+ metadata.gz: 7b8759d6f7c7d3b7bb685ce725497e5b171bcc85efbdd3a5c5620c51b9a78d0c97715efe7f6ff2c3544fd39628a40122f5dbdc58164ba98355c789e487a4b4de
7
+ data.tar.gz: 38e8d05a29d782446865a203289757f68d4af23f0f63e161c429b96f87dd17cfeec0786f716c1ef71615e3b2136ef6a4b88e78d96c3a4396e39945b9e3a089a8
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/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.0
1
+ 3.0.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 1.4.2 (2021-03-30)
4
+ - Additional 3.0 fixes (ojab)
5
+
6
+ ## 1.4.1 (2021-03-23)
7
+ - Support for Ruby 3.0
8
+
9
+ ## 1.4.0 (2020-08-25)
10
+ - Release to match Karafka 1.4 versioning.
11
+
12
+ ## 1.3.4 (2020-02-17)
13
+ - Support for new `dry-configurable`
14
+
15
+ ## 1.3.3 (2019-01-06)
16
+ - #119 - Support exactly once delivery and transactional messaging (kylekthompson)
17
+ - #119 - Support delivery_boy 1.0 (kylekthompson)
18
+
3
19
  ## 1.3.2 (2019-26-12)
4
20
  - Ruby 2.7.0 support
5
21
  - Fix missing `delegate` dependency on `ruby-kafka`
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (1.3.2)
5
- delivery_boy (~> 0.2)
4
+ waterdrop (1.4.2)
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,20 +12,21 @@ 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.9.0)
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
31
  dry-equalizer (0.3.0)
31
32
  dry-events (0.2.0)
@@ -33,64 +34,63 @@ GEM
33
34
  dry-core (~> 0.4)
34
35
  dry-equalizer (~> 0.2)
35
36
  dry-inflector (0.2.0)
36
- dry-initializer (3.0.2)
37
- dry-logic (1.0.5)
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.2)
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.2)
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.3)
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.4.0)
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.3.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.2)
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.1.2
101
+ 2.2.15
data/certs/mensfeld.pem CHANGED
@@ -1,25 +1,25 @@
1
1
  -----BEGIN CERTIFICATE-----
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21
- CgP+nLox3D+l2q0QuQEkayr+auFYkzTCkF+BmEk1D0Ru4mcf3F4CJvEmW4Pzbjqt
22
- i1tsCWPtJ4E/UUKnKaWKqGbjrjHJ0MuShYzHkodox5IOiCXIQg+1+YSzfXUV6WEK
23
- KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
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
@@ -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
@@ -4,6 +4,6 @@ module WaterDrop
4
4
  # Namespace for all the contracts for config validations
5
5
  module Contracts
6
6
  # Regex to check that topic has a valid format
7
- TOPIC_REGEXP = /\A(\w|\-|\.)+\z/.freeze
7
+ TOPIC_REGEXP = /\A(\w|-|\.)+\z/
8
8
  end
9
9
  end
@@ -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
@@ -16,7 +16,7 @@ module WaterDrop
16
16
  validate!(options)
17
17
  return unless WaterDrop.config.deliver
18
18
 
19
- DeliveryBoy.deliver(message, options)
19
+ DeliveryBoy.deliver(message, **options)
20
20
  rescue Kafka::Error => e
21
21
  graceful_attempt?(attempts_count, message, options, e) ? retry : raise(e)
22
22
  end
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '1.3.2'
6
+ VERSION = '1.4.2'
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.2
4
+ version: 1.4.2
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+RryTBRyvkPLoCV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mNOsvD3
29
+ 2pXLj9kisEeYhR516HwXAvtngboUcb75skqvBCU++4Pu7BRAPjO1/ihLSBexbwSS
30
+ fF+J5OWNuyHHCQp+kGPLtXJe2yUYyvSWDj3I2//Vk0VhNOIlaCS1+5/P3ZJThOtm
31
+ zJUBI7h3HgovwRpcnmk2mXTmU4Zx/bCzX8EA6VY0khEvnmiq7S6eBF0H9qH8KyQ6
32
+ EkVLpvmUDFcf/uNaBQdazEMB5jYtwoA8gQlANETNGPi51KlkukhKgaIEDMkBDJOx
33
+ 65N7DzmkcyY0/GwjIVIxmRhcrCt1YeCUElmfFx0iida1/YRm6sB2AXqScc1+ECRi
34
+ 2DND//YJUikn1zwbz1kT70XmHd97B4Eytpln7K+M1u2g1pHVEPW4owD/ammXNpUy
35
+ nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2019-12-26 00:00:00.000000000 Z
37
+ date: 2021-03-30 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.1.2
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
- - yes | gem update --system
15
- script: bundle exec rspec
16
-
17
- jobs:
18
- include:
19
- - <<: *test
20
- rvm: 2.7.0
21
- - <<: *test
22
- rvm: 2.6.5
23
- - <<: *test
24
- rvm: 2.5.7
25
-
26
- - stage: coditsu
27
- language: ruby
28
- rvm: 2.7.0
29
- before_install:
30
- - yes | gem update --system
31
- script: \curl -sSL https://api.coditsu.io/run/ci | bash
32
-
33
- stages:
34
- - test
35
- - coditsu