karafka-testing 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd6db87a48971d08e369e87f1397ba5b2aff8acb6d5a5626a3171c2e997d6a7e
4
- data.tar.gz: 8c3b8fadecdc807ba96cda6796f9712c592b33f3c4da2a1d65374cff94f298d6
3
+ metadata.gz: 8273ddabdc2941d14ccc5e64957e3a6413523641edbffffb17b224cb1b7fb23a
4
+ data.tar.gz: 23509825159602b0ac1ca9cc05810fdcc9183ae96fe30f02d8e51ba6cda878ad
5
5
  SHA512:
6
- metadata.gz: c6763ef8e6f2acdd568bfc20a6ce0c502c9d9214c6168102e7b5840a22cecf0a856706dd6beac1988c3b406e97699d0f79e5f74549892065815debdb63140051
7
- data.tar.gz: 254796a19cd80a77909488adb270767a5c2bd997051e589da2de672fbfb98f62a3b4be0839c0fa985f37fbf96cbb0259e873cc085a480bc7a488e33cced2af5a
6
+ metadata.gz: 1474258c50223d692343c89666446546e958023afd86b7d4b8acf8996f701be27345e309fa631a0a1cfbb1aac9fb9c8901811c6f700ae6fe643eb811629b1646
7
+ data.tar.gz: 8e741e257da85b1cc06993fd3920a9ebadaa7276ad89be449a976ace801d70957212363c3b9b2e361648951cfe8420795a629fee3a2e6a8bd8763fae36b19a7c
@@ -29,7 +29,7 @@ jobs:
29
29
  - ruby: '4.0'
30
30
  coverage: 'true'
31
31
  steps:
32
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
32
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
33
33
  with:
34
34
  fetch-depth: 0
35
35
 
@@ -37,7 +37,7 @@ jobs:
37
37
  run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
38
38
 
39
39
  - name: Set up Ruby
40
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
40
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
41
41
  with:
42
42
  ruby-version: ${{matrix.ruby}}
43
43
  bundler: 'latest'
@@ -63,13 +63,13 @@ jobs:
63
63
  env:
64
64
  BUNDLE_GEMFILE: Gemfile.lint
65
65
  steps:
66
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
66
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
67
67
  with:
68
68
  fetch-depth: 0
69
69
  - name: Set up Ruby
70
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
70
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
71
71
  with:
72
- ruby-version: '4.0.5'
72
+ ruby-version: '4.0.6'
73
73
  bundler-cache: true
74
74
  - name: Run rubocop
75
75
  run: bundle exec rubocop
@@ -80,11 +80,11 @@ jobs:
80
80
  env:
81
81
  BUNDLE_GEMFILE: Gemfile.lint
82
82
  steps:
83
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
83
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
84
84
  - name: Set up Ruby
85
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
85
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
86
86
  with:
87
- ruby-version: '4.0.5'
87
+ ruby-version: '4.0.6'
88
88
  bundler-cache: true
89
89
  - run: bundle exec yard-lint lib/
90
90
 
@@ -92,13 +92,13 @@ jobs:
92
92
  timeout-minutes: 5
93
93
  runs-on: ubuntu-latest
94
94
  steps:
95
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
95
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
96
96
  with:
97
97
  fetch-depth: 0
98
98
  - name: Set up Ruby
99
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
99
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
100
100
  with:
101
- ruby-version: '4.0.5'
101
+ ruby-version: '4.0.6'
102
102
  bundler: 'latest'
103
103
  - name: Install dependencies
104
104
  run: bundle install --jobs 4 --retry 3
@@ -109,13 +109,13 @@ jobs:
109
109
  timeout-minutes: 5
110
110
  runs-on: ubuntu-latest
111
111
  steps:
112
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
112
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
113
113
  with:
114
114
  fetch-depth: 0
115
115
  - name: Set up Ruby
116
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
116
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
117
117
  with:
118
- ruby-version: '4.0.5'
118
+ ruby-version: '4.0.6'
119
119
  bundler: 'latest'
120
120
  - name: Install dependencies
121
121
  run: bundle install --jobs 4 --retry 3
@@ -126,11 +126,11 @@ jobs:
126
126
  timeout-minutes: 5
127
127
  runs-on: ubuntu-latest
128
128
  steps:
129
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
129
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
130
130
  with:
131
131
  fetch-depth: 0
132
132
  - name: Set up Node.js
133
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
133
+ uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
134
134
  with:
135
135
  node-version: '20'
136
136
  cache: 'npm'
@@ -19,12 +19,12 @@ jobs:
19
19
  id-token: write
20
20
 
21
21
  steps:
22
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
22
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23
23
  with:
24
24
  fetch-depth: 0
25
25
 
26
26
  - name: Set up Ruby
27
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
27
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
28
28
  with:
29
29
  bundler-cache: false
30
30
 
@@ -32,4 +32,4 @@ jobs:
32
32
  run: |
33
33
  bundle install --jobs 4 --retry 3
34
34
 
35
- - uses: rubygems/release-gem@6317d8d1f7e28c24d28f6eff169ea854948bd9f7 # v1.2.0
35
+ - uses: rubygems/release-gem@052cc82692552de3ef2b81fd670e41d13cba8092 # v1.4.0
@@ -7,7 +7,7 @@ jobs:
7
7
  verify_action_pins:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
10
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
11
11
  - name: Check SHA pins
12
12
  run: |
13
13
  if grep -E -r "uses: .*/.*@(v[0-9]+|main|master)($|[[:space:]]|$)" --include="*.yml" --include="*.yaml" .github/workflows/ | grep -v "#"; then
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 4.0.5
1
+ 4.0.6
data/.yard-lint.yml CHANGED
@@ -62,6 +62,34 @@ Documentation/BlankLineBeforeDefinition:
62
62
  SingleBlankLine: true
63
63
  OrphanedDocs: true
64
64
 
65
+ Documentation/DuplicateNamespaceComment:
66
+ Description: Detects namespaces documented with a YARD comment in more than one file.
67
+ Enabled: true
68
+ Severity: error
69
+
70
+ Documentation/UnderfilledLines:
71
+ Description: Detects documentation prose that wraps too early and wastes horizontal space.
72
+ Enabled: true
73
+ Severity: error
74
+ # Aligned with RuboCop's Layout/LineLength (Max: 100) so documentation prose
75
+ # wraps to the same width as code.
76
+ MaxLength: 100
77
+
78
+ Documentation/LineLength:
79
+ Description: Detects documentation lines that exceed the maximum length.
80
+ Enabled: true
81
+ Severity: error
82
+ # Aligned with RuboCop's Layout/LineLength (Max: 100).
83
+ MaxLength: 100
84
+
85
+ Documentation/TextSubstitution:
86
+ Description: Detects em/en-dashes in documentation and replaces them with hyphens.
87
+ Enabled: true
88
+ Severity: error
89
+ Substitutions:
90
+ "—": "-" # em-dash (U+2014)
91
+ "–": "-" # en-dash (U+2013)
92
+
65
93
  # Tags validators
66
94
  Tags/Order:
67
95
  Description: Enforces consistent ordering of YARD tags.
@@ -142,7 +170,7 @@ Tags/OptionTags:
142
170
  Tags/ExampleSyntax:
143
171
  Description: Validates Ruby syntax in @example tags.
144
172
  Enabled: true
145
- Severity: warning
173
+ Severity: error
146
174
 
147
175
  Tags/RedundantParamDescription:
148
176
  Description: Detects meaningless parameter descriptions that add no value.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Karafka Testing Changelog
2
2
 
3
+ ## 2.6.1 (2026-08-05)
4
+ - [Fix] Fix the dependency constraints.
5
+
3
6
  ## 2.6.0 (2026-06-10)
4
7
  - [Maintenance] Release matching Karafka `2.6.0` release.
5
8
 
data/Gemfile.lint.lock CHANGED
@@ -58,11 +58,11 @@ GEM
58
58
  unicode-display_width (3.2.0)
59
59
  unicode-emoji (~> 4.1)
60
60
  unicode-emoji (4.2.0)
61
- yard (0.9.38)
62
- yard-lint (1.4.0)
61
+ yard (0.9.45)
62
+ yard-lint (1.10.1)
63
63
  yard (~> 0.9)
64
64
  zeitwerk (~> 2.6)
65
- zeitwerk (2.7.4)
65
+ zeitwerk (2.8.2)
66
66
 
67
67
  PLATFORMS
68
68
  ruby
@@ -79,6 +79,7 @@ DEPENDENCIES
79
79
 
80
80
  CHECKSUMS
81
81
  ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
82
+ bundler (4.0.17) sha256=214e21431b5665dd2f99df8a5511c6b151d7a72e8015c8b38f8b775b61cbb6c1
82
83
  json (2.18.0) sha256=b10506aee4183f5cf49e0efc48073d7b75843ce3782c68dbeb763351c08fd505
83
84
  language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
84
85
  lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
@@ -100,9 +101,9 @@ CHECKSUMS
100
101
  standard-performance (1.9.0) sha256=49483d31be448292951d80e5e67cdcb576c2502103c7b40aec6f1b6e9c88e3f2
101
102
  unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
102
103
  unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
103
- yard (0.9.38) sha256=721fb82afb10532aa49860655f6cc2eaa7130889df291b052e1e6b268283010f
104
- yard-lint (1.4.0) sha256=7dd88fbb08fd77cb840bea899d58812817b36d92291b5693dd0eeb3af9f91f0f
105
- zeitwerk (2.7.4) sha256=2bef90f356bdafe9a6c2bd32bcd804f83a4f9b8bc27f3600fff051eb3edcec8b
104
+ yard (0.9.45) sha256=52e211493f7cb8a3ebf7e104a25a1e73937a3103092545d34cb88fafebb3dc51
105
+ yard-lint (1.10.1) sha256=172ea1905304580bd515c093d82831ec4889e725100c49d5bf77e62101f49129
106
+ zeitwerk (2.8.2) sha256=7212a61311083c604184b1ea2574b9aa05cd14f855a0841c06985cabe9181d12
106
107
 
107
108
  BUNDLED WITH
108
- 4.0.3
109
+ 4.0.17
data/Gemfile.lock CHANGED
@@ -1,34 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-testing (2.6.0)
5
- karafka (>= 2.5.0, < 2.6.0)
6
- waterdrop (>= 2.8.0)
4
+ karafka-testing (2.6.1)
5
+ karafka (>= 2.6.0.rc2, < 2.7.0)
6
+ waterdrop (>= 2.10.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  diff-lcs (1.6.2)
12
- docile (1.4.1)
13
12
  drb (2.2.3)
14
13
  ffi (1.17.4)
15
14
  ffi (1.17.4-x86_64-linux-gnu)
16
- json (2.19.7)
17
- karafka (2.5.9)
18
- karafka-core (>= 2.5.6, < 2.6.0)
19
- karafka-rdkafka (>= 0.24.0)
20
- waterdrop (>= 2.8.14, < 3.0.0)
15
+ json (2.20.0)
16
+ karafka (2.6.0.rc2)
17
+ karafka-core (>= 2.6.0, < 2.7.0)
18
+ karafka-rdkafka (>= 0.28.0)
19
+ waterdrop (>= 2.10.1, < 3.0.0)
21
20
  zeitwerk (~> 2.3)
22
- karafka-core (2.5.13)
21
+ karafka-core (2.6.2)
23
22
  karafka-rdkafka (>= 0.20.0)
24
23
  logger (>= 1.6.0)
25
- karafka-rdkafka (0.27.2)
24
+ karafka-rdkafka (0.28.0)
26
25
  ffi (~> 1.17.1)
27
26
  json (> 2.0)
28
27
  logger
29
28
  mini_portile2 (~> 2.6)
30
29
  rake (> 12)
31
- karafka-rdkafka (0.27.2-x86_64-linux-gnu)
30
+ karafka-rdkafka (0.28.0-x86_64-linux-gnu)
32
31
  ffi (~> 1.17.1)
33
32
  json (> 2.0)
34
33
  logger
@@ -58,14 +57,9 @@ GEM
58
57
  rspec-support (~> 3.13.0)
59
58
  rspec-support (3.13.7)
60
59
  ruby2_keywords (0.0.5)
61
- simplecov (0.22.0)
62
- docile (~> 1.1)
63
- simplecov-html (~> 0.11)
64
- simplecov_json_formatter (~> 0.1)
65
- simplecov-html (0.13.2)
66
- simplecov_json_formatter (0.1.4)
60
+ simplecov (1.0.3)
67
61
  warning (1.6.0)
68
- waterdrop (2.10.1)
62
+ waterdrop (2.10.2)
69
63
  karafka-core (>= 2.5.12, < 3.0.0)
70
64
  karafka-rdkafka (>= 0.24.0)
71
65
  zeitwerk (~> 2.3)
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = %w[lib]
21
21
 
22
- spec.add_dependency "karafka", ">= 2.5.0", "< 2.6.0"
23
- spec.add_dependency "waterdrop", ">= 2.8.0"
22
+ spec.add_dependency "karafka", ">= 2.6.0.rc2", "< 2.7.0"
23
+ spec.add_dependency "waterdrop", ">= 2.10.0"
24
24
 
25
25
  spec.required_ruby_version = ">= 3.2.0"
26
26
 
@@ -1,9 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Main module to encapsulate logic
4
3
  module Karafka
5
4
  module Testing
6
5
  # Current version of gem. It should match Karafka framework version
7
- VERSION = "2.6.0"
6
+ VERSION = "2.6.1"
8
7
  end
9
8
  end
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Main Karafka module
4
3
  module Karafka
5
4
  # Testing lib module
6
5
  module Testing
data/package-lock.json CHANGED
@@ -286,9 +286,9 @@
286
286
  }
287
287
  },
288
288
  "node_modules/smol-toml": {
289
- "version": "1.6.1",
290
- "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.6.1.tgz",
291
- "integrity": "sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==",
289
+ "version": "1.7.0",
290
+ "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.7.0.tgz",
291
+ "integrity": "sha512-aqVvWoyO21L23mb+drl4RmMXbf6N7FdHjAhTRA9ZBL7apWBgfWC16KjrASI+1p9GAroljyMHj6fK67i0UiTNvQ==",
292
292
  "dev": true,
293
293
  "license": "BSD-3-Clause",
294
294
  "engines": {
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: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -15,34 +15,34 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 2.5.0
18
+ version: 2.6.0.rc2
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
- version: 2.6.0
21
+ version: 2.7.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 2.5.0
28
+ version: 2.6.0.rc2
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
- version: 2.6.0
31
+ version: 2.7.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: waterdrop
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
36
  - - ">="
37
37
  - !ruby/object:Gem::Version
38
- version: 2.8.0
38
+ version: 2.10.0
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 2.8.0
45
+ version: 2.10.0
46
46
  description: Library which provides helpers for easier Karafka consumers tests
47
47
  email:
48
48
  - contact@karafka.io
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 4.0.10
114
+ rubygems_version: 4.0.16
115
115
  specification_version: 4
116
116
  summary: Library which provides helpers for easier Karafka consumers tests
117
117
  test_files: []