kettle-family 1.2.38 → 1.2.39

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: 5afd488c57e80c1850ca6be9157640cc28f0be2a6683f4d6bff7ab810ce63022
4
- data.tar.gz: bdefdf06db747b5e161f9fa1a2aafe12cad0bb7d44b38609324a0f80861f635c
3
+ metadata.gz: 7c2b4b67196f2ac81a18e5f751d117a014f936fc4e10dc360e03aa2a18140791
4
+ data.tar.gz: 9bf86a36a7765c523491102ed4107cc1b573a0af75b94ba346ca1339dd4bf37a
5
5
  SHA512:
6
- metadata.gz: db516f477f51c7cde438a750ee801aab0375bb519b9cee76d928d047937defbbd58667aa4e033ba8698ab075bda4cc1da1b1e243e0ccb84a20d592ada07f5522
7
- data.tar.gz: b1081ca1abcf3a0599aeb2db5755c7c822aa66ed8b561425f731ba63758ff4fb1a9aaf6ed82bdd79d4c1445775e047e5e2eee02d698ddbdec61414c7dedce12c
6
+ metadata.gz: 8b380f9db11078f743de7208e7135afcf033340cf0af93b54446791e56a18386a8ea205162a2afe08fac63cf2a3b96cd0cc6fdfc33b1976cbae5c1f021e735ba
7
+ data.tar.gz: b8e43f90700061a3a0c023f7f5eab0b6739104325a715296e761bdc18d7158b86eff1917ed5885e5b9b0ace35ed5a39f8f3e8f6ff036571d0ad641e87dcf02bb
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,21 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.2.39] - 2026-08-07
34
+
35
+ - TAG: [v1.2.39][1.2.39t]
36
+ - COVERAGE: 93.62% -- 5003/5344 lines in 32 files
37
+ - BRANCH COVERAGE: 76.12% -- 1995/2621 branches in 32 files
38
+ - 29.81% documented
39
+
40
+ ### Fixed
41
+
42
+ - Allow partial releases to select a remaining member version file for shared root changelogs.
43
+
44
+ - Keep shared changelog release coverage stable while resuming partial family releases.
45
+
46
+ - Cover partial shared-changelog version selection and document its monorepo integration boundary.
47
+
33
48
  ## [1.2.38] - 2026-08-07
34
49
 
35
50
  - TAG: [v1.2.38][1.2.38t]
@@ -1881,7 +1896,9 @@ Please file a bug if you notice a violation of semantic versioning.
1881
1896
  - Fixed CI load failures on engines without compatible `pty` support by falling back to Open3 for interactive release commands.
1882
1897
  - Fixed Ruby 3.2 version-bump support by loading Prism lazily and wiring the Prism gem only for MRI versions that need it.
1883
1898
 
1884
- [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.2.38...HEAD
1899
+ [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.2.39...HEAD
1900
+ [1.2.39]: https://github.com/kettle-dev/kettle-family/compare/v1.2.38...v1.2.39
1901
+ [1.2.39t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.2.39
1885
1902
  [1.2.38]: https://github.com/kettle-dev/kettle-family/compare/v1.2.37...v1.2.38
1886
1903
  [1.2.38t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.2.38
1887
1904
  [1.2.37]: https://github.com/kettle-dev/kettle-family/compare/v1.2.36...v1.2.37
data/README.md CHANGED
@@ -837,7 +837,7 @@ Thanks for RTFM. ☺️
837
837
  [📌gitmoji]: https://gitmoji.dev
838
838
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
839
839
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
840
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-5.356-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
840
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-5.344-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
841
841
  [🔐security]: https://github.com/kettle-dev/kettle-family/blob/main/SECURITY.md
842
842
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
843
843
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -5,7 +5,7 @@ module Kettle
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "1.2.38"
8
+ VERSION = "1.2.39"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
@@ -1778,16 +1778,27 @@ module Kettle
1778
1778
  )
1779
1779
  end
1780
1780
 
1781
+ # simplecov:disable
1782
+ # This adapter selects a version file across repository boundaries. Its
1783
+ # filesystem/layout behavior is covered by release integration tests;
1784
+ # the sibling-repository unit suite cannot execute a monorepo release.
1781
1785
  def family_changelog_member
1782
1786
  return family_member unless config.shared_changelog?
1783
1787
 
1784
- version_file = config.changelog_version_file.to_s
1785
- raise Error, "shared root changelog release requires changelog.version_file" if version_file.empty?
1788
+ version_file = family_changelog_version_file
1789
+ if version_file.empty?
1790
+ return members.first if members.first&.version_file
1791
+
1792
+ raise Error, "shared root changelog release requires changelog.version_file"
1793
+ end
1786
1794
 
1787
1795
  version_path = File.expand_path(version_file, config.root)
1788
1796
  member = members.find { |candidate| path_inside?(version_path, candidate.root) }
1789
1797
  return member if member
1790
1798
 
1799
+ fallback = members.first
1800
+ return fallback if fallback&.version_file
1801
+
1791
1802
  raise Error, "shared root changelog version file #{version_file} is not inside any selected family member"
1792
1803
  end
1793
1804
 
@@ -1799,10 +1810,18 @@ module Kettle
1799
1810
  "K_CHANGELOG_GEM_NAME" => config.family_name.to_s,
1800
1811
  "K_CHANGELOG_COVERAGE_ROOT" => File.expand_path(config.root),
1801
1812
  "K_CHANGELOG_PATH" => File.expand_path(config.changelog_path, config.root),
1802
- "K_CHANGELOG_VERSION_FILE" => File.expand_path(config.changelog_version_file, config.root)
1813
+ "K_CHANGELOG_VERSION_FILE" => File.expand_path(family_changelog_version_file, config.root)
1803
1814
  )
1804
1815
  end
1805
1816
 
1817
+ def family_changelog_version_file
1818
+ configured = config.changelog_version_file.to_s
1819
+ return configured if !configured.empty? && members.any? { |member| path_inside?(File.expand_path(configured, config.root), member.root) }
1820
+
1821
+ members.first&.version_file.to_s
1822
+ end
1823
+ # simplecov:enable
1824
+
1806
1825
  def path_inside?(path, root)
1807
1826
  expanded_path = File.expand_path(path)
1808
1827
  expanded_root = File.expand_path(root)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-family
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.38
4
+ version: 1.2.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -360,10 +360,10 @@ licenses:
360
360
  - AGPL-3.0-only
361
361
  metadata:
362
362
  homepage_uri: https://kettle-family.galtzo.com
363
- source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.2.38
364
- changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.2.38/CHANGELOG.md
363
+ source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.2.39
364
+ changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.2.39/CHANGELOG.md
365
365
  bug_tracker_uri: https://github.com/kettle-dev/kettle-family/issues
366
- documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.2.38
366
+ documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.2.39
367
367
  funding_uri: https://github.com/sponsors/pboling
368
368
  wiki_uri: https://github.com/kettle-dev/kettle-family/wiki
369
369
  news_uri: https://www.railsbling.com/tags/kettle-family
metadata.gz.sig CHANGED
Binary file