kettle-family 1.2.7 → 1.2.8

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: 19b26885149b9d09b09827174cd7da61443ce3be6eb87aebbf31c2d742d169f8
4
- data.tar.gz: d3f3f4d99d7206c755dd8c96b92849056f85bf25b43e261322ee9d90c2ac6021
3
+ metadata.gz: 29d07c7927fc1e4369d1deaf88fe88855c533f1f2794f012a5452705df3c332c
4
+ data.tar.gz: 24eece688e92ec4253be48cf041d6e97ae3457f3668215dbc1edb82c13160eb0
5
5
  SHA512:
6
- metadata.gz: 967f83669fc06f840e9aafdfbf3ee93257371e1e5b18097e6d2740247fad82f09c1f64930b1a7558456a41f2f3991172ec6a4cfb6d00c797929172ac72486ca3
7
- data.tar.gz: 2e65f50bfd16933521b93dfd8b3d84ef3c3faa9cb7e40725c917e83f4e53d833bbc09f2f2b15708c4a93f9a384edb5f24b1bbdf4b05013f4c4d19879382b9ba4
6
+ metadata.gz: d47c545b53878e0fa85111529a912263f829293ec111d7d929936d84dde80b9e9504fe123674c3b903bd360ab73d889cc88dbc65a5fd4f9ff07bed50a1f00637
7
+ data.tar.gz: 7198da5864c986c0e5b8a94b07e67fa5153588fb179f87d073972baa5b51b97f6814d576cc20d1565acaf068a0310c695d3eec06c0264c706fb2802aae345a79
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,22 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.2.8] - 2026-07-29
34
+
35
+ - TAG: [v1.2.8][1.2.8t]
36
+ - COVERAGE: 93.98% -- 3652/3886 lines in 27 files
37
+ - BRANCH COVERAGE: 76.43% -- 1394/1824 branches in 27 files
38
+ - 28.01% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-family bup` and `bupb` now disable family local-path envs even when
43
+ `release.env` already sets those keys to false, avoiding leaked monorepo roots
44
+ such as `STRUCTUREDMERGE_DEV=/path/to/family/root` during bundle updates.
45
+ - Family local-path env injection now defaults to `members_root` when no
46
+ explicit `family.local_path_root` is configured, matching monorepo families
47
+ whose sibling gems live under a subdirectory such as `gems/`.
48
+
33
49
  ## [1.2.7] - 2026-07-29
34
50
 
35
51
  - TAG: [v1.2.7][1.2.7t]
@@ -1290,7 +1306,9 @@ Please file a bug if you notice a violation of semantic versioning.
1290
1306
  - Fixed CI load failures on engines without compatible `pty` support by falling back to Open3 for interactive release commands.
1291
1307
  - Fixed Ruby 3.2 version-bump support by loading Prism lazily and wiring the Prism gem only for MRI versions that need it.
1292
1308
 
1293
- [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.2.7...HEAD
1309
+ [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.2.8...HEAD
1310
+ [1.2.8]: https://github.com/kettle-dev/kettle-family/compare/v1.2.7...v1.2.8
1311
+ [1.2.8t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.2.8
1294
1312
  [1.2.7]: https://github.com/kettle-dev/kettle-family/compare/v1.2.6...v1.2.7
1295
1313
  [1.2.7t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.2.7
1296
1314
  [1.2.6]: https://github.com/kettle-dev/kettle-family/compare/v1.2.5...v1.2.6
data/README.md CHANGED
@@ -814,7 +814,7 @@ Thanks for RTFM. ☺️
814
814
  [📌gitmoji]: https://gitmoji.dev
815
815
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
816
816
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
817
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.884-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
817
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.886-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
818
818
  [🔐security]: https://github.com/kettle-dev/kettle-family/blob/main/SECURITY.md
819
819
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
820
820
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -52,7 +52,7 @@ module Kettle
52
52
 
53
53
  def family_local_path_root
54
54
  configured = fetch_path("family", "local_path_root")
55
- configured ? expand_config_relative_path(configured) : root
55
+ configured ? expand_config_relative_path(configured) : members_root
56
56
  end
57
57
 
58
58
  def family_local_path_env
@@ -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.7"
8
+ VERSION = "1.2.8"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
@@ -1954,7 +1954,7 @@ module Kettle
1954
1954
 
1955
1955
  def release_lockfile_local_path_env_overrides(member = nil)
1956
1956
  explicit = config.release_disable_local_path_env.to_h { |key| [key.to_s, "false"] }
1957
- derived = release_local_path_env_sources.each_with_object({}) do |(key, value), memo|
1957
+ derived = release_local_path_env_detection_sources.each_with_object({}) do |(key, value), memo|
1958
1958
  key = key.to_s
1959
1959
  next unless key.end_with?("_LOCAL", "_DEV")
1960
1960
  next unless local_path_env_value?(value)
@@ -2023,6 +2023,12 @@ module Kettle
2023
2023
  .merge(env_overrides)
2024
2024
  end
2025
2025
 
2026
+ def release_local_path_env_detection_sources
2027
+ ENV.to_h
2028
+ .merge(config.family_local_path_env)
2029
+ .merge(env_overrides)
2030
+ end
2031
+
2026
2032
  def local_path_env_value?(value)
2027
2033
  text = value.to_s.strip
2028
2034
  return false if text.empty? || text.casecmp("false").zero?
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.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -341,10 +341,10 @@ licenses:
341
341
  - AGPL-3.0-only
342
342
  metadata:
343
343
  homepage_uri: https://kettle-family.galtzo.com
344
- source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.2.7
345
- changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.2.7/CHANGELOG.md
344
+ source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.2.8
345
+ changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.2.8/CHANGELOG.md
346
346
  bug_tracker_uri: https://github.com/kettle-dev/kettle-family/issues
347
- documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.2.7
347
+ documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.2.8
348
348
  funding_uri: https://github.com/sponsors/pboling
349
349
  wiki_uri: https://github.com/kettle-dev/kettle-family/wiki
350
350
  news_uri: https://www.railsbling.com/tags/kettle-family
metadata.gz.sig CHANGED
Binary file