kettle-dev 2.2.12 → 2.2.13

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: 3f039cd2a52c5584b02f93a75f08e79227bbbc5e37f748a1d4a6623996fda1a8
4
- data.tar.gz: 2ebc57a458091e9f531daafa63d431a1ac9f64f39d8fafb7e03fb802ac511e42
3
+ metadata.gz: 4c986b130376560b0c3aa2e380bd9c59285a8186d9060999c8ff3a7185dca15b
4
+ data.tar.gz: bf04d26a9c09f31b4f95701836ac4fa3b37a2f0c38e17d554b0569173a1aa813
5
5
  SHA512:
6
- metadata.gz: dfc81acc32288dff4f6be9d4f84e31779017132a5eecd94f7881d3702ee0da968cb7687eb0ed6cdff31eceb321d30b29891bc2a43341aad6a877ddb93f9fe31f
7
- data.tar.gz: 59440aa4a9abcbd46b861cb9e403e72d2cddd7dc1d4570423c99f5d82951571033fd22efe0f4b7ad774f3366a920345abb65f949656fba2b92b823a25aadacc2
6
+ metadata.gz: d68845915e58aa5c97d6bdcb462e33de542b5662ece9a955d1c059a3afd4e30139b597908db1fb66d7921ccceb1dfee27761662a328b0a73cef83527c048d838
7
+ data.tar.gz: 812eb07c16ab36b280cc5ea587c70b01c28f488c9563e5e4f7835fddf0317a56b52c04f42a4fd91424b07f1b49aab67771a6a089b888bd83cbe437d1fa76d571
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
+ ## [2.2.13] - 2026-06-18
34
+
35
+ - TAG: [v2.2.13][2.2.13t]
36
+ - COVERAGE: 92.15% -- 3931/4266 lines in 28 files
37
+ - BRANCH COVERAGE: 73.97% -- 1566/2117 branches in 28 files
38
+ - 63.76% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-release` now treats `kettle-pre-release` as step 0, so any
43
+ `start_step` greater than 0 skips pre-release gates and resumes directly at
44
+ the requested numbered release step.
45
+
33
46
  ## [2.2.12] - 2026-06-18
34
47
 
35
48
  - TAG: [v2.2.12][2.2.12t]
@@ -2170,7 +2183,9 @@ Please file a bug if you notice a violation of semantic versioning.
2170
2183
  - Selecting will run the selected workflow via `act`
2171
2184
  - This may move to its own gem in the future.
2172
2185
 
2173
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.12...HEAD
2186
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.13...HEAD
2187
+ [2.2.13]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.12...v2.2.13
2188
+ [2.2.13t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.13
2174
2189
  [2.2.12]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.11...v2.2.12
2175
2190
  [2.2.12t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.12
2176
2191
  [2.2.11]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.10...v2.2.11
data/README.md CHANGED
@@ -375,7 +375,8 @@ What it does:
375
375
 
376
376
  - Script: `exe/kettle-release` (run as `kettle-release`)
377
377
  - Purpose: guided release helper that:
378
- - Runs `kettle-pre-release` before the numbered release steps on full releases, aborting before release setup if any pre-release gate fails.
378
+ - Runs `kettle-pre-release` as step 0 on full releases, aborting before release setup if any pre-release gate fails.
379
+ - Skips pre-release checks for any `start_step` greater than `0`, so resumptions begin directly at the requested numbered step.
379
380
  - Runs sanity checks (`bin/setup`, `bin/rake`), confirms version/changelog, optionally updates Appraisals, regenerates docs via `bin/rake yard`, commits ā€œšŸ”– Prepare release vX.Y.Zā€.
380
381
  - Optionally runs your CI locally with `act` before any push:
381
382
  - Enable with env: `K_RELEASE_LOCAL_CI="true"` (run automatically) or `K_RELEASE_LOCAL_CI="ask"` (prompt \[Y/n\]).
@@ -385,7 +386,8 @@ What it does:
385
386
  - Exports `SOURCE_DATE_EPOCH`, builds (optionally signed), creates gem checksums, and runs `bundle exec rake release` (prompts for signing key + RubyGems MFA OTP as needed).
386
387
  - Options:
387
388
  - `start_step` map (skip directly to a phase):
388
- 1. Verify Bundler \>= 2.7 (always runs; start at 1 to do everything)
389
+ 0. Run `kettle-pre-release` gates
390
+ 1. Verify Bundler \>= 2.7 (start at 1 to skip pre-release checks)
389
391
  2. Detect version; RubyGems sanity check; confirm CHANGELOG/version; sync copyright years; update badges/headers
390
392
  3. Run bin/setup
391
393
  4. Run bin/rake (default task)
@@ -406,7 +408,8 @@ What it does:
406
408
  19. Push tags to remotes (final)
407
409
  - Examples:
408
410
  - After intermittent CI failure, restart from monitoring: `bundle exec kettle-release start_step=10`
409
- - After fixing a failed pre-release gate, rerun from the top: `bundle exec kettle-release`
411
+ - After fixing a failed pre-release gate, rerun from step 0: `bundle exec kettle-release`
412
+ - After intentionally handling a failed pre-release gate, skip it and start numbered release steps: `bundle exec kettle-release start_step=1`
410
413
  - Tips:
411
414
  - The commit message helper `exe/kettle-commit-msg` prefers project-local `.git-hooks` (then falls back to `~/.git-hooks`).
412
415
  - The goalie file `commit-subjects-goalie.txt` controls when a footer is appended; customize `footer-template.erb.txt` as you like.
data/exe/kettle-release CHANGED
@@ -43,16 +43,17 @@ end
43
43
  # Do not guard with __FILE__ == $PROGRAM_NAME because binstubs use Kernel.load.
44
44
  if ARGV.include?("-h") || ARGV.include?("--help")
45
45
  puts <<~USAGE
46
- Usage: kettle-release [--version VERSION] [--local-ci] [start_step=<1-19>]
46
+ Usage: kettle-release [--version VERSION] [--local-ci] [start_step=<0-19>]
47
47
 
48
48
  Automates the release flow for a Ruby gem in the host project.
49
49
 
50
- Full releases run `kettle-pre-release` before step 1 and abort if any
51
- pre-release gate fails. Resume with start_step > 1 only after the gate has
52
- passed or after intentionally handling the failure.
50
+ Full releases start at step 0 and run `kettle-pre-release` before the
51
+ numbered release steps. Any start_step greater than 0 skips pre-release
52
+ checks and resumes directly at the requested numbered step.
53
53
 
54
54
  Start steps (use start_step=<n> to begin at that step):
55
- 1. Verify Bundler >= 2.7 (always runs; start at 1 to do everything)
55
+ 0. Run kettle-pre-release gates
56
+ 1. Verify Bundler >= 2.7 (start at 1 to skip pre-release checks)
56
57
  2. Detect version; RubyGems sanity check; confirm CHANGELOG/version; sync copyright years; update badges/headers
57
58
  3. Run bin/setup
58
59
  4. Run bin/rake (default task)
@@ -88,8 +89,9 @@ if ARGV.include?("-h") || ARGV.include?("--help")
88
89
  DEBUG=true # Print backtraces on errors
89
90
 
90
91
  Examples:
91
- kettle-release # full flow from the top (start_step=1)
92
+ kettle-release # full flow from the top (start_step=0)
92
93
  kettle-release --local-ci # run local act CI, publish gem, then push commits/tags
94
+ kettle-release start_step=1 # skip pre-release checks and start numbered release steps
93
95
  kettle-release start_step=10 # resume by monitoring CI for the current branch
94
96
  SKIP_GEM_SIGNING=true kettle-release start_step=14 # build+release without signing
95
97
  USAGE
@@ -117,7 +119,7 @@ end
117
119
 
118
120
  local_ci = ARGV.include?("--local-ci")
119
121
  start_step_arg = ARGV.find { |a| a.start_with?("start_step=") }
120
- start_step = start_step_arg ? start_step_arg.split("=", 2)[1].to_i : 1
122
+ start_step = start_step_arg ? start_step_arg.split("=", 2)[1].to_i : 0
121
123
  version_override = extract_version_arg!(ARGV)
122
124
 
123
125
  begin
@@ -70,17 +70,17 @@ module Kettle
70
70
 
71
71
  public
72
72
 
73
- def initialize(start_step: 1, local_ci: false, version: nil)
73
+ def initialize(start_step: 0, local_ci: false, version: nil)
74
74
  @root = Kettle::Dev::CIHelpers.project_root
75
75
  @git = Kettle::Dev::GitAdapter.new
76
- @start_step = (start_step || 1).to_i
77
- @start_step = 1 if @start_step < 1
76
+ @start_step = (start_step || 0).to_i
77
+ @start_step = 0 if @start_step < 0
78
78
  @local_ci = !!local_ci
79
79
  @version_override = Kettle::Dev::Versioning.normalize_explicit_version(version)
80
80
  end
81
81
 
82
82
  def run
83
- run_pre_release_checks! if @start_step <= 1
83
+ run_pre_release_checks! if @start_step <= 0
84
84
 
85
85
  # 1. Ensure Bundler version āœ“
86
86
  ensure_bundler_2_7_plus!
@@ -3,7 +3,7 @@
3
3
  module Kettle
4
4
  module Dev
5
5
  module Version
6
- VERSION = "2.2.12"
6
+ VERSION = "2.2.13"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
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: 2.2.12
4
+ version: 2.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -338,10 +338,10 @@ licenses:
338
338
  - AGPL-3.0-only
339
339
  metadata:
340
340
  homepage_uri: https://kettle-dev.galtzo.com
341
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.12
342
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.12/CHANGELOG.md
341
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.13
342
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.13/CHANGELOG.md
343
343
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
344
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.12
344
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.13
345
345
  funding_uri: https://github.com/sponsors/pboling
346
346
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
347
347
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file