kettle-family 1.3.2 → 1.3.3

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: 7b4a15c15f854710fb75ab2c866cf5ebb2b6dd24f1418a1e694446139a347421
4
- data.tar.gz: 70bd34977e27daf2f6e5f8ef465b02c938438eb1346d3574fd7080f2f54d3661
3
+ metadata.gz: 2fd15138050afedb68be9d6d294f7e3a01dc1554949c8607b1176ddf8d061581
4
+ data.tar.gz: 272997658ef8c5a96b14fbc1dcc8d124b545abe50d5bc0ca423823c8dffc3ad8
5
5
  SHA512:
6
- metadata.gz: 271e6a288806993a5cf584f9ba8293854c9b7ecb32dbec18b8b6cf293856d8ca7f92bb6d320f8fd97de6ba82622573dee01112974416c95ee2d87e11312dc463
7
- data.tar.gz: 3fd884813e4bb730575704ceda96b874cacac2b83a80d597f86e1212ba266cb575526808abe1eb5061404cb5446c64946fa0575d10fae1993dd96868c3479639
6
+ metadata.gz: a5bac59bea82eec800e67069ae00f8810c54a29a7fe3119b4c9ef93f94924af677b0da411635928841d9c0df47d4bfb11853d622cccaf1c72faf6f6419a552d6
7
+ data.tar.gz: c4d9b06b6fed1f0822bdc62ec6d22b3cb379bc1fe7b49e388038e58780c567ecbe3f589e11faa7845e92b2b6b7d365499271f17d0ad8e942636d632f25dbf950
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,17 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.3.3] - 2026-09-28
34
+
35
+ - TAG: [v1.3.3][1.3.3t]
36
+ - COVERAGE: 93.25% -- 6538/7011 lines in 37 files
37
+ - BRANCH COVERAGE: 77.76% -- 2660/3421 branches in 37 files
38
+ - 33.57% documented
39
+
40
+ ### Fixed
41
+
42
+ - Compare filesystem paths by canonical identity throughout family workflows.
43
+
33
44
  ## [1.3.2] - 2026-09-28
34
45
 
35
46
  - TAG: [v1.3.2][1.3.2t]
@@ -2819,7 +2830,9 @@ Please file a bug if you notice a violation of semantic versioning.
2819
2830
  - Fixed CI load failures on engines without compatible `pty` support by falling back to Open3 for interactive release commands.
2820
2831
  - Fixed Ruby 3.2 version-bump support by loading Prism lazily and wiring the Prism gem only for MRI versions that need it.
2821
2832
 
2822
- [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.3.2...HEAD
2833
+ [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.3.3...HEAD
2834
+ [1.3.3]: https://github.com/kettle-dev/kettle-family/compare/v1.3.2...v1.3.3
2835
+ [1.3.3t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.3.3
2823
2836
  [1.3.2]: https://github.com/kettle-dev/kettle-family/compare/v1.3.1...v1.3.2
2824
2837
  [1.3.2t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.3.2
2825
2838
  [1.3.1]: https://github.com/kettle-dev/kettle-family/compare/v1.3.0...v1.3.1
data/README.md CHANGED
@@ -1186,7 +1186,7 @@ Thanks for RTFM. ☺️
1186
1186
  [📌gitmoji]: https://gitmoji.dev
1187
1187
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1188
1188
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1189
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-7.010-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1189
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-7.011-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1190
1190
  [🔐security]: https://github.com/kettle-dev/kettle-family/blob/main/SECURITY.md
1191
1191
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1192
1192
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -55,7 +55,7 @@ module Kettle
55
55
  return false if left.to_s.empty? || right.to_s.empty?
56
56
  return false unless File.file?(left) && File.file?(right)
57
57
 
58
- File.realpath(left) == File.realpath(right)
58
+ Paths.same?(left, right)
59
59
  end
60
60
 
61
61
  def member_local_release_config_from_branch(member)
@@ -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.3.2"
8
+ VERSION = "1.3.3"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
@@ -644,7 +644,7 @@ module Kettle
644
644
  return false unless File.file?(File.join(config.root, "Gemfile"))
645
645
 
646
646
  family_members.none? do |member|
647
- File.expand_path(member.root) == File.expand_path(config.root)
647
+ Paths.same?(member.root, config.root)
648
648
  end
649
649
  end
650
650
 
@@ -1752,9 +1752,11 @@ module Kettle
1752
1752
  end
1753
1753
 
1754
1754
  def tag_template_worktree_results(results, entries)
1755
- branches_by_root = entries.to_h { |entry| [File.expand_path(entry.fetch(:member).root), entry.fetch(:branch)] }
1756
1755
  results.each do |result|
1757
- result.branch = branches_by_root[File.expand_path(result.workdir)] if result.workdir
1756
+ next unless result.workdir
1757
+
1758
+ entry = entries.find { |candidate| Paths.same?(candidate.fetch(:member).root, result.workdir) }
1759
+ result.branch = entry.fetch(:branch) if entry
1758
1760
  end
1759
1761
  end
1760
1762
 
@@ -4348,8 +4350,8 @@ module Kettle
4348
4350
  return false if config.path
4349
4351
  return false unless config.family_mode == "monorepo"
4350
4352
  return false unless members.one?
4351
- return false unless File.expand_path(config.members_root) == File.expand_path(config.root)
4352
- return false unless File.expand_path(members.first.root) == File.expand_path(config.root)
4353
+ return false unless Paths.same?(config.members_root, config.root)
4354
+ return false unless Paths.same?(members.first.root, config.root)
4353
4355
 
4354
4356
  family_env_name = config.family_local_path_env_name
4355
4357
  family_env_name && !env_overrides.key?(family_env_name)
@@ -5531,7 +5533,7 @@ module Kettle
5531
5533
  end
5532
5534
  return false unless spec&.source.is_a?(Bundler::Source::Path)
5533
5535
 
5534
- File.expand_path(spec.source.path.to_s) == File.expand_path(File.join(template_local_kettle_jem_root, "kettle-jem"))
5536
+ Paths.same?(spec.source.path.to_s, File.join(template_local_kettle_jem_root, "kettle-jem"))
5535
5537
  rescue Bundler::LockfileError, Errno::ENOENT
5536
5538
  false
5537
5539
  end
@@ -5696,7 +5698,7 @@ module Kettle
5696
5698
  end
5697
5699
 
5698
5700
  def family_local_path_root_for(family_root)
5699
- return config.family_local_path_root if File.expand_path(family_root) == File.expand_path(config.root)
5701
+ return config.family_local_path_root if Paths.same?(family_root, config.root)
5700
5702
 
5701
5703
  relative = Pathname.new(config.family_local_path_root).relative_path_from(Pathname.new(config.root))
5702
5704
  File.expand_path(relative, family_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.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -459,10 +459,10 @@ licenses:
459
459
  - AGPL-3.0-only
460
460
  metadata:
461
461
  homepage_uri: https://kettle-family.galtzo.com
462
- source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.3.2
463
- changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.3.2/CHANGELOG.md
462
+ source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.3.3
463
+ changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.3.3/CHANGELOG.md
464
464
  bug_tracker_uri: https://github.com/kettle-dev/kettle-family/issues
465
- documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.3.2
465
+ documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.3.3
466
466
  funding_uri: https://github.com/sponsors/pboling
467
467
  wiki_uri: https://github.com/kettle-dev/kettle-family/wiki
468
468
  news_uri: https://www.railsbling.com/tags/kettle-family
metadata.gz.sig CHANGED
Binary file