kettle-family 1.2.18 → 1.2.19

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: e868e193e146eeb559019b4f24a860b25ccacee6f86a6f4b000fd2cdc101217d
4
- data.tar.gz: c3dc9a386dde8a4d6ff1ee6918c966041d47b5316f96510b9c664c36a808fab5
3
+ metadata.gz: 41b6caf412a8ed5f431a76b60e5d603efc3043743613e261f84298e0cacc7205
4
+ data.tar.gz: d2820c302c5224108468c883f1441f3a7ef943e5b15f41ce1f4bac6c8a83c949
5
5
  SHA512:
6
- metadata.gz: d4665f48921ce7e0d339c17ea305790da6dd2ee4f5739df885535f99467a52db9ead2090cfca4e6c927e5b35106177f9642f97fdb86d77d06b872715773a441f
7
- data.tar.gz: 43565531dce057aebe8f8bdc441f0d90cf33940dc13278eda9a55c0c5a02aa1a5aeb809a75fecc9b26131e12b294ab13be4fe69fbc90e19b48777911f2bf3b23
6
+ metadata.gz: 0642d481f359daccd1901ee24c537ebb65986ad2bbfd8999a39ae3bb9fd41fa4cbe8575d52b3ff607475ae1c9701b54d5a1adddd3d260051c4bb65f3c5b6b903
7
+ data.tar.gz: 15621ee82a8a69b9936bb90bc4707b53846f8a9773de831c05749323401c2325c1ebcf648fb72f99c37e793975e4f035af4888feec27adc538fd6b0ac24e8cbb
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,19 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.2.19] - 2026-07-31
34
+
35
+ - TAG: [v1.2.19][1.2.19t]
36
+ - COVERAGE: 94.13% -- 4282/4549 lines in 28 files
37
+ - BRANCH COVERAGE: 76.72% -- 1684/2195 branches in 28 files
38
+ - 28.88% documented
39
+
40
+ ### Fixed
41
+
42
+ - Legacy Bundler recovery now retries template lock normalization without
43
+ `--add-checksums` after that flag is rejected, instead of repeating the same
44
+ unsupported command.
45
+
33
46
  ## [1.2.18] - 2026-07-31
34
47
 
35
48
  - TAG: [v1.2.18][1.2.18t]
@@ -1555,7 +1568,9 @@ Please file a bug if you notice a violation of semantic versioning.
1555
1568
  - Fixed CI load failures on engines without compatible `pty` support by falling back to Open3 for interactive release commands.
1556
1569
  - Fixed Ruby 3.2 version-bump support by loading Prism lazily and wiring the Prism gem only for MRI versions that need it.
1557
1570
 
1558
- [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.2.18...HEAD
1571
+ [Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.2.19...HEAD
1572
+ [1.2.19]: https://github.com/kettle-dev/kettle-family/compare/v1.2.18...v1.2.19
1573
+ [1.2.19t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.2.19
1559
1574
  [1.2.18]: https://github.com/kettle-dev/kettle-family/compare/v1.2.17...v1.2.18
1560
1575
  [1.2.18t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.2.18
1561
1576
  [1.2.17]: https://github.com/kettle-dev/kettle-family/compare/v1.2.16...v1.2.17
data/README.md CHANGED
@@ -819,7 +819,7 @@ Thanks for RTFM. ☺️
819
819
  [📌gitmoji]: https://gitmoji.dev
820
820
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
821
821
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
822
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.543-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
822
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.549-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
823
823
  [🔐security]: https://github.com/kettle-dev/kettle-family/blob/main/SECURITY.md
824
824
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
825
825
  [📄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.18"
8
+ VERSION = "1.2.19"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
@@ -2499,7 +2499,7 @@ module Kettle
2499
2499
  result = runner.call(
2500
2500
  member: member,
2501
2501
  phase: phase,
2502
- command: normalize_lockfiles_command(member: member, phase: phase),
2502
+ command: normalize_lockfiles_command(member: member, phase: phase, skip_checksum_option: true),
2503
2503
  env: workflow_env
2504
2504
  )
2505
2505
  end
@@ -2553,14 +2553,15 @@ module Kettle
2553
2553
  release_lockfile_env(member).merge("K_JEM_TEMPLATING" => "false")
2554
2554
  end
2555
2555
 
2556
- def normalize_lockfiles_command(member:, phase:)
2556
+ def normalize_lockfiles_command(member:, phase:, skip_checksum_option: false)
2557
2557
  configured = config.normalize_lockfiles_command
2558
2558
  return configured unless template_prepare_lockfiles_phase?(phase)
2559
2559
  return %w[bundle install] if bundle_update_command?(configured) && !File.file?(File.join(member.root, "Gemfile.lock"))
2560
2560
 
2561
- PRE_TEMPLATE_BOOTSTRAP_GEMS.select { |gem_name| member_lockfile_contains_gem?(member, gem_name) }.reduce(configured) do |command_text, gem_name|
2561
+ command = PRE_TEMPLATE_BOOTSTRAP_GEMS.select { |gem_name| member_lockfile_contains_gem?(member, gem_name) }.reduce(configured) do |command_text, gem_name|
2562
2562
  append_command_arg(command_text, gem_name)
2563
2563
  end
2564
+ skip_checksum_option ? remove_command_arg(command, "--add-checksums") : command
2564
2565
  end
2565
2566
 
2566
2567
  def bundle_update_command?(command_text)
@@ -2590,6 +2591,14 @@ module Kettle
2590
2591
  "#{command_text} #{Shellwords.escape(arg)}"
2591
2592
  end
2592
2593
 
2594
+ def remove_command_arg(command_text, arg)
2595
+ argv = command_text.is_a?(Array) ? command_text.map(&:to_s) : Shellwords.split(command_text.to_s)
2596
+ argv.delete(arg)
2597
+ command_text.is_a?(Array) ? argv : Shellwords.join(argv)
2598
+ rescue ArgumentError
2599
+ command_text
2600
+ end
2601
+
2593
2602
  def normalize_command_includes_arg?(command_text, arg)
2594
2603
  argv = if command_text.is_a?(Array)
2595
2604
  command_text.map(&:to_s)
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.18
4
+ version: 1.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -342,10 +342,10 @@ licenses:
342
342
  - AGPL-3.0-only
343
343
  metadata:
344
344
  homepage_uri: https://kettle-family.galtzo.com
345
- source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.2.18
346
- changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.2.18/CHANGELOG.md
345
+ source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v1.2.19
346
+ changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v1.2.19/CHANGELOG.md
347
347
  bug_tracker_uri: https://github.com/kettle-dev/kettle-family/issues
348
- documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.2.18
348
+ documentation_uri: https://www.rubydoc.info/gems/kettle-family/1.2.19
349
349
  funding_uri: https://github.com/sponsors/pboling
350
350
  wiki_uri: https://github.com/kettle-dev/kettle-family/wiki
351
351
  news_uri: https://www.railsbling.com/tags/kettle-family
metadata.gz.sig CHANGED
Binary file