waterdrop 1.2.4 → 1.2.5

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: 67d4be866753f5241a60802e395e80631e045effe60b0a6f3b82000efd36a424
4
- data.tar.gz: c6b058aab8c004afc8bdb50bcd5e58bd9349cde433d7558563799f94151ca807
3
+ metadata.gz: 7c29b47026833fe48dd22e56da12560ce33a2cb29a7714f1e0984e17c1c9625f
4
+ data.tar.gz: 4465d3fa293f99f264405284efe9b423032bb9add85a264c728fbf118d29eb55
5
5
  SHA512:
6
- metadata.gz: ba3e3370104e74284fe159e36af5142fb8b75f46c284d29519ebb6ee96a91a9036d37b8921f46f0462d832888a92cd5475dd51662b7a48b67b07fd6bd62960ee
7
- data.tar.gz: f8e3519cdc67bb01b1da82cfc719d6df6116ea0607ac0654ed7361df25ec2e6c38950cb14d940fa219977321eba7737aa22408f2a3180b0be368650590890cdc
6
+ metadata.gz: f371d28ae61be1a38689e66c500269d3851d3984445a5a2d6d470431d86c376f98648cef22f5e13509e2fba3f16cfa516cd8a0de380496fb8e1cda9c1a4a629f
7
+ data.tar.gz: 01c8d90d3279b6cc632f1e09808e4fdde7e8d35292802587e6dce325e2ab5cf5f44697e9171ead920460b58cfa4c552b9869be86a9a3cca6aca984ef4fa49f52
@@ -0,0 +1,3 @@
1
+ api_key: <%= ENV['CODITSU_API_KEY'] %>
2
+ api_secret: <%= ENV['CODITSU_API_SECRET'] %>
3
+ repository_id: <%= ENV['CODITSU_REPOSITORY_ID'] %>
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.6.1
@@ -1,21 +1,49 @@
1
+ services:
2
+ - docker
3
+
1
4
  dist: trusty
2
5
  sudo: false
3
- language: ruby
4
6
  cache: bundler
5
7
 
6
- rvm:
7
- - 2.3.7
8
- - 2.4.4
9
- - 2.5.1
10
- - ruby-head
11
- - jruby-9.2.0.0
8
+ git:
9
+ depth: false
10
+
11
+ test: &test
12
+ stage: Test
13
+ language: ruby
14
+ before_install:
15
+ - gem install bundler
16
+ - gem update --system
17
+ script: bundle exec rspec
12
18
 
13
- env:
14
- global:
15
- - JRUBY_OPTS='--debug'
19
+ jobs:
20
+ include:
21
+ - <<: *test
22
+ rvm: 2.6.1
23
+ - <<: *test
24
+ rvm: 2.5.3
25
+ - <<: *test
26
+ rvm: 2.4.5
27
+ - <<: *test
28
+ rvm: 2.3.8
16
29
 
17
- before_install:
18
- - gem install bundler
19
- - gem update --system
30
+ - stage: coditsu
31
+ language: ruby
32
+ rvm: 2.6.1
33
+ before_install:
34
+ - gem update --system
35
+ - gem install bundler
36
+ before_script:
37
+ - docker create -v /sources --name sources alpine:3.4 /bin/true
38
+ - docker cp ./ sources:/sources
39
+ script: >
40
+ docker run
41
+ -e CODITSU_API_KEY
42
+ -e CODITSU_API_SECRET
43
+ -e CODITSU_REPOSITORY_ID
44
+ --volumes-from sources
45
+ coditsu/build-runner:latest
20
46
 
21
- script: bundle exec rspec
47
+ stages:
48
+ - coditsu
49
+ - test
@@ -1,5 +1,10 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 1.2.5
4
+ - Bump deps to match Karafka
5
+ - drop jruby support
6
+ - drop ruby 2.2 support
7
+
3
8
  ## 1.2.4
4
9
  - Due to multiple requests, unlock of 0.7 with an additional post-install message
5
10
 
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (1.2.4)
4
+ waterdrop (1.2.5)
5
5
  delivery_boy (~> 0.2)
6
- dry-configurable (~> 0.7)
7
- dry-monitor (~> 0.1)
6
+ dry-configurable (~> 0.8)
7
+ dry-monitor (~> 0.3)
8
8
  dry-validation (~> 0.11)
9
9
  null-logger (~> 0.1)
10
10
  ruby-kafka (>= 0.6)
@@ -12,16 +12,17 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- concurrent-ruby (1.0.5)
15
+ concurrent-ruby (1.1.4)
16
16
  delivery_boy (0.2.7)
17
17
  king_konf (~> 0.2)
18
18
  ruby-kafka (~> 0.5)
19
19
  diff-lcs (1.3)
20
20
  digest-crc (0.4.1)
21
21
  docile (1.3.1)
22
- dry-configurable (0.7.0)
22
+ dry-configurable (0.8.0)
23
23
  concurrent-ruby (~> 1.0)
24
- dry-container (0.6.0)
24
+ dry-core (~> 0.4, >= 0.4.7)
25
+ dry-container (0.7.0)
25
26
  concurrent-ruby (~> 1.0)
26
27
  dry-configurable (~> 0.1, >= 0.1.3)
27
28
  dry-core (0.4.7)
@@ -32,48 +33,46 @@ GEM
32
33
  dry-core (~> 0.4)
33
34
  dry-equalizer (~> 0.2)
34
35
  dry-inflector (0.1.2)
35
- dry-logic (0.4.2)
36
+ dry-logic (0.5.0)
36
37
  dry-container (~> 0.2, >= 0.2.6)
37
38
  dry-core (~> 0.2)
38
39
  dry-equalizer (~> 0.2)
39
- dry-monitor (0.1.2)
40
+ dry-monitor (0.3.0)
40
41
  dry-configurable (~> 0.5)
42
+ dry-core (~> 0.4)
41
43
  dry-equalizer (~> 0.2)
42
44
  dry-events (~> 0.1)
43
- rouge (~> 2.0, >= 2.2.1)
44
- dry-types (0.13.2)
45
+ dry-types (0.14.0)
45
46
  concurrent-ruby (~> 1.0)
46
47
  dry-container (~> 0.3)
47
48
  dry-core (~> 0.4, >= 0.4.4)
48
49
  dry-equalizer (~> 0.2)
49
50
  dry-inflector (~> 0.1, >= 0.1.2)
50
- dry-logic (~> 0.4, >= 0.4.2)
51
- dry-validation (0.12.2)
51
+ dry-logic (~> 0.5, >= 0.5)
52
+ dry-validation (0.13.0)
52
53
  concurrent-ruby (~> 1.0)
53
54
  dry-configurable (~> 0.1, >= 0.1.3)
54
55
  dry-core (~> 0.2, >= 0.2.1)
55
56
  dry-equalizer (~> 0.2)
56
- dry-logic (~> 0.4, >= 0.4.0)
57
- dry-types (~> 0.13.1)
57
+ dry-logic (~> 0.5, >= 0.5.0)
58
+ dry-types (~> 0.14, >= 0.14)
58
59
  json (2.1.0)
59
- json (2.1.0-java)
60
- king_konf (0.3.6)
60
+ king_konf (0.3.7)
61
61
  null-logger (0.1.5)
62
- rouge (2.2.1)
63
62
  rspec (3.8.0)
64
63
  rspec-core (~> 3.8.0)
65
64
  rspec-expectations (~> 3.8.0)
66
65
  rspec-mocks (~> 3.8.0)
67
66
  rspec-core (3.8.0)
68
67
  rspec-support (~> 3.8.0)
69
- rspec-expectations (3.8.1)
68
+ rspec-expectations (3.8.2)
70
69
  diff-lcs (>= 1.2.0, < 2.0)
71
70
  rspec-support (~> 3.8.0)
72
71
  rspec-mocks (3.8.0)
73
72
  diff-lcs (>= 1.2.0, < 2.0)
74
73
  rspec-support (~> 3.8.0)
75
74
  rspec-support (3.8.0)
76
- ruby-kafka (0.7.1)
75
+ ruby-kafka (0.7.5)
77
76
  digest-crc
78
77
  simplecov (0.16.1)
79
78
  docile (~> 1.1)
@@ -82,7 +81,6 @@ GEM
82
81
  simplecov-html (0.10.2)
83
82
 
84
83
  PLATFORMS
85
- java
86
84
  ruby
87
85
 
88
86
  DEPENDENCIES
@@ -91,4 +89,4 @@ DEPENDENCIES
91
89
  waterdrop!
92
90
 
93
91
  BUNDLED WITH
94
- 1.16.5
92
+ 2.0.1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # WaterDrop
2
2
 
3
- [![Build Status](https://travis-ci.org/karafka/waterdrop.png)](https://travis-ci.org/karafka/waterdrop)
3
+ [![Build Status](https://travis-ci.org/karafka/waterdrop.svg)](https://travis-ci.org/karafka/waterdrop)
4
4
  [![Join the chat at https://gitter.im/karafka/karafka](https://badges.gitter.im/karafka/karafka.svg)](https://gitter.im/karafka/karafka?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5
5
 
6
6
  Gem used to send messages to Kafka in an easy way with an extra validation layer. It is a part of the [Karafka](https://github.com/karafka/karafka) ecosystem.
@@ -33,7 +33,7 @@ bundle install
33
33
 
34
34
  ## Kafka 0.10 or prior
35
35
 
36
- If you're using Kafka 0.10, please lock `ruby-kafka` gem in your Gemfile to version '0.6.8':
36
+ If you're using Kafka 0.10, please lock `ruby-kafka` gem in your Gemfile to version `0.6.8`:
37
37
 
38
38
  ```ruby
39
39
  gem 'waterdrop'
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '1.2.4'
6
+ VERSION = '1.2.5'
7
7
  end
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.license = 'MIT'
18
18
 
19
19
  spec.add_dependency 'delivery_boy', '~> 0.2'
20
- spec.add_dependency 'dry-configurable', '~> 0.7'
21
- spec.add_dependency 'dry-monitor', '~> 0.1'
20
+ spec.add_dependency 'dry-configurable', '~> 0.8'
21
+ spec.add_dependency 'dry-monitor', '~> 0.3'
22
22
  spec.add_dependency 'dry-validation', '~> 0.11'
23
23
  spec.add_dependency 'null-logger', '~> 0.1'
24
24
  spec.add_dependency 'ruby-kafka', '>= 0.6'
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  gem 'ruby-kafka', '~> 0.6.8'
29
29
  MSG
30
30
 
31
- spec.required_ruby_version = '>= 2.2.0'
31
+ spec.required_ruby_version = '>= 2.3.0'
32
32
 
33
33
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
34
34
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,94 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waterdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-20 00:00:00.000000000 Z
11
+ date: 2019-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: delivery_boy
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '0.2'
19
- name: delivery_boy
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.2'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: dry-configurable
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - "~>"
31
32
  - !ruby/object:Gem::Version
32
- version: '0.7'
33
- name: dry-configurable
34
- prerelease: false
33
+ version: '0.8'
35
34
  type: :runtime
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.7'
40
+ version: '0.8'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: dry-monitor
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: '0.1'
47
- name: dry-monitor
48
- prerelease: false
47
+ version: '0.3'
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.1'
54
+ version: '0.3'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: dry-validation
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - "~>"
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0.11'
61
- name: dry-validation
62
- prerelease: false
63
62
  type: :runtime
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.11'
69
69
  - !ruby/object:Gem::Dependency
70
+ name: null-logger
70
71
  requirement: !ruby/object:Gem::Requirement
71
72
  requirements:
72
73
  - - "~>"
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0.1'
75
- name: null-logger
76
- prerelease: false
77
76
  type: :runtime
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.1'
83
83
  - !ruby/object:Gem::Dependency
84
+ name: ruby-kafka
84
85
  requirement: !ruby/object:Gem::Requirement
85
86
  requirements:
86
87
  - - ">="
87
88
  - !ruby/object:Gem::Version
88
89
  version: '0.6'
89
- name: ruby-kafka
90
- prerelease: false
91
90
  type: :runtime
91
+ prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
@@ -101,6 +101,7 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".coditsu.yml"
104
105
  - ".gitignore"
105
106
  - ".rspec"
106
107
  - ".ruby-gemset"
@@ -130,8 +131,8 @@ homepage: https://github.com/karafka/waterdrop
130
131
  licenses:
131
132
  - MIT
132
133
  metadata: {}
133
- post_install_message: "\e[93mWarning:\e[0m If you're using Kafka 0.10, please lock\
134
- \ ruby-kafka in your Gemfile to version '0.6.8':\ngem 'ruby-kafka', '~> 0.6.8'\n"
134
+ post_install_message: "\e[93mWarning:\e[0m If you're using Kafka 0.10, please lock
135
+ ruby-kafka in your Gemfile to version '0.6.8':\ngem 'ruby-kafka', '~> 0.6.8'\n"
135
136
  rdoc_options: []
136
137
  require_paths:
137
138
  - lib
@@ -139,16 +140,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
140
  requirements:
140
141
  - - ">="
141
142
  - !ruby/object:Gem::Version
142
- version: 2.2.0
143
+ version: 2.3.0
143
144
  required_rubygems_version: !ruby/object:Gem::Requirement
144
145
  requirements:
145
146
  - - ">="
146
147
  - !ruby/object:Gem::Version
147
148
  version: '0'
148
149
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 2.7.6
151
- signing_key:
150
+ rubygems_version: 3.0.1
151
+ signing_key:
152
152
  specification_version: 4
153
153
  summary: Kafka messaging made easy!
154
154
  test_files: []