kettle-dev 2.0.2 → 2.0.4

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: c3bad017c27149d9c7bf639bf70347f639d9301b3ce355c9a20eb7466f959df0
4
- data.tar.gz: 8c96fb38ea79b64d55d2813725120518e1e3bcf2dda8396c8b2da1e3aa699d23
3
+ metadata.gz: 173f2f228ed0aec5f391d60a5ba92ea1ff97473e8cde9fec7f85150865fd5909
4
+ data.tar.gz: 3a6ffece88cb6fc7083c4924b1a22ec2525ffc36ddee55c529934b38ff805f7e
5
5
  SHA512:
6
- metadata.gz: 21ad36073bf15fd42f052958148f8129138e4ab79195d524457ba5c29e206fd261f283b9b6616e7a41cc46b6455c27e1d763167f8b8e75655acf2cdaa1a5c713
7
- data.tar.gz: fcef88758871ad5eb760e0671972c6ef389dd3d9037f5006ddd65d2d07c651c7778a86dd344e86815b37b0451833544ba10ef895db28c6fa5dd0221502013d95
6
+ metadata.gz: 6f488161279cc8811cfb70b5503aac5ddade79b6bdb9590c17692ac0ad117e5ccc2fa28c40bf62df0a4147d04036ea24dc7427bf0c83f40cc881b3667f421208
7
+ data.tar.gz: 9959316441a85cd9bd8849a3827d5eb54cc4c53989d633ec635ebf8b5459d38695d260f5a0ba40225ee3bb7d1d73a4f177e1368585d0fa3ca1e9c27eb5bfd8c5
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,43 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [2.0.4] - 2026-05-27
34
+
35
+ - TAG: [v2.0.4][2.0.4t]
36
+ - COVERAGE: 94.42% -- 2944/3118 lines in 24 files
37
+ - BRANCH COVERAGE: 78.22% -- 1203/1538 branches in 24 files
38
+ - 76.40% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-changelog` now refuses to merge Unreleased entries or generated
43
+ metadata into a release section when `version.rb` already matches the latest
44
+ published version for that release line; bump the version before preparing a
45
+ new changelog release.
46
+ - The `yard` rake spec now reloads the task file directly and uses Ruby
47
+ 2.4-compatible cleanup syntax, fixing order-dependent CI failures across the
48
+ appraisal matrix.
49
+ - The `yard` rake fallback task now remains registered with kettle-dev defaults
50
+ when the optional `yard` gem is unavailable in an appraisal environment.
51
+ - The Rakefile now falls back to a stub `kettle:jem:selftest` task when the
52
+ installed `kettle-jem` package does not expose rake task installation.
53
+
54
+ ## [2.0.3] - 2026-05-27
55
+
56
+ - TAG: [v2.0.3][2.0.3t]
57
+ - COVERAGE: 94.62% -- 2956/3124 lines in 24 files
58
+ - BRANCH COVERAGE: 78.21% -- 1206/1542 branches in 24 files
59
+ - 76.40% documented
60
+
61
+ ### Fixed
62
+
63
+ - The default rake task now includes documentation generation via `yard`, so
64
+ documentation plugin post-processing runs during `bin/rake`.
65
+ - `kettle-changelog` now updates the current changelog release in place when
66
+ Unreleased has pending entries or the release section is missing generated
67
+ coverage/documentation metadata, even if the version is already the latest
68
+ known release.
69
+
33
70
  ## [2.0.2] - 2026-05-27
34
71
 
35
72
  - TAG: [v2.0.2][2.0.2t]
@@ -1763,7 +1800,11 @@ Please file a bug if you notice a violation of semantic versioning.
1763
1800
  - Selecting will run the selected workflow via `act`
1764
1801
  - This may move to its own gem in the future.
1765
1802
 
1766
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.2...HEAD
1803
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.4...HEAD
1804
+ [2.0.4]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.3...v2.0.4
1805
+ [2.0.4t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v2.0.4
1806
+ [2.0.3]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.2...v2.0.3
1807
+ [2.0.3t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v2.0.3
1767
1808
  [2.0.2]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.1...v2.0.2
1768
1809
  [2.0.2t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v2.0.2
1769
1810
  [2.0.1]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.0...v2.0.1
data/README.md CHANGED
@@ -1010,7 +1010,7 @@ Thanks for RTFM. ☺️
1010
1010
  [📌gitmoji]: https://gitmoji.dev
1011
1011
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1012
1012
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1013
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.101-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1013
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.118-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1014
1014
  [🔐security]: https://github.com/kettle-rb/kettle-dev/blob/main/SECURITY.md
1015
1015
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1016
1016
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -153,7 +153,7 @@ module Kettle
153
153
  warn("Proceeding without live release info.")
154
154
  end
155
155
 
156
- _unreleased_block, _before, after = extract_unreleased(changelog)
156
+ unreleased_block, _before, after = extract_unreleased(changelog)
157
157
  latest_changelog_version = detect_previous_version(after.to_s)
158
158
  section_exists = release_section_exists?(changelog, version)
159
159
  latest_target = latest_release_target(version, latest_overall, latest_for_series)
@@ -167,6 +167,9 @@ module Kettle
167
167
  end
168
168
 
169
169
  action = if section_exists && latest_target == version
170
+ if unreleased_block_has_entries?(unreleased_block)
171
+ abort("Aborting: version.rb (#{version}) matches the latest released version for this release line (#{latest_target}); bump version.rb before moving Unreleased entries into a release section.")
172
+ end
170
173
  :reformat_only
171
174
  elsif section_exists
172
175
  :update_prepared_release
@@ -504,6 +507,10 @@ module Kettle
504
507
  out.join
505
508
  end
506
509
 
510
+ def unreleased_block_has_entries?(unreleased_block)
511
+ !filter_unreleased_sections(unreleased_block.to_s).strip.empty?
512
+ end
513
+
507
514
  def coverage_lines
508
515
  if @strict
509
516
  # Always generate fresh coverage data in strict mode
@@ -24,10 +24,13 @@ begin
24
24
  rescue LoadError
25
25
  # yard-timekeeper not available - that's fine
26
26
  end
27
+
28
+ Kettle::Dev.register_default("yard")
27
29
  rescue LoadError
28
30
  warn("[kettle-dev][yard.rake] failed to load yard") if Kettle::Dev::DEBUGGING
29
31
  desc("(stub) yard is unavailable")
30
32
  task(:yard) do
31
33
  warn("NOTE: yard isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
32
34
  end
35
+ Kettle::Dev.register_default("yard")
33
36
  end
@@ -3,7 +3,7 @@
3
3
  module Kettle
4
4
  module Dev
5
5
  module Version
6
- VERSION = "2.0.2"
6
+ VERSION = "2.0.4"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
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: kettle-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -312,10 +312,10 @@ licenses:
312
312
  - AGPL-3.0-only
313
313
  metadata:
314
314
  homepage_uri: https://kettle-dev.galtzo.com
315
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v2.0.2
316
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v2.0.2/CHANGELOG.md
315
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v2.0.4
316
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v2.0.4/CHANGELOG.md
317
317
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
318
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.0.2
318
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.0.4
319
319
  funding_uri: https://github.com/sponsors/pboling
320
320
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
321
321
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file