kettle-dev 3.1.17 → 3.1.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: 7509713aebd3dc8b2dfce4e04399bd8a004fdf0ab9d128b9147a3060e183fa7c
4
- data.tar.gz: 06d242cd7e431a629f278b3ca28f4f6347bc40561056381ccd712886cf6ea48d
3
+ metadata.gz: bd1cd8bed8e26d699094373fa5a769a6cbb941479bc93027915bf9b6da388322
4
+ data.tar.gz: a6457f10daf0e149eac4d9c3138efad3a715f0ca3acfaf0c4bdd8611434996f2
5
5
  SHA512:
6
- metadata.gz: 4659485434c16e16fcddd290cfb9afb233f1b5f9e60adc4c2dc933d951ce49f324b27763189b80f8bf2004ceed4dfbb713fc9f73301da040c3f891391d53a754
7
- data.tar.gz: ddf71af290de3619c7bb48e296bb41501a01e2bb5defdcf999e51c8126cd3a41471efbb413d537cc91c9236dfafbaf0c50459fdda92019cff8850748aacf161d
6
+ metadata.gz: f6414ee199198649eb4a72822e9536be47f748e98e6265e861e67769549a9a3de7433685ac058fdb064bad442ef4dd4cc119a3669d29b3ce8217ae32eb020d88
7
+ data.tar.gz: a3410112a6c5fffaaf1c779ec3c1c4d09ab336be891f52b4ad673847b357a8e8bdab28ad6209ad20f478c19e2175e0347ce668b29d7a5832f6aa8ed295c4e898
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.1.19] - 2026-10-19
34
+
35
+ - TAG: [v3.1.19][3.1.19t]
36
+ - COVERAGE: 91.79% -- 5768/6284 lines in 48 files
37
+ - BRANCH COVERAGE: 75.75% -- 2218/2928 branches in 48 files
38
+ - 53.60% documented
39
+
40
+ ### Fixed
41
+
42
+ - [kc] appraisal-bundler-pin: Pin every bundler process spawned by the appraisal rake tasks to the exact Bundler version running rake via BUNDLER_VERSION, so RubyGems can no longer resolve a child bundle to a newer prerelease with different plugin DSL behavior.
43
+
44
+ ## [3.1.18] - 2026-10-19
45
+
46
+ - TAG: [v3.1.18][3.1.18t]
47
+ - COVERAGE: 91.72% -- 5763/6283 lines in 48 files
48
+ - BRANCH COVERAGE: 75.73% -- 2216/2926 branches in 48 files
49
+ - 53.60% documented
50
+
51
+ ### Added
52
+
53
+ - kettle-release aborts with an explicit outdated-tool error when a newer release of kettle-dev exists in the same minor series (registry lookup; failures never block; newer minors only warn; KETTLE_DEV_SKIP_TOOL_CURRENCY_CHECK skips), so a stale copy resolved from an old lockfile can no longer silently run without lockfile materialization and self-heal fixes.
54
+
33
55
  ## [3.1.17] - 2026-10-18
34
56
 
35
57
  - TAG: [v3.1.17][3.1.17t]
@@ -4167,7 +4189,11 @@ Please file a bug if you notice a violation of semantic versioning.
4167
4189
  - Selecting will run the selected workflow via `act`
4168
4190
  - This may move to its own gem in the future.
4169
4191
 
4170
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.17...HEAD
4192
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.19...HEAD
4193
+ [3.1.19]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.18...v3.1.19
4194
+ [3.1.19t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.1.19
4195
+ [3.1.18]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.17...v3.1.18
4196
+ [3.1.18t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.1.18
4171
4197
  [3.1.17]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.16...v3.1.17
4172
4198
  [3.1.17t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.1.17
4173
4199
  [3.1.16]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.15...v3.1.16
data/README.md CHANGED
@@ -1084,7 +1084,7 @@ Thanks for RTFM. ☺️
1084
1084
  [📌gitmoji]: https://gitmoji.dev
1085
1085
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1086
1086
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1087
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-6.273-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1087
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-6.284-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1088
1088
  [🔐security]: https://github.com/kettle-dev/kettle-dev/blob/main/SECURITY.md
1089
1089
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1090
1090
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -47,6 +47,10 @@ begin
47
47
  "BUNDLE_GEMFILE" => "Appraisal.root.gemfile",
48
48
  "BUNDLE_LOCKFILE" => "Appraisal.root.gemfile.lock"
49
49
  )
50
+ # Pin every spawned bundler process to the exact version running this rake.
51
+ # Without this, RubyGems resolves the child `bundle` to its latest release,
52
+ # which can be a prerelease with different DSL behavior.
53
+ appraisal_env["BUNDLER_VERSION"] = bundler_version if bundler_version
50
54
 
51
55
  run_command = lambda do |failure_message, *args|
52
56
  ok = system(*args)
@@ -268,6 +268,7 @@ module Kettle
268
268
 
269
269
  def run
270
270
  @started_at = monotonic_time
271
+ ensure_release_tool_current!
271
272
  emit_run_start
272
273
  status = "ok"
273
274
  error = nil
@@ -2322,6 +2323,34 @@ module Kettle
2322
2323
  m[2]
2323
2324
  end
2324
2325
 
2326
+ # Refuse to run a release with an outdated release tool. kettle-release
2327
+ # is resolved from the invoking bundle (for family releases, the family
2328
+ # root's Gemfile, which each family version-manages); a stale copy
2329
+ # silently misses lockfile materialization and self-heal behavior added
2330
+ # in later patch releases. When a newer release of this gem exists in
2331
+ # the same minor series, abort with the reason instead of misbehaving.
2332
+ # Newer releases in other minor series only warn: a family may
2333
+ # deliberately track an older minor. Registry lookup failure never
2334
+ # blocks a release. Skippable with KETTLE_DEV_SKIP_TOOL_CURRENCY_CHECK
2335
+ # for intentionally offline runs.
2336
+ def ensure_release_tool_current!
2337
+ return if truthy_value?(ENV["KETTLE_DEV_SKIP_TOOL_CURRENCY_CHECK"])
2338
+
2339
+ gem_name = "kettle-dev"
2340
+ current = Gem::Version.new(Kettle::Dev::VERSION)
2341
+ latest_overall, latest_series = latest_released_versions(gem_name, current.to_s)
2342
+
2343
+ if latest_series && Gem::Version.new(latest_series) > current
2344
+ raise Error,
2345
+ "kettle-release (#{gem_name} #{current}) is outdated: #{latest_series} is available in " \
2346
+ "the same minor series. Update the invoking Gemfile (bundle update #{gem_name}) and retry."
2347
+ end
2348
+
2349
+ if latest_overall && Gem::Version.new(latest_overall) > current
2350
+ warn("[kettle-release] #{gem_name} #{latest_overall} is available (running #{current} in the #{current.segments[0, 2].join(".")} series).")
2351
+ end
2352
+ end
2353
+
2325
2354
  def latest_released_versions(gem_name, current_version)
2326
2355
  data = Kettle::Dev::RubyGemsVersions.fetch(gem_name, version_hint: current_version)
2327
2356
  return [nil, nil] unless data.is_a?(Array)
@@ -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.1.17"
8
+ VERSION = "3.1.19"
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.1.17
4
+ version: 3.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -423,10 +423,10 @@ licenses:
423
423
  - AGPL-3.0-only
424
424
  metadata:
425
425
  homepage_uri: https://kettle-dev.galtzo.com
426
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v3.1.17
427
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v3.1.17/CHANGELOG.md
426
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v3.1.19
427
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v3.1.19/CHANGELOG.md
428
428
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
429
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/3.1.17
429
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/3.1.19
430
430
  funding_uri: https://github.com/sponsors/pboling
431
431
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
432
432
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file