kettle-dev 3.0.31 → 3.0.33

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: 8793d6f66be47b9b55bc6dd2b7dce86a6b80e5b66c3a7f3a8b23356d34dbafde
4
- data.tar.gz: a15e9ab1030f1d875cf9b2f5cf13c8d271754a51a97f20dcb930ab28fc5e3eab
3
+ metadata.gz: 0b611b573a644bc27585a4f82cf71f8d66753af9b5f6035292e051ed67f684d3
4
+ data.tar.gz: 15f5ffe131324656a00be51f91a8d68aacca31152f2051a0b0338ee9dc6e0742
5
5
  SHA512:
6
- metadata.gz: 610789813bbdefc88abf9f708f80b66ceb7441ae9cab53bd579289a2d94668c90dd94435185ff629a6ec625da50c465b6bde1d13a1cc31c796857808c4c8fa47
7
- data.tar.gz: 375cf47db46bc26f3bace6b2cd03c0f3078e8af1735c2012abeb494451dcdcadfd1dac9f857d9fb8a6e8d95564a7d6a4f7631fa3936956cdafb4a4e8490d3016
6
+ metadata.gz: '088b91253bd99bc0b7b02a526f65b2ad117cd3d5a4f15c0d50f19c42bd5829b9b0c5b2ee9db7957f1cfa9f6662d213f02f5b3f8771f150b4e7816d6bbf6c210e'
7
+ data.tar.gz: 394dd243472f9d6ad45489eeb00af4084069103ea5280f567bc5f1772d9f4ddf71e233c997907ad22d0c39aad95b4de8bbdbdb5c007f4e67ad1349856155c05e
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,28 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [3.0.33] - 2026-09-07
34
+
35
+ - TAG: [v3.0.33][3.0.33t]
36
+ - COVERAGE: 91.76% -- 6068/6613 lines in 47 files
37
+ - BRANCH COVERAGE: 76.11% -- 2310/3035 branches in 47 files
38
+ - 50.35% documented
39
+
40
+ ### Fixed
41
+
42
+ - Isolate the published-gem availability probe from locally activated gems so release validation resolves the registry dependency graph.
43
+
44
+ ## [3.0.32] - 2026-09-07
45
+
46
+ - TAG: [v3.0.32][3.0.32t]
47
+ - COVERAGE: 91.83% -- 6067/6607 lines in 47 files
48
+ - BRANCH COVERAGE: 76.38% -- 2318/3035 branches in 47 files
49
+ - 50.35% documented
50
+
51
+ ### Fixed
52
+
53
+ - Preserve active local dependency selectors while generating Appraisal files during family templating.
54
+
33
55
  ## [3.0.31] - 2026-09-06
34
56
 
35
57
  - TAG: [v3.0.31][3.0.31t]
@@ -3812,7 +3834,11 @@ Please file a bug if you notice a violation of semantic versioning.
3812
3834
  - Selecting will run the selected workflow via `act`
3813
3835
  - This may move to its own gem in the future.
3814
3836
 
3815
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v3.0.31...HEAD
3837
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v3.0.33...HEAD
3838
+ [3.0.33]: https://github.com/kettle-dev/kettle-dev/compare/v3.0.32...v3.0.33
3839
+ [3.0.33t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.0.33
3840
+ [3.0.32]: https://github.com/kettle-dev/kettle-dev/compare/v3.0.31...v3.0.32
3841
+ [3.0.32t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.0.32
3816
3842
  [3.0.31]: https://github.com/kettle-dev/kettle-dev/compare/v3.0.30...v3.0.31
3817
3843
  [3.0.31t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.0.31
3818
3844
  [3.0.30]: https://github.com/kettle-dev/kettle-dev/compare/v3.0.29...v3.0.30
data/README.md CHANGED
@@ -1066,7 +1066,7 @@ Thanks for RTFM. ☺️
1066
1066
  [📌gitmoji]: https://gitmoji.dev
1067
1067
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1068
1068
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1069
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-6.598-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1069
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-6.613-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1070
1070
  [🔐security]: https://github.com/kettle-dev/kettle-dev/blob/main/SECURITY.md
1071
1071
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1072
1072
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -321,6 +321,19 @@ module Kettle
321
321
  .merge(dynamic_local_path_env)
322
322
  end
323
323
 
324
+ # Appraisal generation normally uses the release-normalized environment.
325
+ # During family templating it instead needs the caller's deliberately
326
+ # selected local graph so generated Appraisal Gemfiles can resolve
327
+ # unpublished sibling dependencies.
328
+ def appraisal_normalization_env
329
+ env = normalization_env
330
+ return env unless template_local_environment?
331
+
332
+ env.reject do |name, _value|
333
+ name == "K_JEM_TEMPLATING" || active_local_path_env?(name)
334
+ end
335
+ end
336
+
324
337
  def dynamic_local_path_env
325
338
  ENV.each_with_object({}) do |(key, value), env|
326
339
  next unless key.end_with?("_DEV", "_LOCAL")
@@ -339,6 +352,14 @@ module Kettle
339
352
  text.include?(File::SEPARATOR)
340
353
  end
341
354
 
355
+ def template_local_environment?
356
+ %w[1 true yes on].include?(ENV.fetch("K_JEM_TEMPLATING", "").to_s.strip.downcase)
357
+ end
358
+
359
+ def active_local_path_env?(name)
360
+ local_path_env_value?(ENV[name])
361
+ end
362
+
342
363
  def has_local_path_remote?(path)
343
364
  !disallowed_local_path_remote_lines(path).empty?
344
365
  end
@@ -30,7 +30,7 @@ begin
30
30
  "BUNDLE_SUPPRESS_INSTALL_USING_MESSAGES" => "true"
31
31
  }
32
32
  appraisal_env = quiet_env.merge(
33
- Kettle::Dev::LockfileReset.new(root: Dir.pwd, command_runner: ->(_command) {}).normalization_env
33
+ Kettle::Dev::LockfileReset.new(root: Dir.pwd, command_runner: ->(_command) {}).appraisal_normalization_env
34
34
  ).merge(
35
35
  unbundled_env
36
36
  ).merge(
@@ -6,6 +6,7 @@ require "open3"
6
6
  require "shellwords"
7
7
  require "time"
8
8
  require "fileutils"
9
+ require "tmpdir"
9
10
  require "net/http"
10
11
  require "openssl"
11
12
  require "json"
@@ -2035,7 +2036,13 @@ module Kettle
2035
2036
  stderr_str = nil
2036
2037
  status = nil
2037
2038
  with_unbundled_release_probe_env do
2038
- stdout_str, stderr_str, status = Open3.capture3(self.class.send(:command_env), Gem.ruby, script_path)
2039
+ with_release_availability_probe_gem_home do |gem_home|
2040
+ stdout_str, stderr_str, status = Open3.capture3(
2041
+ self.class.send(:command_env).merge("GEM_HOME" => gem_home, "GEM_PATH" => gem_home),
2042
+ Gem.ruby,
2043
+ script_path
2044
+ )
2045
+ end
2039
2046
  end
2040
2047
  $stdout.print(stdout_str) unless stdout_str.to_s.empty?
2041
2048
  if status.success?
@@ -2074,6 +2081,12 @@ module Kettle
2074
2081
  10
2075
2082
  end
2076
2083
 
2084
+ def with_release_availability_probe_gem_home
2085
+ dir = File.join(@root, "tmp", "kettle-release")
2086
+ FileUtils.mkdir_p(dir)
2087
+ Dir.mktmpdir("probe-gem-home-", dir) { |gem_home| yield gem_home }
2088
+ end
2089
+
2077
2090
  def with_unbundled_release_probe_env(&block)
2078
2091
  if defined?(Bundler)
2079
2092
  Bundler.with_unbundled_env(&block)
@@ -5,7 +5,7 @@ module Kettle
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "3.0.31"
8
+ VERSION = "3.0.33"
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: 3.0.31
4
+ version: 3.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -400,10 +400,10 @@ licenses:
400
400
  - AGPL-3.0-only
401
401
  metadata:
402
402
  homepage_uri: https://kettle-dev.galtzo.com
403
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v3.0.31
404
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v3.0.31/CHANGELOG.md
403
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v3.0.33
404
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v3.0.33/CHANGELOG.md
405
405
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
406
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/3.0.31
406
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/3.0.33
407
407
  funding_uri: https://github.com/sponsors/pboling
408
408
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
409
409
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file