kettle-jem 7.1.43 → 7.1.44

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +66 -4
  4. data/README.md +3 -3
  5. data/lib/kettle/jem/maintenance_changelog.rb +1 -1
  6. data/lib/kettle/jem/tasks/install_task.rb +97 -4
  7. data/lib/kettle/jem/templates/.github/workflows/coverage.yml.example +1 -1
  8. data/lib/kettle/jem/templates/.github/workflows/current.yml.example +1 -1
  9. data/lib/kettle/jem/templates/.github/workflows/dep-heads.yml.example +3 -3
  10. data/lib/kettle/jem/templates/.github/workflows/framework-ci.yml.example +1 -1
  11. data/lib/kettle/jem/templates/.github/workflows/heads.yml.example +2 -2
  12. data/lib/kettle/jem/templates/.github/workflows/jruby-10.0.yml.example +1 -1
  13. data/lib/kettle/jem/templates/.github/workflows/jruby-9.1.yml.example +1 -1
  14. data/lib/kettle/jem/templates/.github/workflows/jruby-9.2.yml.example +1 -1
  15. data/lib/kettle/jem/templates/.github/workflows/jruby-9.3.yml.example +1 -1
  16. data/lib/kettle/jem/templates/.github/workflows/jruby-9.4.yml.example +1 -1
  17. data/lib/kettle/jem/templates/.github/workflows/jruby.yml.example +1 -1
  18. data/lib/kettle/jem/templates/.github/workflows/locked_deps.yml.example +1 -1
  19. data/lib/kettle/jem/templates/.github/workflows/opencollective.yml.example +1 -1
  20. data/lib/kettle/jem/templates/.github/workflows/perf-comment.yml.example +1 -1
  21. data/lib/kettle/jem/templates/.github/workflows/perf.yml.example +2 -2
  22. data/lib/kettle/jem/templates/.github/workflows/ruby-2.3.yml.example +1 -1
  23. data/lib/kettle/jem/templates/.github/workflows/ruby-2.4.yml.example +1 -1
  24. data/lib/kettle/jem/templates/.github/workflows/ruby-2.5.yml.example +1 -1
  25. data/lib/kettle/jem/templates/.github/workflows/ruby-2.6.yml.example +1 -1
  26. data/lib/kettle/jem/templates/.github/workflows/ruby-2.7.yml.example +1 -1
  27. data/lib/kettle/jem/templates/.github/workflows/ruby-3.0.yml.example +1 -1
  28. data/lib/kettle/jem/templates/.github/workflows/ruby-3.1.yml.example +1 -1
  29. data/lib/kettle/jem/templates/.github/workflows/ruby-3.2.yml.example +1 -1
  30. data/lib/kettle/jem/templates/.github/workflows/ruby-3.3.yml.example +1 -1
  31. data/lib/kettle/jem/templates/.github/workflows/ruby-3.4.yml.example +1 -1
  32. data/lib/kettle/jem/templates/.github/workflows/style.yml.example +1 -1
  33. data/lib/kettle/jem/templates/.github/workflows/templating.yml.example +1 -1
  34. data/lib/kettle/jem/templates/.github/workflows/truffle.yml.example +1 -1
  35. data/lib/kettle/jem/templates/.github/workflows/truffleruby-22.3.yml.example +1 -1
  36. data/lib/kettle/jem/templates/.github/workflows/truffleruby-23.1.yml.example +1 -1
  37. data/lib/kettle/jem/templates/.github/workflows/truffleruby-24.2.yml.example +1 -1
  38. data/lib/kettle/jem/templates/.github/workflows/truffleruby-25.0.yml.example +1 -1
  39. data/lib/kettle/jem/templates/.github/workflows/truffleruby-33.0.yml.example +1 -1
  40. data/lib/kettle/jem/templates/.github/workflows/unlocked_deps.yml.example +1 -1
  41. data/lib/kettle/jem/templates/gem.gemspec.example +1 -1
  42. data/lib/kettle/jem/templates/gemfiles/modular/coverage.gemfile.example +1 -1
  43. data/lib/kettle/jem/templates/shim/gem.gemspec.example +1 -1
  44. data/lib/kettle/jem/version.rb +1 -1
  45. data/lib/kettle/jem.rb +10 -10
  46. data.tar.gz.sig +0 -0
  47. metadata +4 -5
  48. metadata.gz.sig +0 -0
  49. data/lib/kettle/jem/templates/.idea/.gitignore.example +0 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90d9232615b86a4faca376ab6adaa2b7764b20966c2b2c138b16a7f2dacc022b
4
- data.tar.gz: edbe4b4455b6f1d49b207728ad43325618a82dc0ae32c7dabe1b1a6a5cac0209
3
+ metadata.gz: de97151a523546f9fd0b8fd72572b4220da601fbf6b52ef823542de32b87ac45
4
+ data.tar.gz: 8ae4abaf748e07f24ec047e201e719617487a89a85faf1ffd9a9a85a46d46b9a
5
5
  SHA512:
6
- metadata.gz: 912fd66bc0040ea4ae432806dab26de6dcfb9f417dd8c23a8dbe4491c3e9b66f9588759f48804db931252aeb1e7f864743877c2bec61a8abe45482a4a11daec9
7
- data.tar.gz: 4a319538f077f936119d24598b4d87621ffce662829a003b5760bd73d35160759d6e5a9fea4ea846b2861c07fd443c4fb77b787e04b75f568b74381b536fc9f3
6
+ metadata.gz: 0ea84e7e950405b8cd4432a33199e0b828b3ae139217b50f4015615c72eb674e7cbfd300eefcd3f3badba6118f8f671fab56f10e1587966873c4a4fdfb00d287
7
+ data.tar.gz: 73c09d99006422436575373be83e68da3f6aa2b3cd9fb9b231def702924c1b08150ba32156317ca11d7550015a25cba0761036e0ecf9097ebd7807265f19b3ca
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -20,6 +20,48 @@ Please file a bug if you notice a violation of semantic versioning.
20
20
 
21
21
  ### Added
22
22
 
23
+ ### Changed
24
+
25
+ - Generated GitHub Actions workflows now pin setup-ruby-flash v2.15, whose nested actions are SHA-pinned so repositories that require full-length SHA pins can run it.
26
+
27
+ - [kc] kettle-jem-workflow-pins: Update pinned GitHub Actions in kettle-jem templates:
28
+ - ruby/setup-ruby v1.344.0 (78c62f2208e480ce3d5ae4dfd9b9e181acf48b63) -> v1.345.0 (145243922b4465b78e04dd66294782c7de45901f)
29
+
30
+ - [kc] kettle-jem-deps-floor: Update kettle-jem template dependency floors:
31
+ - kettle-dev (>= 3.1.31 -> >= 3.1.32)
32
+ - kettle-family (>= 1.3.49 -> >= 1.3.50)
33
+ - kettle-soup-cover (>= 3.0.16 -> >= 3.0.17)
34
+
35
+ ### Deprecated
36
+
37
+ ### Removed
38
+
39
+ ### Fixed
40
+
41
+ ### Security
42
+
43
+ ## [7.1.44] - 2026-11-25
44
+
45
+ - TAG: [v7.1.44][7.1.44t]
46
+ - COVERAGE: 93.76% -- 11911/12704 lines in 17 files
47
+ - BRANCH COVERAGE: 77.54% -- 5185/6687 branches in 17 files
48
+ - 21.57% documented
49
+
50
+ ### Changed
51
+
52
+ - [kc] kettle-jem-deps-floor: Update kettle-jem template dependency floors:
53
+ - kettle-changelog (>= 1.0.20 -> >= 1.0.21)
54
+ - kettle-family (>= 1.3.48 -> >= 1.3.49)
55
+
56
+ ## [7.1.43] - 2026-11-24
57
+
58
+ - TAG: [v7.1.43][7.1.43t]
59
+ - COVERAGE: 93.85% -- 11923/12704 lines in 17 files
60
+ - BRANCH COVERAGE: 77.67% -- 5194/6687 branches in 17 files
61
+ - 21.57% documented
62
+
63
+ ### Added
64
+
23
65
  - `workflows.legacy_engines` opts an EOL engine workflow back in, as a list (`- truffleruby-24.2`) or a map keyed by workflow name with optional `mode` (`parallel` default, `serial` runs the job with `KETTLE_TEST_RUNNER=rspec`, `experimental` adds `experimental: true` to its matrix entry), `tracking` (issue URL) and `revisit_by` (date; a warning is reported once it has passed). Templating also reports a warning for every EOL workflow it removes, so the deletion is never silent.
24
66
 
25
67
  ### Changed
@@ -80,8 +122,6 @@ Please file a bug if you notice a violation of semantic versioning.
80
122
 
81
123
  - README post-processing no longer treats badge image definitions (shields.io URLs) as workflow references, which stripped the inline badges that use them on every run. Compatible versioned engine badges (for example Truffle Ruby 33.0) whose workflow exists are now added as intended. (#133)
82
124
 
83
- - Template sweep no longer deletes per-Ruby-version modular gemfile variants (x_std_libs r2/r3/r3.1 libs.gemfile and the std-lib gem variants they load) while a committed version-split loader still eval_gemfile's them; gemfile sweep deletions now respect the reference closure of the loaders that remain, so only genuinely unreferenced variants are pruned.
84
-
85
125
  - [kc] alef-gemspec-spec-files: Kettle Jem now merges Alef-generated spec.files candidate lists and exclusion filters while retaining destination gem version metadata.
86
126
 
87
127
  - Remove the Style/SafeNavigation offense from the generated gemfiles/modular/style_local.gemfile (spec&.version in the local_gem_satisfies? gemspec guard), so templated projects no longer carry a .rubocop_gradual.lock baseline entry for it
@@ -104,7 +144,25 @@ Please file a bug if you notice a violation of semantic versioning.
104
144
 
105
145
  ### Changed
106
146
 
107
- - Historical release notes are unavailable in this changelog.
147
+ - [kc] kettle-jem/prepare: updated 24 project files:
148
+ - configuration (1)
149
+ - dependencies (23)
150
+
151
+ - [kc] kettle-jem/template: updated 5 project files:
152
+ - code and tests (1)
153
+ - dependencies (2)
154
+ - documentation (1)
155
+ - other (1)
156
+
157
+ - [kc] kettle-jem-deps-floor: Update kettle-jem template dependency floors:
158
+ - kettle-family (>= 1.3.36 -> >= 1.3.37)
159
+
160
+ - [kc] kettle-jem-workflow-pins: Update pinned GitHub Actions in kettle-jem templates:
161
+ - ruby/setup-ruby v1.335.0 (7f797815d8adceb1c412e7abefdd1ab4abc47a5f) -> v1.336.0 (de492cf36cbab201753d720ce4f4e336cd688c94)
162
+
163
+ ### Fixed
164
+
165
+ - Template sweep no longer deletes per-Ruby-version modular gemfile variants (x_std_libs r2/r3/r3.1 libs.gemfile and the std-lib gem variants they load) while a committed version-split loader still eval_gemfile's them; gemfile sweep deletions now respect the reference closure of the loaders that remain, so only genuinely unreferenced variants are pruned.
108
166
 
109
167
  ## [7.1.41] - 2026-10-29
110
168
 
@@ -2622,7 +2680,11 @@ Please file a bug if you notice a violation of semantic versioning.
2622
2680
  - Released kettle-jem as part of the initial StructuredMerge Ruby 7.0.0 gem set.
2623
2681
  - Included packaged templates and parser-backed merge support for Ruby gem templating.
2624
2682
 
2625
- [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.42...HEAD
2683
+ [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.44...HEAD
2684
+ [7.1.44]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.43...v7.1.44
2685
+ [7.1.44t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.44
2686
+ [7.1.43]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.42...v7.1.43
2687
+ [7.1.43t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.43
2626
2688
  [7.1.42]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.41...v7.1.42
2627
2689
  [7.1.42t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.42
2628
2690
  [7.1.41]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.40...v7.1.41
data/README.md CHANGED
@@ -421,8 +421,8 @@ Common tokens:
421
421
  `machine_users` excludes configured Git author names or email addresses from
422
422
  Git-derived copyright output. Any identity containing `[bot]` is filtered
423
423
  automatically. The built-in machine-account set includes `autobolt`,
424
- `StepSecurity Bot`, `dependabot[bot]`, and `depfu[bot]`; configured entries
425
- extend this set rather than replacing it.
424
+ `fossabot`, `StepSecurity Bot`, `dependabot[bot]`, and `depfu[bot]`; configured
425
+ entries extend this set rather than replacing it.
426
426
 
427
427
  `author_aliases` consolidates alternate Git author names or email addresses to
428
428
  canonical display names. The mapping is case-insensitive and applies to Git
@@ -949,7 +949,7 @@ Thanks for RTFM. ☺️
949
949
  [📌gitmoji]: https://gitmoji.dev
950
950
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
951
951
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
952
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.384-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
952
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.704-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
953
953
  [🔐security]: https://github.com/structuredmerge/structuredmerge-ruby/blob/main/SECURITY.md
954
954
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
955
955
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -141,7 +141,7 @@ module Kettle
141
141
  details = counts.sort_by { |category, _count| category.to_s }.map do |category, count|
142
142
  " - #{category.to_s.tr("_", " ")} (#{count})"
143
143
  end
144
- ["updated #{total} project file#{"s" unless total == 1}:", *details].join("\n")
144
+ ["updated #{total} project file#{"s" unless total == 1} since the last release:", *details].join("\n")
145
145
  end
146
146
 
147
147
  def template_change_category(path)
@@ -22,6 +22,10 @@ module Kettle
22
22
  yard
23
23
  ].freeze
24
24
  GIT_OPERATION_LOCK_ENV_KEYS = %w[KETTLE_JEM_GIT_LOCK KETTLE_JEM_GIT_COMMIT_LOCK].freeze
25
+ # Identifies which (possibly nested) kettle-jem invocation made a bootstrap commit.
26
+ # Nested invocations (the bundled handoff) append their phase to the inherited one.
27
+ COMMIT_PHASE_ENV_KEY = "KETTLE_JEM_COMMIT_PHASE"
28
+ DEFAULT_COMMIT_PHASE = "install"
25
29
  GIT_OPERATION_LOCK_RETRY_ATTEMPTS = 5
26
30
  GIT_OPERATION_LOCK_RETRY_SLEEP_SECONDS = 0.25
27
31
 
@@ -29,6 +33,7 @@ module Kettle
29
33
  effective_run_options = install_run_options(env, run_options)
30
34
  config_migration_step = kettle_config_migration_step(project_root)
31
35
  effective_run_options = effective_run_options.merge(defer_drift_check: true)
36
+ predirty_paths = git_dirty_paths(project_root)
32
37
  report = Kettle::Jem.apply_project(project_root, env: env, run_options: effective_run_options)
33
38
  report = followup_apply_after_config_bootstrap(project_root, env: env, run_options: effective_run_options, report: report)
34
39
  install_steps = []
@@ -51,6 +56,8 @@ module Kettle
51
56
  install_steps << normalize_lockfile_platforms_step(project_root, env: setup_env, run_options: effective_run_options)
52
57
  install_steps << normalize_lockfile_step(project_root, env: setup_env, run_options: effective_run_options, repository: report.dig(:facts, :repository) || {})
53
58
  install_steps << bundled_handoff_step(project_root: project_root, env: env, run_options: effective_run_options)
59
+ # Must stay after the handoff: the handoff runs `bundle exec` and needs the (local-path) lock it was given.
60
+ install_steps << registry_lockfile_refresh_step(project_root, env: setup_env, run_options: effective_run_options, repository: report.dig(:facts, :repository) || {})
54
61
  install_steps = execute_orchestration_steps(install_steps, project_root: project_root, env: setup_env, run_options: effective_run_options, command_runner: command_runner)
55
62
 
56
63
  final_report = report.merge(
@@ -64,6 +71,7 @@ module Kettle
64
71
  message: "kettle:jem:install applied templates, completed local post-template checks, and executed available orchestration steps."
65
72
  }]
66
73
  )
74
+ final_report = include_post_step_changed_files(final_report, project_root, env, predirty_paths)
67
75
  final_report = Kettle::Jem::MaintenanceChangelog.record_template_run(
68
76
  project_root: project_root,
69
77
  report: final_report,
@@ -74,7 +82,7 @@ module Kettle
74
82
  report: final_report,
75
83
  run_options: effective_run_options
76
84
  )
77
- bootstrap_commit = bootstrap_commit_step(project_root, run_options: effective_run_options)
85
+ bootstrap_commit = bootstrap_commit_step(project_root, run_options: effective_run_options, env: env)
78
86
  install_steps.concat(
79
87
  execute_orchestration_steps(
80
88
  [bootstrap_commit],
@@ -785,6 +793,40 @@ module Kettle
785
793
  }
786
794
  end
787
795
 
796
+ # In local-path development mode (*_DEV / *_LOCAL env) the normalization steps above are skipped, and
797
+ # templating leaves a Gemfile.lock resolved against machine-specific PATH sources. That lock must never
798
+ # be committed, but dependency pin updates still belong in it. So: reset the lock to what is committed,
799
+ # then re-resolve against released sources with every *_DEV / *_LOCAL override switched off.
800
+ def registry_lockfile_refresh_step(project_root, env:, run_options: {}, repository: {})
801
+ return skipped_lockfile_normalization_step("registry_lockfile_refresh", "skip_lock_normalization") if Kettle::Jem::DecisionPolicy.value_to_boolean((run_options || {})[:skip_lock_normalization])
802
+ return skipped_lockfile_normalization_step("registry_lockfile_refresh", "not_local_path_development_env") unless local_path_development_env?(env)
803
+ return skipped_lockfile_normalization_step("registry_lockfile_refresh", "untracked_Gemfile.lock") unless git_success?(project_root, "ls-files", "--error-unmatch", LOCKFILE_PATH)
804
+
805
+ command_env = normal_lockfile_env(project_root, env, repository: repository)
806
+ command_env.keys.each { |key| command_env[key] = "false" if key.to_s.end_with?("_DEV", "_LOCAL") }
807
+ {
808
+ name: "registry_lockfile_refresh",
809
+ status: "ready",
810
+ env: command_env,
811
+ reason: "reset_lockfile_and_update_from_released_sources"
812
+ }
813
+ end
814
+
815
+ def execute_registry_lockfile_refresh_step(step, project_root:, quiet:, command_runner:)
816
+ return step unless step.fetch(:status) == "ready"
817
+
818
+ restore = git_success?(project_root, "checkout", "--", LOCKFILE_PATH)
819
+ return step.merge(status: "failed", reason: "could_not_reset_lockfile") unless restore
820
+
821
+ result = run_ready_step_command(step.fetch(:name), lockfile_normalization_command(project_root), project_root: project_root, env: step.fetch(:env), quiet: quiet, command_runner: command_runner)
822
+ step.merge(status: "succeeded", exitstatus: result[:exitstatus], duration_ms: result.fetch(:duration_ms), reason: "executed")
823
+ rescue Kettle::Jem::Error => error
824
+ # Unreleased family floors can make a registry-only resolve impossible. Leave the committed lock untouched
825
+ # rather than leaving the working tree dirty or committing local paths.
826
+ git_success?(project_root, "checkout", "--", LOCKFILE_PATH)
827
+ step.merge(status: "failed", reason: "registry_resolution_failed_lockfile_reset", stderr: error.message)
828
+ end
829
+
788
830
  def normalize_lockfile_platforms_step(project_root, env:, run_options: {})
789
831
  return skipped_lockfile_normalization_step("lockfile_platform_normalization", "skip_lock_normalization") if Kettle::Jem::DecisionPolicy.value_to_boolean((run_options || {})[:skip_lock_normalization])
790
832
  return skipped_lockfile_normalization_step("lockfile_platform_normalization", "local_path_development_env") if local_path_development_env?(env)
@@ -1264,6 +1306,8 @@ module Kettle
1264
1306
  execute_ready_command_step(step, project_root: project_root, env: env, quiet: quiet, command_runner: command_runner)
1265
1307
  when "lockfile_platform_normalization"
1266
1308
  execute_lockfile_platform_normalization_step(step, project_root: project_root)
1309
+ when "registry_lockfile_refresh"
1310
+ execute_registry_lockfile_refresh_step(step, project_root: project_root, quiet: quiet, command_runner: command_runner)
1267
1311
  when "rubocop_lts_local_branch"
1268
1312
  execute_ready_command_step(step, project_root: project_root, env: env, quiet: quiet, command_runner: command_runner)
1269
1313
  when "bundle_install_requested_env"
@@ -1829,12 +1873,48 @@ module Kettle
1829
1873
  {
1830
1874
  name: "bundled_handoff",
1831
1875
  command: bundled_handoff_command(run_options),
1876
+ env: setup_command_env(project_root, env).merge(
1877
+ COMMIT_PHASE_ENV_KEY => "#{commit_phase(env)}>bundled_handoff"
1878
+ ),
1832
1879
  status: "ready",
1833
1880
  reason: "ready_for_orchestration"
1834
1881
  }
1835
1882
  end
1836
1883
 
1837
- def bootstrap_commit_step(project_root, run_options:)
1884
+ LOCKFILE_PATH = "Gemfile.lock"
1885
+
1886
+ # Files changed by post-template steps (binstubs, lockfiles, ...) that the apply report does not know about.
1887
+ def include_post_step_changed_files(report, project_root, env, predirty_paths)
1888
+ extra = git_dirty_paths(project_root) - predirty_paths
1889
+ extra -= [LOCKFILE_PATH] if local_path_lockfile_to_restore?(project_root, env)
1890
+ return report if extra.empty?
1891
+
1892
+ report.merge(changed_files: (Array(report[:changed_files]) + extra).uniq.sort)
1893
+ end
1894
+
1895
+ def git_dirty_paths(project_root)
1896
+ git_output(project_root, "status", "--porcelain", "-z", "--untracked-files=all")
1897
+ .split("\0").map { |entry| entry[3..] }.compact.reject(&:empty?).sort
1898
+ end
1899
+
1900
+ # A Gemfile.lock resolved in local-path development mode (*_DEV / *_LOCAL env) embeds
1901
+ # absolute `remote: /...` PATH sources from the machine that ran templating. It must not be committed.
1902
+ def local_path_lockfile_to_restore?(project_root, env)
1903
+ return false unless local_path_development_env?(env)
1904
+ return false unless git_success?(project_root, "ls-files", "--error-unmatch", LOCKFILE_PATH)
1905
+ return false if git_success?(project_root, "diff", "--quiet", "--", LOCKFILE_PATH)
1906
+
1907
+ File.foreach(File.join(project_root.to_s, LOCKFILE_PATH)).any? { |line| line.match?(/\A\s+remote: \//) }
1908
+ rescue Errno::ENOENT
1909
+ false
1910
+ end
1911
+
1912
+ def commit_phase(env)
1913
+ phase = (env || {})[COMMIT_PHASE_ENV_KEY].to_s.strip
1914
+ phase.empty? ? DEFAULT_COMMIT_PHASE : phase
1915
+ end
1916
+
1917
+ def bootstrap_commit_step(project_root, run_options:, env: ENV)
1838
1918
  if Kettle::Jem::DecisionPolicy.value_to_boolean((run_options || {})[:skip_commit])
1839
1919
  return {
1840
1920
  name: "bootstrap_commit",
@@ -1851,7 +1931,9 @@ module Kettle
1851
1931
  }
1852
1932
  end
1853
1933
 
1934
+ restore_lockfile = local_path_lockfile_to_restore?(project_root, env)
1854
1935
  dirty_entries = git_output(project_root, "status", "--porcelain").lines.map(&:chomp).reject(&:empty?)
1936
+ committable_entries = restore_lockfile ? dirty_entries.reject { |entry| entry[3..] == LOCKFILE_PATH } : dirty_entries
1855
1937
  if dirty_entries.empty?
1856
1938
  return {
1857
1939
  name: "bootstrap_commit",
@@ -1861,15 +1943,26 @@ module Kettle
1861
1943
  end
1862
1944
 
1863
1945
  commands = []
1946
+ commands << ["git", "checkout", "--", LOCKFILE_PATH] if restore_lockfile
1947
+ if committable_entries.empty?
1948
+ return {
1949
+ name: "bootstrap_commit",
1950
+ status: "ready",
1951
+ dirty_entries: dirty_entries,
1952
+ commands: commands,
1953
+ restored_lockfile: LOCKFILE_PATH,
1954
+ reason: "restored_local_path_lockfile_only"
1955
+ }
1956
+ end
1864
1957
  commands << %w[git add -A -- .]
1865
- commands << ["git", "commit", "-m", "chore(templates): 🎨 bootstrap by kettle-jem v#{Kettle::Jem::Version::VERSION}"]
1958
+ commands << ["git", "commit", "-m", "chore(templates): 🎨 bootstrap by kettle-jem v#{Kettle::Jem::Version::VERSION} [phase: #{commit_phase(env)}]"]
1866
1959
  {
1867
1960
  name: "bootstrap_commit",
1868
1961
  status: "ready",
1869
1962
  dirty_entries: dirty_entries,
1870
1963
  commands: commands,
1871
1964
  reason: "ready_for_orchestration"
1872
- }
1965
+ }.tap { |step| step[:restored_lockfile] = LOCKFILE_PATH if restore_lockfile }
1873
1966
  end
1874
1967
 
1875
1968
  def git_success?(project_root, *args)
@@ -63,7 +63,7 @@ jobs:
63
63
  persist-credentials: false
64
64
 
65
65
  - name: Setup Ruby & RubyGems
66
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
66
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
67
67
  with:
68
68
  ruby-version: "${{ matrix.ruby }}"
69
69
  rubygems: "${{ matrix.rubygems }}"
@@ -47,7 +47,7 @@ jobs:
47
47
  persist-credentials: false
48
48
 
49
49
  - name: Setup Ruby & RubyGems
50
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 bundle validation and compatibility installation
50
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 bundle validation and compatibility installation
51
51
  with:
52
52
  ruby-version: ${{ matrix.ruby }}
53
53
  rubygems: ${{ matrix.rubygems }}
@@ -64,7 +64,7 @@ jobs:
64
64
 
65
65
  - name: Setup Ruby & RubyGems
66
66
  if: ${{ !env.ACT }}
67
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
67
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
68
68
  with:
69
69
  ruby-version: ${{ matrix.ruby }}
70
70
  rubygems: ${{ matrix.rubygems }}
@@ -137,7 +137,7 @@ jobs:
137
137
 
138
138
  - name: Setup Ruby & RubyGems
139
139
  if: ${{ !env.ACT }}
140
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
140
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
141
141
  with:
142
142
  ruby-version: ${{ matrix.ruby }}
143
143
  rubygems: ${{ matrix.rubygems }}
@@ -216,7 +216,7 @@ jobs:
216
216
 
217
217
  - name: Setup Ruby & RubyGems
218
218
  if: ${{ !env.ACT }}
219
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
219
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
220
220
  with:
221
221
  ruby-version: ${{ matrix.ruby }}
222
222
  rubygems: ${{ matrix.rubygems }}
@@ -61,7 +61,7 @@ jobs:
61
61
  persist-credentials: false
62
62
 
63
63
  - name: Setup Ruby & RubyGems
64
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
64
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
65
65
  with:
66
66
  ruby-version: "${{ matrix.ruby }}"
67
67
  rubygems: "${{ matrix.rubygems }}"
@@ -57,7 +57,7 @@ jobs:
57
57
 
58
58
  - name: Setup Ruby & RubyGems
59
59
  if: ${{ !env.ACT }}
60
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
60
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
61
61
  with:
62
62
  ruby-version: ${{ matrix.ruby }}
63
63
  rubygems: ${{ matrix.rubygems }}
@@ -123,7 +123,7 @@ jobs:
123
123
 
124
124
  - name: Setup Ruby & RubyGems
125
125
  if: ${{ !env.ACT }}
126
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
126
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
127
127
  with:
128
128
  ruby-version: ${{ matrix.ruby }}
129
129
  rubygems: ${{ matrix.rubygems }}
@@ -63,7 +63,7 @@ jobs:
63
63
 
64
64
  - name: Setup Ruby & RubyGems
65
65
  if: ${{ !env.ACT }}
66
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
66
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
67
67
  with:
68
68
  ruby-version: ${{ matrix.ruby }}
69
69
  rubygems: ${{ matrix.rubygems }}
@@ -62,7 +62,7 @@ jobs:
62
62
 
63
63
  - name: Setup Ruby & RubyGems
64
64
  if: ${{ !env.ACT }}
65
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
65
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
66
66
  with:
67
67
  ruby-version: ${{ matrix.ruby }}
68
68
  rubygems: ${{ matrix.rubygems }}
@@ -62,7 +62,7 @@ jobs:
62
62
 
63
63
  - name: Setup Ruby & RubyGems
64
64
  if: ${{ !env.ACT }}
65
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
65
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
66
66
  with:
67
67
  ruby-version: ${{ matrix.ruby }}
68
68
  rubygems: ${{ matrix.rubygems }}
@@ -62,7 +62,7 @@ jobs:
62
62
 
63
63
  - name: Setup Ruby & RubyGems
64
64
  if: ${{ !env.ACT }}
65
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
65
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
66
66
  with:
67
67
  ruby-version: ${{ matrix.ruby }}
68
68
  rubygems: ${{ matrix.rubygems }}
@@ -62,7 +62,7 @@ jobs:
62
62
 
63
63
  - name: Setup Ruby & RubyGems
64
64
  if: ${{ !env.ACT }}
65
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
65
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
66
66
  with:
67
67
  ruby-version: ${{ matrix.ruby }}
68
68
  rubygems: ${{ matrix.rubygems }}
@@ -63,7 +63,7 @@ jobs:
63
63
 
64
64
  - name: Setup Ruby & RubyGems
65
65
  if: ${{ !env.ACT }}
66
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
66
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
67
67
  with:
68
68
  ruby-version: ${{ matrix.ruby }}
69
69
  rubygems: ${{ matrix.rubygems }}
@@ -77,7 +77,7 @@ jobs:
77
77
  persist-credentials: false
78
78
 
79
79
  - name: Setup Ruby & RubyGems
80
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
80
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
81
81
  with:
82
82
  ruby-version: ${{ matrix.ruby }}
83
83
  rubygems: ${{ matrix.rubygems }}
@@ -20,7 +20,7 @@ jobs:
20
20
  with:
21
21
  persist-credentials: false
22
22
  - name: Setup Ruby & RubyGems
23
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
23
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
24
24
  with:
25
25
  ruby-version: ruby
26
26
  rubygems: default
@@ -49,7 +49,7 @@ jobs:
49
49
  path: ${{ runner.temp }}/report
50
50
  run-id: ${{ github.event.workflow_run.id }}
51
51
  github-token: ${{ github.token }}
52
- - uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
52
+ - uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0
53
53
  if: steps.report.outcome == 'success'
54
54
  with:
55
55
  ruby-version: ruby
@@ -144,7 +144,7 @@ jobs:
144
144
  - name: Setup the baseline's Ruby
145
145
  id: baseline-ruby
146
146
  if: steps.baseline.outputs.ruby != ''
147
- uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
147
+ uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0
148
148
  with:
149
149
  ruby-version: ${{ steps.baseline.outputs.ruby }}
150
150
  # The bundle for this Ruby too, which the baseline's workers load.
@@ -161,7 +161,7 @@ jobs:
161
161
 
162
162
  # The candidate's Ruby, from its version file (the same one Duel reads)
163
163
  - name: Setup Ruby & RubyGems
164
- uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
164
+ uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0
165
165
  with:
166
166
  bundler-cache: true
167
167
 
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -53,7 +53,7 @@ jobs:
53
53
  persist-credentials: false
54
54
 
55
55
  - name: Setup Ruby & RubyGems
56
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
56
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
57
57
  with:
58
58
  ruby-version: ${{ matrix.ruby }}
59
59
  rubygems: ${{ matrix.rubygems }}
@@ -53,7 +53,7 @@ jobs:
53
53
  persist-credentials: false
54
54
 
55
55
  - name: Setup Ruby & RubyGems
56
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
56
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
57
57
  with:
58
58
  ruby-version: ${{ matrix.ruby }}
59
59
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -50,7 +50,7 @@ jobs:
50
50
  persist-credentials: false
51
51
 
52
52
  - name: Setup Ruby & RubyGems
53
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
53
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
54
54
  with:
55
55
  ruby-version: ${{ matrix.ruby }}
56
56
  rubygems: ${{ matrix.rubygems }}
@@ -47,7 +47,7 @@ jobs:
47
47
  persist-credentials: false
48
48
 
49
49
  - name: Setup Ruby & RubyGems
50
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
50
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
51
51
  with:
52
52
  ruby-version: ${{ matrix.ruby }}
53
53
  rubygems: ${{ matrix.rubygems }}
@@ -52,7 +52,7 @@ jobs:
52
52
  persist-credentials: false
53
53
 
54
54
  - name: Setup Ruby & RubyGems
55
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
55
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
56
56
  with:
57
57
  ruby-version: ${{ matrix.ruby }}
58
58
  rubygems: ${{ matrix.rubygems }}
@@ -61,7 +61,7 @@ jobs:
61
61
 
62
62
  - name: Setup Ruby & RubyGems
63
63
  if: ${{ !env.ACT }}
64
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
64
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
65
65
  with:
66
66
  ruby-version: ${{ matrix.ruby }}
67
67
  rubygems: ${{ matrix.rubygems }}
@@ -63,7 +63,7 @@ jobs:
63
63
 
64
64
  - name: Setup Ruby & RubyGems
65
65
  if: ${{ !env.ACT }}
66
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
66
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
67
67
  with:
68
68
  ruby-version: ${{ matrix.ruby }}
69
69
  rubygems: ${{ matrix.rubygems }}
@@ -62,7 +62,7 @@ jobs:
62
62
 
63
63
  - name: Setup Ruby & RubyGems
64
64
  if: ${{ !env.ACT }}
65
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
65
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
66
66
  with:
67
67
  ruby-version: ${{ matrix.ruby }}
68
68
  rubygems: ${{ matrix.rubygems }}
@@ -61,7 +61,7 @@ jobs:
61
61
 
62
62
  - name: Setup Ruby & RubyGems
63
63
  if: ${{ !env.ACT }}
64
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
64
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
65
65
  with:
66
66
  ruby-version: ${{ matrix.ruby }}
67
67
  rubygems: ${{ matrix.rubygems }}
@@ -61,7 +61,7 @@ jobs:
61
61
 
62
62
  - name: Setup Ruby & RubyGems
63
63
  if: ${{ !env.ACT }}
64
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
64
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
65
65
  with:
66
66
  ruby-version: ${{ matrix.ruby }}
67
67
  rubygems: ${{ matrix.rubygems }}
@@ -61,7 +61,7 @@ jobs:
61
61
 
62
62
  - name: Setup Ruby & RubyGems
63
63
  if: ${{ !env.ACT }}
64
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
64
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
65
65
  with:
66
66
  ruby-version: ${{ matrix.ruby }}
67
67
  rubygems: ${{ matrix.rubygems }}
@@ -68,7 +68,7 @@ jobs:
68
68
  persist-credentials: false
69
69
 
70
70
  - name: Setup Ruby & RubyGems
71
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
71
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
72
72
  with:
73
73
  ruby-version: ${{ matrix.ruby }}
74
74
  rubygems: ${{ matrix.rubygems }}
@@ -126,7 +126,7 @@ Gem::Specification.new do |spec|
126
126
  # and preferably a modular one (see gemfiles/modular/*.gemfile).
127
127
 
128
128
  # Dev, Test, & Release Tasks
129
- spec.add_development_dependency("kettle-dev", "~> 3.1", ">= 3.1.31") # ruby >= {KJ|MIN_TEST_RUBY}
129
+ spec.add_development_dependency("kettle-dev", "~> 3.1", ">= 3.1.32") # ruby >= {KJ|MIN_TEST_RUBY}
130
130
 
131
131
  # Security
132
132
  spec.add_development_dependency("bundler-audit", "~> 0.9.3") # ruby >= 2.0.0
@@ -7,7 +7,7 @@
7
7
  if ENV.fetch("KETTLE_DEV_DEV", "false").casecmp("false").zero?
8
8
  # Coverage (remote/released)
9
9
  platform :mri do
10
- gem "kettle-soup-cover", "~> 3.0", ">= 3.0.16", require: false
10
+ gem "kettle-soup-cover", "~> 3.0", ">= 3.0.17", require: false
11
11
  end
12
12
  else
13
13
  eval_gemfile "coverage_local.gemfile"
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "{KJ|SHIMMED_GEM_NAME}"
31
31
 
32
32
  # Dev, Test, & Release Tasks
33
- spec.add_development_dependency("kettle-dev", "~> 3.1", ">= 3.1.31") # ruby >= {KJ|MIN_TEST_RUBY}
33
+ spec.add_development_dependency("kettle-dev", "~> 3.1", ">= 3.1.32") # ruby >= {KJ|MIN_TEST_RUBY}
34
34
 
35
35
  # Tasks
36
36
  spec.add_development_dependency "rake", "~> 13.0"
@@ -5,7 +5,7 @@ module Kettle
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "7.1.43"
8
+ VERSION = "7.1.44"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
data/lib/kettle/jem.rb CHANGED
@@ -65,10 +65,10 @@ module Kettle
65
65
  TEMPLATE_MANAGED_DEPENDENCIES = [
66
66
  {name: PACKAGE_NAME, requirements: ["~> 7.1", ">= 7.1.28"], bootstrap: false},
67
67
  {name: "nomono", requirements: ["~> 1.1", ">= 1.1.18"], bootstrap: true},
68
- {name: "kettle-dev", requirements: ["~> 3.1", ">= 3.1.31"], bootstrap: true},
68
+ {name: "kettle-dev", requirements: ["~> 3.1", ">= 3.1.32"], bootstrap: true},
69
69
  {
70
70
  name: "kettle-changelog",
71
- requirements: ["~> 1.0", ">= 1.0.20"],
71
+ requirements: ["~> 1.0", ">= 1.0.21"],
72
72
  bootstrap: true,
73
73
  ruby_requirement: ">= 4.0.0"
74
74
  }
@@ -638,7 +638,7 @@ module Kettle
638
638
  ].freeze
639
639
  COPYRIGHT_NAME_RE = /\ACopyright \(c\) [\d,\s-]+ (.+)\z/
640
640
  BOT_IDENTITY_PATTERN = /\[bot\]/i
641
- DEFAULT_MACHINE_USERS = ["autobolt", "StepSecurity Bot", "dependabot[bot]", "depfu[bot]"].freeze
641
+ DEFAULT_MACHINE_USERS = ["autobolt", "fossabot", "StepSecurity Bot", "dependabot[bot]", "depfu[bot]"].freeze
642
642
  DEFAULT_AUTHOR_ALIASES = {"erik michaels-ober" => "Erik Berlin"}.freeze
643
643
  NOT_COMMITTED_EMAIL = "not.committed.yet"
644
644
  LOGOS_GALTZO_BASE_URL = "https://logos.galtzo.com/assets/images"
@@ -5224,9 +5224,9 @@ module Kettle
5224
5224
  [
5225
5225
  {name: "appraisal2", source: %(gem "appraisal2", "~> 3.2", ">= 3.2.6"\n)},
5226
5226
  {name: "bundler-audit", source: %(gem "bundler-audit", "~> 0.9.3"\n)},
5227
- {name: "kettle-dev", source: %(gem "kettle-dev", "~> 3.1", ">= 3.1.31"\n)},
5227
+ {name: "kettle-dev", source: %(gem "kettle-dev", "~> 3.1", ">= 3.1.32"\n)},
5228
5228
  {name: "kettle-drift", source: %(gem "kettle-drift", "~> 1.0", ">= 1.0.19"\n)},
5229
- {name: "kettle-family", source: %(gem "kettle-family", "~> 1.3", ">= 1.3.48"\n)},
5229
+ {name: "kettle-family", source: %(gem "kettle-family", "~> 1.3", ">= 1.3.50"\n)},
5230
5230
  {name: PACKAGE_NAME, source: kettle_jem_dependency_source},
5231
5231
  {name: "kettle-test", source: %(gem "kettle-test", "~> 2.0", ">= 2.0.30"\n)},
5232
5232
  {name: "rake", source: %(gem "rake", "~> 13.0"\n)},
@@ -16574,7 +16574,7 @@ module Kettle
16574
16574
  def main_gemfile_kettle_family_gem(package_name)
16575
16575
  return "" if package_name.to_s == "kettle-family"
16576
16576
 
16577
- %(gem "kettle-family", "~> 1.3", ">= 1.3.48"\n)
16577
+ %(gem "kettle-family", "~> 1.3", ">= 1.3.50"\n)
16578
16578
  end
16579
16579
 
16580
16580
  def main_gemfile_nomono_bootstrap(package_name)
@@ -21332,7 +21332,7 @@ module Kettle
21332
21332
  def github_actions_setup_ruby_steps(indent:)
21333
21333
  yaml = <<~YAML
21334
21334
  - name: Setup Ruby & RubyGems
21335
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14
21335
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15
21336
21336
  with:
21337
21337
  ruby-version: "${{ matrix.ruby }}"
21338
21338
  rubygems: "${{ matrix.rubygems }}"
@@ -21450,7 +21450,7 @@ module Kettle
21450
21450
  " uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1",
21451
21451
  "",
21452
21452
  " - name: Setup Ruby & RubyGems",
21453
- " uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14",
21453
+ " uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15",
21454
21454
  " with:",
21455
21455
  " ruby-version: \"${{ matrix.ruby }}\"",
21456
21456
  " rubygems: \"${{ matrix.rubygems }}\"",
@@ -21980,8 +21980,8 @@ module Kettle
21980
21980
  {
21981
21981
  "actions/checkout" => "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1",
21982
21982
  "actions/cache" => "actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0",
21983
- "appraisal-rb/setup-ruby-flash" => "appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14",
21984
- "ruby/setup-ruby" => "ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0",
21983
+ "appraisal-rb/setup-ruby-flash" => "appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15",
21984
+ "ruby/setup-ruby" => "ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0",
21985
21985
  "coverallsapp/github-action" => "coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8",
21986
21986
  "qltysh/qlty-action/coverage" => "qltysh/qlty-action/coverage@56bee2d751c94b7bd8de22f64c9b5f398048e13f # v2.8.1",
21987
21987
  "codecov/codecov-action" => "codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1",
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-jem
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.43
4
+ version: 7.1.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -1038,7 +1038,6 @@ files:
1038
1038
  - lib/kettle/jem/templates/.github/workflows/unlocked_deps.yml.example
1039
1039
  - lib/kettle/jem/templates/.gitignore.example
1040
1040
  - lib/kettle/jem/templates/.gitlab-ci.yml.example
1041
- - lib/kettle/jem/templates/.idea/.gitignore.example
1042
1041
  - lib/kettle/jem/templates/.licenserc.yaml.example
1043
1042
  - lib/kettle/jem/templates/.opencollective.yml.example
1044
1043
  - lib/kettle/jem/templates/.qlty/qlty.toml.example
@@ -1172,10 +1171,10 @@ licenses:
1172
1171
  - PolyForm-Small-Business-1.0.0
1173
1172
  metadata:
1174
1173
  homepage_uri: "https://structuredmerge.org"
1175
- source_code_uri: "https://github.com/structuredmerge/structuredmerge-ruby/tree/v7.1.43"
1176
- changelog_uri: "https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.1.43/CHANGELOG.md"
1174
+ source_code_uri: "https://github.com/structuredmerge/structuredmerge-ruby/tree/v7.1.44"
1175
+ changelog_uri: "https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.1.44/CHANGELOG.md"
1177
1176
  bug_tracker_uri: "https://github.com/structuredmerge/structuredmerge-ruby/issues"
1178
- documentation_uri: "https://www.rubydoc.info/gems/kettle-jem/7.1.43"
1177
+ documentation_uri: "https://www.rubydoc.info/gems/kettle-jem/7.1.44"
1179
1178
  funding_uri: "https://github.com/sponsors/pboling"
1180
1179
  wiki_uri: "https://github.com/structuredmerge/structuredmerge-ruby/wiki"
1181
1180
  news_uri: "https://www.railsbling.com/tags/kettle-jem"
metadata.gz.sig CHANGED
Binary file
@@ -1,44 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
4
- # Editor-based HTTP Client requests
5
- /httpRequests/
6
- # Datasource local storage ignored files
7
- /dataSources/
8
- /dataSources.local.xml
9
-
10
- # Zencoder local files
11
- /zencoder/chats
12
- /zencoder-chat-index.xml
13
- /zencoder-chats-dedicated.xml
14
- # Local project config
15
- *.iml
16
-
17
- # Added: Ignore plugin state artifacts (machine-specific)
18
- /copilot*.xml
19
- /GitLink.xml
20
-
21
- # Added: Ignore task & usage statistics (contain local timestamps / paths)
22
- /tasks.xml
23
- /usage.statistics.xml
24
-
25
- # Added: Local inspection profiles (developer-specific customizations)
26
- /inspectionProfiles/
27
-
28
- # Added: Library & index caches (regenerated per machine)
29
- /libraries/
30
- /indexLayout.xml
31
- /indexes/
32
-
33
- # Added: Terminal, SSH, and other per-user runtime config
34
- /terminal/
35
- /sshConfigs/
36
-
37
- # Added: RubyMine misc SDK version drift (optional). Comment to share SDK config.
38
- # /misc.xml
39
-
40
- # Commit: VCS local mappings can be regenerated (optional). Comment to share settings.
41
- # /vcs.xml
42
-
43
- # Commit: Dictionary files (local spellcheck customizations)
44
- # /dictionaries/