karafka-testing 1.3.0 → 1.3.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: 6ee784ba9b6c79e481316de20a6d9bb450cbd839e9002326ad6e027da06da790
4
- data.tar.gz: 953807d68461c4e12bbdaf3c1693837e3bf7fe4f1ce8d9bcfef86b0388851deb
3
+ metadata.gz: d62320a4a1e6b7caeb25308b9ea810d7948a887cad788b5779e31320a522f52d
4
+ data.tar.gz: d68f15b96e0ba30d9ebbefce725cf5069842c2f05d6f21c2e22eafa7cea13125
5
5
  SHA512:
6
- metadata.gz: fb2c9c0b8dcada48b84e841f1c17b7abc69c3e3535e412a96ad8a20188983a2d3359ff23912e9cb0a48b0f0bef21b770477cf86283bf4bdf6a035d60cac6c995
7
- data.tar.gz: ab3b0aa4450cb9432161c47eaab0788609ca86399a15881bc715bf5eaba4e779672c69c51bcfb8969f4a800859f287affc5ce7c41895082a39824819e94fd21a
6
+ metadata.gz: 3a7bfbbac01df4b3839b959c6af809fd3f3f563893b991d4c62fbf4205c9bbf1a314c8d209536e95b33d5bf1031dce41b70d4f1da33bc19172f8736d36a0b063
7
+ data.tar.gz: e755c0bbdad3694d2cff2234db2710e16c1ea98785c563cbb3aaf9b219613366ccbd5636c5ecbc11fdf25b96b708729eb97510994895d28722335b4e35a07daf
checksums.yaml.gz.sig CHANGED
Binary file
@@ -0,0 +1,18 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ schedule:
6
+ - cron: '0 1 * * *'
7
+
8
+ jobs:
9
+ coditsu:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ with:
16
+ fetch-depth: 0
17
+ - name: Run Coditsu
18
+ run: \curl -sSL https://api.coditsu.io/run/ci | bash
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.3
1
+ 2.7.1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Karafka Test gem changelog
2
2
 
3
+ ## 1.3.1 (2020-04-24)
4
+ - change license to LGPL-3.0
5
+ - Ruby 2.6.5 support
6
+ - Ruby 2.7.1 support
7
+ - JRuby support
8
+ - Change license to LGPL-3.0
9
+
3
10
  ## 1.3.0 (2019-09-09)
4
11
  - Dynamic `App` name (#2)
5
12
 
data/Gemfile.lock CHANGED
@@ -1,67 +1,70 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-testing (1.3.0)
4
+ karafka-testing (1.3.1)
5
5
  karafka (~> 1.3.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- concurrent-ruby (1.1.5)
11
- delivery_boy (0.2.8)
10
+ concurrent-ruby (1.1.6)
11
+ delivery_boy (1.0.1)
12
12
  king_konf (~> 0.3)
13
- ruby-kafka (~> 0.7.8)
14
- digest-crc (0.4.1)
15
- dry-configurable (0.8.3)
13
+ ruby-kafka (~> 1.0)
14
+ digest-crc (0.5.1)
15
+ dry-configurable (0.11.5)
16
16
  concurrent-ruby (~> 1.0)
17
17
  dry-core (~> 0.4, >= 0.4.7)
18
+ dry-equalizer (~> 0.2)
18
19
  dry-container (0.7.2)
19
20
  concurrent-ruby (~> 1.0)
20
21
  dry-configurable (~> 0.1, >= 0.1.3)
21
22
  dry-core (0.4.9)
22
23
  concurrent-ruby (~> 1.0)
23
- dry-equalizer (0.2.2)
24
+ dry-equalizer (0.3.0)
24
25
  dry-events (0.2.0)
25
26
  concurrent-ruby (~> 1.0)
26
27
  dry-core (~> 0.4)
27
28
  dry-equalizer (~> 0.2)
28
- dry-inflector (0.1.2)
29
- dry-initializer (3.0.1)
30
- dry-logic (1.0.3)
29
+ dry-inflector (0.2.0)
30
+ dry-initializer (3.0.3)
31
+ dry-logic (1.0.6)
31
32
  concurrent-ruby (~> 1.0)
32
33
  dry-core (~> 0.2)
33
34
  dry-equalizer (~> 0.2)
34
- dry-monitor (0.3.1)
35
+ dry-monitor (0.3.2)
35
36
  dry-configurable (~> 0.5)
36
37
  dry-core (~> 0.4)
37
38
  dry-equalizer (~> 0.2)
38
- dry-events (~> 0.1)
39
- dry-schema (1.3.3)
39
+ dry-events (~> 0.2)
40
+ dry-schema (1.5.0)
40
41
  concurrent-ruby (~> 1.0)
41
42
  dry-configurable (~> 0.8, >= 0.8.3)
42
43
  dry-core (~> 0.4)
43
44
  dry-equalizer (~> 0.2)
44
45
  dry-initializer (~> 3.0)
45
46
  dry-logic (~> 1.0)
46
- dry-types (~> 1.0)
47
- dry-types (1.1.1)
47
+ dry-types (~> 1.4)
48
+ dry-types (1.4.0)
48
49
  concurrent-ruby (~> 1.0)
49
50
  dry-container (~> 0.3)
50
51
  dry-core (~> 0.4, >= 0.4.4)
51
- dry-equalizer (~> 0.2, >= 0.2.2)
52
+ dry-equalizer (~> 0.3)
52
53
  dry-inflector (~> 0.1, >= 0.1.2)
53
54
  dry-logic (~> 1.0, >= 1.0.2)
54
- dry-validation (1.3.1)
55
+ dry-validation (1.5.0)
55
56
  concurrent-ruby (~> 1.0)
56
57
  dry-container (~> 0.7, >= 0.7.1)
57
58
  dry-core (~> 0.4)
58
59
  dry-equalizer (~> 0.2)
59
60
  dry-initializer (~> 3.0)
60
- dry-schema (~> 1.0, >= 1.3.1)
61
- envlogic (1.1.0)
61
+ dry-schema (~> 1.5)
62
+ envlogic (1.1.2)
62
63
  dry-inflector (~> 0.1)
63
- irb (1.0.0)
64
- karafka (1.3.0)
64
+ io-console (0.5.6)
65
+ irb (1.2.3)
66
+ reline (>= 0.0.1)
67
+ karafka (1.3.5)
65
68
  dry-configurable (~> 0.8)
66
69
  dry-inflector (~> 0.1)
67
70
  dry-monitor (~> 0.3)
@@ -71,23 +74,25 @@ GEM
71
74
  multi_json (>= 1.12)
72
75
  rake (>= 11.3)
73
76
  ruby-kafka (>= 0.7.8)
74
- thor (~> 0.20)
77
+ thor (>= 0.20)
75
78
  waterdrop (~> 1.3.0)
76
79
  zeitwerk (~> 2.1)
77
80
  king_konf (0.3.7)
78
- multi_json (1.13.1)
79
- rake (12.3.3)
80
- ruby-kafka (0.7.10)
81
+ multi_json (1.14.1)
82
+ rake (13.0.1)
83
+ reline (0.1.3)
84
+ io-console (~> 0.5)
85
+ ruby-kafka (1.0.0)
81
86
  digest-crc
82
- thor (0.20.3)
83
- waterdrop (1.3.0)
84
- delivery_boy (~> 0.2)
87
+ thor (1.0.1)
88
+ waterdrop (1.3.4)
89
+ delivery_boy (>= 0.2, < 2.x)
85
90
  dry-configurable (~> 0.8)
86
91
  dry-monitor (~> 0.3)
87
92
  dry-validation (~> 1.2)
88
93
  ruby-kafka (>= 0.7.8)
89
94
  zeitwerk (~> 2.1)
90
- zeitwerk (2.1.10)
95
+ zeitwerk (2.3.0)
91
96
 
92
97
  PLATFORMS
93
98
  ruby
@@ -96,4 +101,4 @@ DEPENDENCIES
96
101
  karafka-testing!
97
102
 
98
103
  BUNDLED WITH
99
- 2.0.2
104
+ 2.1.4
data/LICENSE ADDED
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Karafka Testing library
2
2
 
3
- [![Build Status](https://travis-ci.org/karafka/testing.svg)](https://travis-ci.org/karafka/testing)
3
+ [![Build Status](https://github.com/karafka/testing/workflows/ci/badge.svg)](https://github.com/karafka/testing/actions?query=workflow%3Aci)
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
  Karafka-Testing is a library that provides rspec helpers, to make testing of Karafka consumers much easier.
@@ -62,7 +62,7 @@ end
62
62
  ## References
63
63
 
64
64
  * [Karafka framework](https://github.com/karafka/karafka)
65
- * [Karafka Testing Travis CI](https://travis-ci.org/karafka/testing)
65
+ * [Karafka Testing Actions CI](https://github.com/karafka/testing/actions?query=workflow%3Aci)
66
66
  * [Karafka Testing Coditsu](https://app.coditsu.io/karafka/repositories/testing)
67
67
 
68
68
  ## Note on contributions
@@ -14,12 +14,14 @@ Gem::Specification.new do |spec|
14
14
  spec.summary = 'Library which provides helpers for easier Karafka consumers tests'
15
15
  spec.description = 'Library which provides helpers for easier Karafka consumers tests'
16
16
  spec.homepage = 'https://github.com/karafka/testing'
17
- spec.license = 'MIT'
17
+ spec.license = 'LGPL-3.0'
18
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = %w[lib]
21
21
  spec.cert_chain = %w[certs/mensfeld.pem]
22
22
 
23
+ spec.required_ruby_version = '>= 2.5.0'
24
+
23
25
  if $PROGRAM_NAME.end_with?('gem')
24
26
  spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
25
27
  end
@@ -4,6 +4,6 @@
4
4
  module Karafka
5
5
  module Testing
6
6
  # Current version of gem. It should match Karafka framework version
7
- VERSION = '1.3.0'
7
+ VERSION = '1.3.1'
8
8
  end
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -34,7 +34,7 @@ cert_chain:
34
34
  KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
35
35
  nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
36
36
  -----END CERTIFICATE-----
37
- date: 2019-09-09 00:00:00.000000000 Z
37
+ date: 2020-04-24 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: karafka
@@ -59,15 +59,15 @@ extra_rdoc_files: []
59
59
  files:
60
60
  - ".coditsu/ci.yml"
61
61
  - ".github/FUNDING.yml"
62
+ - ".github/workflows/ci.yml"
62
63
  - ".gitignore"
63
64
  - ".rspec"
64
65
  - ".ruby-gemset"
65
66
  - ".ruby-version"
66
- - ".travis.yml"
67
67
  - CHANGELOG.md
68
68
  - Gemfile
69
69
  - Gemfile.lock
70
- - MIT-LICENCE
70
+ - LICENSE
71
71
  - README.md
72
72
  - certs/mensfeld.pem
73
73
  - karafka-testing.gemspec
@@ -78,7 +78,7 @@ files:
78
78
  - lib/karafka/testing/version.rb
79
79
  homepage: https://github.com/karafka/testing
80
80
  licenses:
81
- - MIT
81
+ - LGPL-3.0
82
82
  metadata: {}
83
83
  post_install_message:
84
84
  rdoc_options: []
@@ -88,14 +88,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: '0'
91
+ version: 2.5.0
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 3.0.3
98
+ rubygems_version: 3.1.2
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Library which provides helpers for easier Karafka consumers tests
metadata.gz.sig CHANGED
Binary file
data/.travis.yml DELETED
@@ -1,21 +0,0 @@
1
- services:
2
- - docker
3
-
4
- dist: trusty
5
- sudo: false
6
- cache: bundler
7
-
8
- git:
9
- depth: false
10
-
11
- jobs:
12
- include:
13
- - stage: coditsu
14
- language: ruby
15
- before_install:
16
- - gem update --system
17
- - gem install bundler
18
- script: \curl -sSL https://api.coditsu.io/run/ci | bash
19
-
20
- stages:
21
- - coditsu
data/MIT-LICENCE DELETED
@@ -1,18 +0,0 @@
1
- Permission is hereby granted, free of charge, to any person obtaining
2
- a copy of this software and associated documentation files (the
3
- "Software"), to deal in the Software without restriction, including
4
- without limitation the rights to use, copy, modify, merge, publish,
5
- distribute, sublicense, and/or sell copies of the Software, and to
6
- permit persons to whom the Software is furnished to do so, subject to
7
- the following conditions:
8
-
9
- The above copyright notice and this permission notice shall be
10
- included in all copies or substantial portions of the Software.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.