kettle-dev 1.1.56 → 1.1.57

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: 62e325c872a074389b37b26430debd850401b38e86d9e21beecde17565beb561
4
- data.tar.gz: 9f2698e5f4fd28e0c97cef4c9ca6b41b313cca732bb7b1338ef333e87c2b7240
3
+ metadata.gz: 3913400a8582c79152894a5c27da0981401d81f08d598061582a95f567ccbb10
4
+ data.tar.gz: e9f02c0ad8952cba8e30a1fb94872637f175f91eb24ce12c3edb1f731bec773e
5
5
  SHA512:
6
- metadata.gz: 5799a7e73b2d365f1adedae8a00b66197547727937be9b88cabc16dc17755e8aa96e53ce34c379f88fb917fe7be9b22db7090095500140f592e1372f77006835
7
- data.tar.gz: b7dcc7f75644618b7f5294bd94c4ba3157cc64306509ef66ff173a16f25ad7a123b66c0304df0633bbbc8fdfdd69d0db1ab01d0e9bec03e016eb9f830bdf6cac
6
+ metadata.gz: 6eb29f6e550dcd1bf578ccec78a656928ab8b2171036057cf18e72546ab4e3db2ba137724317f4dfb1fde14eb14d357fd4ef9611b985b586aa219cdf5a0a461c
7
+ data.tar.gz: fe78f07d2b3fe5fcd542842b213d71447c160ae2f41820acf251879340022aabcb368d7a7a20865714666efdd98ee649fa5ddf221dbfc3141ec4e4d27cea0f63
checksums.yaml.gz.sig CHANGED
Binary file
data/.env.local.example CHANGED
@@ -25,3 +25,7 @@ export GITHUB_TOKEN=<your GH token for GHA status; NEVER COMMIT>
25
25
  export GITLAB_TOKEN=<your GitLab token for pipeline status; NEVER COMMIT>
26
26
  # Alternatively:
27
27
  # export GL_TOKEN=<your GitLab token>
28
+
29
+ # If this gem does not have an open source collective uncomment and set these to false.
30
+ # export OPENCOLLECTIVE_HANDLE=false
31
+ # export FUNDING_ORG=false
data/.yardignore CHANGED
@@ -1,5 +1,13 @@
1
1
  # Ignore built gem artifacts and package dir
2
- pkg/*.gem
2
+ bin/**/*
3
+ certs/**/*
4
+ checksums/**/*
5
+ gemfiles/**/*
6
+ pkg/**/*
7
+ spec/**/*
8
+ spec*/**/*
9
+ test/**/*
10
+ tmp/**/*
3
11
  *.gem
4
12
  # Also ignore yardoc cache
5
13
  .yardoc/
data/CHANGELOG.md CHANGED
@@ -30,6 +30,22 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.1.57] - 2025-11-13
34
+
35
+ - TAG: [v1.1.57][1.1.57t]
36
+ - COVERAGE: 94.36% -- 4065/4308 lines in 26 files
37
+ - BRANCH COVERAGE: 78.81% -- 1674/2124 branches in 26 files
38
+ - 79.89% documented
39
+
40
+ ### Added
41
+
42
+ - New Rake task: `appraisal:reset` — deletes all Appraisal lockfiles (`gemfiles/*.gemfile.lock`).
43
+ - Improved .env.local.example template
44
+
45
+ ### Fixed
46
+
47
+ - .yardignore more comprehensively ignores directories that are not relevant to documentation
48
+
33
49
  ## [1.1.56] - 2025-11-11
34
50
 
35
51
  - TAG: [v1.1.56][1.1.56t]
@@ -1394,7 +1410,9 @@ Please file a bug if you notice a violation of semantic versioning.
1394
1410
  - Selecting will run the selected workflow via `act`
1395
1411
  - This may move to its own gem in the future.
1396
1412
 
1397
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.56...HEAD
1413
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.57...HEAD
1414
+ [1.1.57]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.56...v1.1.57
1415
+ [1.1.57t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.57
1398
1416
  [1.1.56]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.55...v1.1.56
1399
1417
  [1.1.56t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.56
1400
1418
  [1.1.55]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.54...v1.1.55
data/CONTRIBUTING.md CHANGED
@@ -96,6 +96,12 @@ They are created and updated with the commands:
96
96
  bin/rake appraisal:update
97
97
  ```
98
98
 
99
+ If you need to reset all gemfiles/*.gemfile.lock files:
100
+
101
+ ```console
102
+ bin/rake appraisal:reset
103
+ ```
104
+
99
105
  When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
100
106
 
101
107
  ## The Reek List
@@ -89,6 +89,12 @@ They are created and updated with the commands:
89
89
  bin/rake appraisal:update
90
90
  ```
91
91
 
92
+ If you need to reset all gemfiles/*.gemfile.lock files:
93
+
94
+ ```console
95
+ bin/rake appraisal:reset
96
+ ```
97
+
92
98
  When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
93
99
 
94
100
  ## The Reek List
data/README.md CHANGED
@@ -362,6 +362,11 @@ Common flows
362
362
  - `bundle exec rake reek` or `bundle exec rake reek:update`
363
363
  - `bundle exec rake yard`
364
364
 
365
+ [Appraisals][💎appraisal2] helpers
366
+ - `bundle exec rake appraisal:isntall` — First time Appraisal setup.
367
+ - `bundle exec rake appraisal:update` — Update Appraisal gemfiles and run RuboCop Gradual autocorrect.
368
+ - `bundle exec rake appraisal:reset` — Delete all Appraisal lockfiles in gemfiles/ (*.gemfile.lock). Useful before regenerating appraisals or when switching Ruby versions.
369
+
365
370
  GitHub Actions local runner helper
366
371
  - `bundle exec rake ci:act` — interactive menu shows workflows from `.github/workflows` with live status and short codes (first 3 letters of file name). Type a number or short code.
367
372
  - Non-interactive: `bundle exec rake ci:act[loc]` (short code), or `bundle exec rake ci:act[locked_deps.yml]` (filename).
@@ -374,7 +379,7 @@ Setup tokens for API status (GitHub and GitLab)
374
379
  - Classic (fallback): “Tokens (classic)” → Generate new token
375
380
  - Minimum permissions:
376
381
  - Fine-grained: Repository access: Read-only for the target repository (or your org); Permissions → Actions: Read
377
- - Classic: For public repos, no scopes are strictly required but rate limits are very low; for private repos, include the repo scope
382
+ - Classic: For public repos, no scopes are strictly required, but rate limits are very low; for private repos, include the repo scope
378
383
  - Add to environment (.env.local via direnv):
379
384
  - GITHUB_TOKEN=your_token_here (or GH_TOKEN=…)
380
385
  - GitLab token:
data/Rakefile.example CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kettle-dev Rakefile v1.1.56 - 2025-11-11
3
+ # kettle-dev Rakefile v1.1.57 - 2025-11-13
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -11,6 +11,8 @@
11
11
  #
12
12
  # Sets up tasks for appraisal, floss_funding, rspec, minitest, rubocop, reek, yard, and stone_checksums.
13
13
  #
14
+ # rake appraisal:install # Install Appraisal gemfiles (initial setup...
15
+ # rake appraisal:reset # Delete Appraisal lockfiles (gemfiles/*.gemfile.lock)
14
16
  # rake appraisal:update # Update Appraisal gemfiles and run RuboCop...
15
17
  # rake bench # Run all benchmarks (alias for bench:run)
16
18
  # rake bench:list # List available benchmark scripts
@@ -61,6 +61,43 @@ begin
61
61
  run_in_unbundled.call
62
62
  end
63
63
  end
64
+
65
+ # Delete all Appraisal lockfiles in gemfiles/ (*.gemfile.lock)
66
+ desc("Delete Appraisal lockfiles (gemfiles/*.gemfile.lock)")
67
+ task("appraisal:reset") do
68
+ run_in_unbundled = proc do
69
+ lock_glob = File.join("gemfiles", "*.gemfile.lock")
70
+ locks = Dir.glob(lock_glob)
71
+
72
+ if locks.empty?
73
+ puts("[kettle-dev][appraisal:reset] no files matching #{lock_glob}")
74
+ else
75
+ failures = []
76
+ locks.each do |f|
77
+ begin
78
+ File.delete(f)
79
+ rescue Errno::ENOENT
80
+ # Ignore if already gone
81
+ rescue StandardError => e
82
+ failures << [f, e]
83
+ end
84
+ end
85
+
86
+ unless failures.empty?
87
+ failed_list = failures.map { |(f, e)| "#{f} (#{e.class}: #{e.message})" }.join(", ")
88
+ abort("appraisal:reset failed: unable to delete #{failed_list}")
89
+ end
90
+
91
+ puts("[kettle-dev][appraisal:reset] deleted #{locks.size} file(s)")
92
+ end
93
+ end
94
+
95
+ if defined?(Bundler)
96
+ Bundler.with_unbundled_env(&run_in_unbundled)
97
+ else
98
+ run_in_unbundled.call
99
+ end
100
+ end
64
101
  rescue LoadError
65
102
  warn("[kettle-dev][appraisal.rake] failed to load appraisal/tasks") if Kettle::Dev::DEBUGGING
66
103
  end
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.1.56"
9
+ VERSION = "1.1.57"
10
10
 
11
11
  module_function
12
12
 
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: 1.1.56
4
+ version: 1.1.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -401,10 +401,10 @@ licenses:
401
401
  - MIT
402
402
  metadata:
403
403
  homepage_uri: https://kettle-dev.galtzo.com/
404
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.56
405
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.56/CHANGELOG.md
404
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.57
405
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.57/CHANGELOG.md
406
406
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
407
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.56
407
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.57
408
408
  funding_uri: https://github.com/sponsors/pboling
409
409
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
410
410
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file