kettle-dev 2.5.7 → 2.5.9

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: c12efb4378e64516a0132f349f9ed23cb022be39870ee5f9f30238a6fb98636d
4
- data.tar.gz: fbfd1073dcd533f0f1c1cbab0854c843077853af23bd7fb346d22f2ded59eed1
3
+ metadata.gz: 23c696ff4ebd7064e8fae5f30844abd9b4fd6566f254be26c5628cd54ef9bf46
4
+ data.tar.gz: 60daed8f719b7056eeb8516c3a68589ec596a2e901bb95f1b2c76da4b5c12e1e
5
5
  SHA512:
6
- metadata.gz: f93a23682155f1a97fd7e352695349570bf08f96856ef29a4a407a4c3d0c5284993d0c5b085d522e7f93a599dea20de3a0c7f652b271ba5ac426df3f7ea43065
7
- data.tar.gz: 9e602847a7bd7f9bbac0eca20be1037378f01bc7da11b57e82030a17c63faf0083dbbf84895fd98af937b7abdb1efb6c29734760b73c69687e423dd611dbfff8
6
+ metadata.gz: 509a2a71828e6a12f0cab95e6268a52f7a98398d796e94ed8ca6863d464f616f4dd3cc39eefbdfd4536ce049167b88831edb89127a0b5596c7b635d5f24d758a
7
+ data.tar.gz: 8ca534f658b7f5a81ae0ca955ef02a8a54cf9e0d7cd3f3d9449c40cbfb7d47ca16802a65d14ecab574cbc30d7b66c22da0a28dd93d9eaace98c85b9347c82e12
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,5 @@
1
- ��D��S�j�qe��
2
- �f��Evo%��30/%3�������ɾ3BIH��
3
- ?m`�O:�wF9 ]4���j��U ��H"���zL.��O��9.�瓸��@Ԇ��9��+�/P���3�rc�z� �i�
1
+ ԑu �����O�<�1�֞�H�XJr�t ��Fu�1���E*+�-��A�4:���AlO�E~Q�<���j��Cm/�����̼��$����Z,��$8����Z-�N�_���ٔ�I�ѯ�Ȣ[-n蠞�p������"Cd]�W� �9y~�
2
+ ƩZ*�ĸ��=#:����;�
3
+ il��a�Aʧ*��S��HC\�񖊤#ڮZ�fF ��Xj>���s�����L�� ��� dͭ�s'��ϲ�9�ɸ>�v��
4
+ \�zʼn��s��}�բMp�Xe•G[�|�`�9�0� � H��S=���1�d�
5
+ 5J��A��iF�W@�QEhs���Ne�+�ϯ�k��5*��tQ%��L���Y� �\x�=�`�\��1
data/CHANGELOG.md CHANGED
@@ -30,6 +30,32 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [2.5.9] - 2026-07-30
34
+
35
+ - TAG: [v2.5.9][2.5.9t]
36
+ - COVERAGE: 91.91% -- 4726/5142 lines in 44 files
37
+ - BRANCH COVERAGE: 76.37% -- 1784/2336 branches in 44 files
38
+ - 54.41% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-changelog` coverage generation now pins `BUNDLE_GEMFILE` to
43
+ `K_CHANGELOG_COVERAGE_ROOT/Gemfile`, so shared monorepo release changelogs
44
+ collect aggregate family coverage instead of reusing the member bundle.
45
+
46
+ ## [2.5.8] - 2026-07-30
47
+
48
+ - TAG: [v2.5.8][2.5.8t]
49
+ - COVERAGE: 92.10% -- 4733/5139 lines in 44 files
50
+ - BRANCH COVERAGE: 76.48% -- 1785/2334 branches in 44 files
51
+ - 54.41% documented
52
+
53
+ ### Changed
54
+
55
+ - `kettle-changelog` now accepts `K_CHANGELOG_COVERAGE_ROOT` so monorepo release
56
+ flows can collect aggregate coverage from a family bundle without running the
57
+ changelog command from the family root.
58
+
33
59
  ## [2.5.7] - 2026-07-30
34
60
 
35
61
  - TAG: [v2.5.7][2.5.7t]
@@ -3018,7 +3044,11 @@ Please file a bug if you notice a violation of semantic versioning.
3018
3044
  - Selecting will run the selected workflow via `act`
3019
3045
  - This may move to its own gem in the future.
3020
3046
 
3021
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.5.7...HEAD
3047
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.5.9...HEAD
3048
+ [2.5.9]: https://github.com/kettle-dev/kettle-dev/compare/v2.5.8...v2.5.9
3049
+ [2.5.9t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.5.9
3050
+ [2.5.8]: https://github.com/kettle-dev/kettle-dev/compare/v2.5.7...v2.5.8
3051
+ [2.5.8t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.5.8
3022
3052
  [2.5.7]: https://github.com/kettle-dev/kettle-dev/compare/v2.5.6...v2.5.7
3023
3053
  [2.5.7t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.5.7
3024
3054
  [2.5.6]: https://github.com/kettle-dev/kettle-dev/compare/v2.5.5...v2.5.6
data/README.md CHANGED
@@ -1005,7 +1005,7 @@ Thanks for RTFM. ☺️
1005
1005
  [📌gitmoji]: https://gitmoji.dev
1006
1006
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1007
1007
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1008
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-5.134-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1008
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-5.142-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1009
1009
  [🔐security]: https://github.com/kettle-dev/kettle-dev/blob/main/SECURITY.md
1010
1010
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1011
1011
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
data/exe/kettle-changelog CHANGED
@@ -6,6 +6,7 @@
6
6
  # kettle-changelog: Generate a CHANGELOG.md entry for the current VERSION.
7
7
  # - Reads VERSION from lib/**/version.rb (must be unique across files)
8
8
  # - Set K_CHANGELOG_PATH to read/write a changelog outside the current gem root
9
+ # - Set K_CHANGELOG_COVERAGE_ROOT to collect coverage from another bundle root
9
10
  # - Set K_CHANGELOG_VERSION_FILE to use a specific version.rb for monorepo roots
10
11
  # - Set K_CHANGELOG_GEM_NAME to use a specific gem name for root changelogs
11
12
  # - Moves entries from the "Unreleased" section into a new versioned section
@@ -88,6 +89,7 @@ if ARGV.include?("-h") || ARGV.include?("--help")
88
89
  K_CHANGELOG_STRICT=false Disable strict mode (equivalent to --no-strict flag)
89
90
  K_CHANGELOG_COVERAGE_HARD=false Disable coverage threshold hard-failure
90
91
  K_CHANGELOG_PATH=path Read and write this changelog instead of ./CHANGELOG.md
92
+ K_CHANGELOG_COVERAGE_ROOT=path Run/read coverage from this root instead of the gem root
91
93
  K_CHANGELOG_VERSION_FILE=path Read VERSION from this file instead of lib/**/version.rb
92
94
  K_CHANGELOG_GEM_NAME=name Read live release data as this gem instead of root .gemspec
93
95
  KETTLE_GEM_COOP_REFRESH=true Bypass cached gem.coop version data
@@ -31,7 +31,8 @@ module Kettle
31
31
  def initialize(strict: true, enforce_coverage_thresholds: true, update_prep: false, version: nil, root: Kettle::Dev::CIHelpers.project_root, refresh_cache: false, yes: false)
32
32
  @root = root
33
33
  @changelog_path = resolved_changelog_path
34
- @coverage_path = File.join(@root, "coverage", "coverage.json")
34
+ @coverage_root = resolved_coverage_root
35
+ @coverage_path = File.join(@coverage_root, "coverage", "coverage.json")
35
36
  @strict = strict
36
37
  @enforce_coverage_thresholds = enforce_coverage_thresholds
37
38
  @update_prep = update_prep
@@ -671,7 +672,7 @@ module Kettle
671
672
 
672
673
  puts "Generating fresh coverage data by running: bundle exec kettle-test"
673
674
 
674
- success = system(changelog_coverage_env, "bundle", "exec", "kettle-test", chdir: @root)
675
+ success = system(changelog_coverage_env, "bundle", "exec", "kettle-test", chdir: @coverage_root)
675
676
 
676
677
  unless success
677
678
  raise "bundle exec kettle-test failed with exit status #{$?.exitstatus || "unknown"}"
@@ -739,13 +740,16 @@ module Kettle
739
740
  end
740
741
 
741
742
  def changelog_coverage_env
742
- {
743
+ env = {
743
744
  "K_SOUP_COV_DO" => "true",
744
745
  "K_SOUP_COV_FORMATTERS" => "json",
745
746
  "K_SOUP_COV_MIN_HARD" => @enforce_coverage_thresholds ? "true" : "false",
746
747
  "K_SOUP_COV_MULTI_FORMATTERS" => "false",
747
748
  "K_SOUP_COV_OPEN_BIN" => ""
748
749
  }
750
+ gemfile = File.join(@coverage_root, "Gemfile")
751
+ env["BUNDLE_GEMFILE"] = gemfile if File.file?(gemfile)
752
+ env
749
753
  end
750
754
 
751
755
  def ensure_changelog_coverage_json!
@@ -844,6 +848,13 @@ module Kettle
844
848
  File.expand_path(path, @root)
845
849
  end
846
850
 
851
+ def resolved_coverage_root
852
+ path = ENV.fetch("K_CHANGELOG_COVERAGE_ROOT", "").to_s.strip
853
+ return @root if path.empty?
854
+
855
+ File.expand_path(path, @root)
856
+ end
857
+
847
858
  def prepare_yard_fence_tmp_files
848
859
  yardopts = File.join(@root, ".yardopts")
849
860
  return unless File.file?(yardopts)
@@ -5,7 +5,7 @@ module Kettle
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "2.5.7"
8
+ VERSION = "2.5.9"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
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.5.7
4
+ version: 2.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -397,10 +397,10 @@ licenses:
397
397
  - AGPL-3.0-only
398
398
  metadata:
399
399
  homepage_uri: https://kettle-dev.galtzo.com
400
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.5.7
401
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.5.7/CHANGELOG.md
400
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.5.9
401
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.5.9/CHANGELOG.md
402
402
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
403
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.5.7
403
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.5.9
404
404
  funding_uri: https://github.com/sponsors/pboling
405
405
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
406
406
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file