Skip to content

Commit deec771

Browse files
committed
🔖 Prepare release v2.0.2
⚡️ A message from a fellow meat-based-AI ⚡️ - [❤️] Finely-crafted open-source tools like kettle-test (& many more) require time and effort. - [❤️] Though I adore my work, it lacks financial sustainability. - [❤️] Please, help me continue enhancing your tools by becoming a sponsor: - [💲] https://liberapay.com/pboling/donate - [💲] https://github.com/sponsors/pboling
1 parent 631505b commit deec771

42 files changed

Lines changed: 367 additions & 625 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.rubocop_gradual.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bin/prepare-commit-msg:60574733": [
3+
[16, 13, 76, "Lint/MixedRegexpCaptureTypes: Do not mix named captures and numbered captures in a Regexp literal.", 1400492948]
4+
],
5+
"lib/kettle/test/config/version_gem.rb:446940845": [
6+
[4, 1, 27, "Lint/DuplicateRequire: Duplicate `require` detected.", 2970467194]
7+
]
8+
}

.yard_gfm_support.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class KramdownGfmDocument < Kramdown::Document
88
def initialize(source, options = {})
99
options[:input] = "GFM" unless options.key?(:input)
10-
super(source, options)
10+
super
1111
end
1212
end
1313

@@ -18,5 +18,5 @@ def initialize(source, options = {})
1818
# - https://github.com/lsegal/yard/blob/main/lib/yard/templates/helpers/markup_helper.rb
1919
YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS[:markdown].insert(
2020
0,
21-
{const: "KramdownGfmDocument"},
21+
{const: "KramdownGfmDocument"}
2222
)

CHANGELOG.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,34 @@ Please file a bug if you notice a violation of semantic versioning.
2222

2323
### Changed
2424

25+
### Deprecated
26+
27+
### Removed
28+
29+
### Fixed
30+
31+
### Security
32+
33+
## [2.0.2] - 2026-06-01
34+
35+
- TAG: [v2.0.2][2.0.2t]
36+
- COVERAGE: 100.00% -- 91/91 lines in 15 files
37+
- BRANCH COVERAGE: 100.00% -- 2/2 branches in 15 files
38+
- 90.00% documented
39+
40+
### Changed
41+
2542
- Retemplated project files with the current kettle-jem template, including the
2643
StructuredMerge config migration, generated workflow updates, README logo
2744
refresh, and updated development dependency floors.
2845
- Updated the runtime `turbo_tests2` dependency to require v3.1.0 or newer.
2946

30-
### Deprecated
31-
32-
### Removed
33-
3447
### Fixed
3548

3649
- `kettle-test` now resolves Appraisal gemfiles under `gemfiles/` back to the
3750
project root before running specs, so coverage and log artifacts stay under
3851
root-level `coverage/` and `tmp/` instead of being written inside `gemfiles/`.
3952

40-
### Security
41-
4253
## [2.0.1] - 2026-05-25
4354

4455
- TAG: [v2.0.1][2.0.1t]
@@ -265,7 +276,9 @@ Please file a bug if you notice a violation of semantic versioning.
265276
- silent_stream
266277
- timecop-rspec
267278

268-
[Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v2.0.1...HEAD
279+
[Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v2.0.2...HEAD
280+
[2.0.2]: https://github.com/kettle-rb/kettle-test/compare/v2.0.1...v2.0.2
281+
[2.0.2t]: https://github.com/kettle-rb/kettle-test/releases/tag/v2.0.2
269282
[2.0.1]: https://github.com/kettle-rb/kettle-test/compare/v2.0.0...v2.0.1
270283
[2.0.1t]: https://github.com/kettle-rb/kettle-test/releases/tag/v2.0.1
271284
[2.0.0]: https://github.com/kettle-rb/kettle-test/compare/v1.0.10...v2.0.0

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
kettle-test (2.0.1)
4+
kettle-test (2.0.2)
55
appraisal2 (~> 3.0, >= 3.0.2)
66
backports (~> 3.0)
77
rspec (~> 3.0)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,15 @@ RSpec.describe("version-specific behavior") do
401401
it "pends for MRI >= 2.6.0 and <= 3.0.0" do
402402
pending_for(
403403
engine: :ruby,
404-
versions: (Gem::Version.new("2.6.0")..Gem::Version.new("3.0.0")),
404+
versions: (Gem::Version.new("2.6.0")..Gem::Version.new("3.0.0"))
405405
)
406406
end
407407

408408
# Range of Gem::Version (exclusive end)
409409
it "skips for MRI >= 3.1.0 and < 3.3.0" do
410410
skip_for(
411411
engine: :ruby,
412-
versions: (Gem::Version.new("3.1.0")...Gem::Version.new("3.3.0")),
412+
versions: (Gem::Version.new("3.1.0")...Gem::Version.new("3.3.0"))
413413
)
414414
end
415415

@@ -432,7 +432,7 @@ RSpec.configure do |config|
432432
config.before(:each, :requires_ruby_32) do
433433
skip_for(
434434
reason: "Requires Ruby >= 3.2",
435-
versions: %w[2.7 3.0 3.1],
435+
versions: %w[2.7 3.0 3.1]
436436
)
437437
end
438438
end

bin/kettle-soup-cover

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def collect_line_info(files, file_filter: nil)
146146
pct: pct,
147147
path: short_path,
148148
full_path: path,
149-
uncovered_lines: uncovered_lines,
149+
uncovered_lines: uncovered_lines
150150
}
151151
end
152152

@@ -180,7 +180,7 @@ def collect_branch_info(files, file_filter: nil)
180180
condition: branch["type"],
181181
cond_line: branch["start_line"],
182182
branch: branch["type"],
183-
branch_line: branch["start_line"],
183+
branch_line: branch["start_line"]
184184
}
185185
end
186186
end
@@ -201,7 +201,7 @@ def collect_branch_info(files, file_filter: nil)
201201
full_path: path,
202202
details: uncovered_details.sort_by do |d|
203203
d[:branch_line] || 0
204-
end,
204+
end
205205
}
206206
end
207207

@@ -329,7 +329,7 @@ if @show_branches
329329
" Line %3d: %s -> %s branch not taken",
330330
d[:branch_line] || d[:cond_line] || 0,
331331
d[:condition],
332-
d[:branch],
332+
d[:branch]
333333
)
334334
end
335335
puts " ... and #{r[:details].length - max_details} more" if r[:details].length > max_details

bin/prepare-commit-msg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require "erb"
1313
# BRANCH_RULE_TYPE = jira, or another type of branch rule validation, or false to disable
1414
# FOOTER_APPEND = true/false append commit message footer
1515
BRANCH_RULES = {
16-
"jira" => /^(?<story_type>(hotfix)|(bug)|(feature)|(candy))\/(?<story_id>\d{8,})-.+\Z/,
16+
"jira" => /^(?<story_type>(hotfix)|(bug)|(feature)|(candy))\/(?<story_id>\d{8,})-.+\Z/
1717
}
1818
BRANCH_RULE_TYPE = (validate = ENV.fetch("GIT_HOOK_BRANCH_VALIDATE", "false")) && !validate.casecmp?("false") && validate
1919

@@ -23,7 +23,7 @@ if (branch_rule = BRANCH_RULES[BRANCH_RULE_TYPE])
2323
# <story_type>/<story_id>-explosion-in-the-fudge-factory-spec-suite-fix
2424
# where story type is one of "hotfix", "bug", "feature", "candy"
2525
#
26-
branch = %x(git branch 2> /dev/null | grep -e ^* | awk '{print $2}')
26+
branch = `git branch 2> /dev/null | grep -e ^* | awk '{print $2}'`
2727
match_data = branch.match(branch_rule)
2828
# NOTE: `match` will return nil if match fails, otherwise an instance of MatchData.
2929
# If not nil then we are assured matches for both regex capture groups
@@ -124,7 +124,7 @@ class GitCommitFooter
124124
if @name_index
125125
return $2
126126
end
127-
rescue StandardError
127+
rescue
128128
# fall through
129129
end
130130
nil

docs/Kettle.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>
77
Module: Kettle
88

9-
&mdash; Documentation by YARD 0.9.43
9+
&mdash; Documentation by YARD 0.9.44
1010

1111
</title>
1212

@@ -120,9 +120,9 @@ <h2>Overview</h2><div class="docstring">
120120
</div>
121121

122122
<div id="footer">
123-
Generated on Mon May 25 00:43:08 2026 by
123+
Generated on Mon Jun 1 15:44:26 2026 by
124124
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125-
0.9.43 (ruby-4.0.5).
125+
0.9.44 (ruby-4.0.5).
126126
</div>
127127

128128
</div>

docs/Kettle/Test.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>
77
Module: Kettle::Test
88

9-
&mdash; Documentation by YARD 0.9.43
9+
&mdash; Documentation by YARD 0.9.44
1010

1111
</title>
1212

@@ -635,9 +635,9 @@ <h3 class="signature first" id="is_parallel_test?-class_method">
635635
</div>
636636

637637
<div id="footer">
638-
Generated on Mon May 25 00:43:08 2026 by
638+
Generated on Mon Jun 1 15:44:26 2026 by
639639
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
640-
0.9.43 (ruby-4.0.5).
640+
0.9.44 (ruby-4.0.5).
641641
</div>
642642

643643
</div>

docs/Kettle/Test/Error.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>
77
Exception: Kettle::Test::Error
88

9-
&mdash; Documentation by YARD 0.9.43
9+
&mdash; Documentation by YARD 0.9.44
1010

1111
</title>
1212

@@ -127,9 +127,9 @@ <h2>Overview</h2><div class="docstring">
127127
</div>
128128

129129
<div id="footer">
130-
Generated on Mon May 25 00:43:08 2026 by
130+
Generated on Mon Jun 1 15:44:26 2026 by
131131
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
132-
0.9.43 (ruby-4.0.5).
132+
0.9.44 (ruby-4.0.5).
133133
</div>
134134

135135
</div>

0 commit comments

Comments
 (0)