kettle-dev 1.1.38 → 1.1.40

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: 63bceb44139dbf68a25382e32ad8cecc5f75bba958d8875839c72d80038fa01f
4
- data.tar.gz: a0542131ff18a805e7dbf1d96af7ce25d79cde4826b2ef31ef798e19b19b93c1
3
+ metadata.gz: f8c1f90e0cceaa02717dc32cba57d8d82ec039e5c877b1714df1095e4d403e45
4
+ data.tar.gz: 88798d2a12bcbd7c849839c7f3e8b6ee045bfb9b356dbdf3ccf43b8d46bcd8a0
5
5
  SHA512:
6
- metadata.gz: 0054fd324cb333a5aa1697c101b9e293dd6aa01999d301365e2d081eb169116d9206b4b8a29dfde49cbf97b7ed099eed32846c0349b24f29e48b57fb3391e6e2
7
- data.tar.gz: 6376b19444abf7ee6355ea8e364ff0d54a81baf40b824aae992cde7417092bffae057aad2275a7458cc8e0cc7e34de6f0db42ea3c2070c392ce9fb798125f66e
6
+ metadata.gz: bd3fe7c0c7bc1d1b8080cea59fc6b387f2c02a948d85e3e0da5277b83383af1dd9403e64094a6804a7c8e3f3d7600a5ddc2e7eb734ae23874e591086b66077ec
7
+ data.tar.gz: 30a1ab2a498ec2ae7b00bf575d919563dcd27ff80a107cef1e5d634b5e52489e86963cd4a348fc4b1fbca03f9dc86361336af47cb1699bdebaa2aabbf9e6533d
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,32 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.1.40] - 2025-10-28
34
+
35
+ - TAG: [v1.1.40][1.1.40t]
36
+ - COVERAGE: 96.04% -- 3949/4112 lines in 26 files
37
+ - BRANCH COVERAGE: 80.85% -- 1634/2021 branches in 26 files
38
+ - 79.68% documented
39
+
40
+ ### Changed
41
+
42
+ - Improved copy for this gem and templated gems
43
+
44
+ ## [1.1.39] - 2025-10-27
45
+
46
+ - TAG: [v1.1.39][1.1.39t]
47
+ - COVERAGE: 96.04% -- 3949/4112 lines in 26 files
48
+ - BRANCH COVERAGE: 80.85% -- 1634/2021 branches in 26 files
49
+ - 79.68% documented
50
+
51
+ ### Added
52
+
53
+ - CONTRIBUTING.md.example tailored for the templated gem
54
+
55
+ ### Fixed
56
+
57
+ - Minor typos
58
+
33
59
  ## [1.1.38] - 2025-10-21
34
60
 
35
61
  - TAG: [v1.1.38][1.1.38t]
@@ -1166,7 +1192,11 @@ Please file a bug if you notice a violation of semantic versioning.
1166
1192
  - Selecting will run the selected workflow via `act`
1167
1193
  - This may move to its own gem in the future.
1168
1194
 
1169
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.38...HEAD
1195
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.40...HEAD
1196
+ [1.1.40]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.39...v1.1.40
1197
+ [1.1.40t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.40
1198
+ [1.1.39]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.38...v1.1.39
1199
+ [1.1.39t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.39
1170
1200
  [1.1.38]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.37...v1.1.38
1171
1201
  [1.1.38t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.38
1172
1202
  [1.1.37]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.36...v1.1.37
data/CONTRIBUTING.md CHANGED
@@ -176,7 +176,7 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
176
176
 
177
177
  #### Automated process
178
178
 
179
- 1. Update version.rb to contian the correct version-to-be-released.
179
+ 1. Update version.rb to contain the correct version-to-be-released.
180
180
  2. Run `bundle exec kettle-changelog`.
181
181
  3. Run `bundle exec kettle-release`.
182
182
 
@@ -0,0 +1,220 @@
1
+ # Contributing
2
+
3
+ Bug reports and pull requests are welcome on [CodeBerg][📜src-cb], [GitLab][📜src-gl], or [GitHub][📜src-gh].
4
+ This project should be a safe, welcoming space for collaboration, so contributors agree to adhere to
5
+ the [code of conduct][🤝conduct].
6
+
7
+ To submit a patch, please fork the project, create a patch with tests, and send a pull request.
8
+
9
+ Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] if you make changes.
10
+
11
+ ## Help out!
12
+
13
+ Take a look at the `reek` list which is the file called `REEK` and find something to improve.
14
+
15
+ Follow these instructions:
16
+
17
+ 1. Fork the repository
18
+ 2. Create a feature branch (`git checkout -b my-new-feature`)
19
+ 3. Make some fixes.
20
+ 4. Commit changes (`git commit -am 'Added some feature'`)
21
+ 5. Push to the branch (`git push origin my-new-feature`)
22
+ 6. Make sure to add tests for it. This is important, so it doesn't break in a future release.
23
+ 7. Create new Pull Request.
24
+
25
+ ## Executables vs Rake tasks
26
+
27
+ Executables shipped by dependencies, such as kettle-dev, and stone_checksums, are available
28
+ after running `bin/setup`. These include:
29
+
30
+ - gem_checksums
31
+ - kettle-changelog
32
+ - kettle-commit-msg
33
+ - kettle-dev-setup
34
+ - kettle-dvcs
35
+ - kettle-pre-release
36
+ - kettle-readme-backers
37
+ - kettle-release
38
+
39
+ There are many Rake tasks available as well. You can see them by running:
40
+
41
+ ```shell
42
+ bin/rake -T
43
+ ```
44
+
45
+ ## Environment Variables for Local Development
46
+
47
+ Below are the primary environment variables recognized by stone_checksums (and its integrated tools). Unless otherwise noted, set boolean values to the string "true" to enable.
48
+
49
+ General/runtime
50
+ - DEBUG: Enable extra internal logging for this library (default: false)
51
+ - REQUIRE_BENCH: Enable `require_bench` to profile requires (default: false)
52
+ - CI: When set to true, adjusts default rake tasks toward CI behavior
53
+
54
+ Coverage (kettle-soup-cover / SimpleCov)
55
+ - K_SOUP_COV_DO: Enable coverage collection (default: true in .envrc)
56
+ - K_SOUP_COV_FORMATTERS: Comma-separated list of formatters (html, xml, rcov, lcov, json, tty)
57
+ - K_SOUP_COV_MIN_LINE: Minimum line coverage threshold (integer, e.g., 100)
58
+ - K_SOUP_COV_MIN_BRANCH: Minimum branch coverage threshold (integer, e.g., 100)
59
+ - K_SOUP_COV_MIN_HARD: Fail the run if thresholds are not met (true/false)
60
+ - K_SOUP_COV_MULTI_FORMATTERS: Enable multiple formatters at once (true/false)
61
+ - K_SOUP_COV_OPEN_BIN: Path to browser opener for HTML (empty disables auto-open)
62
+ - MAX_ROWS: Limit console output rows for simplecov-console (e.g., 1)
63
+ Tip: When running a single spec file locally, you may want `K_SOUP_COV_MIN_HARD=false` to avoid failing thresholds for a partial run.
64
+
65
+ GitHub API and CI helpers
66
+ - GITHUB_TOKEN or GH_TOKEN: Token used by `ci:act` and release workflow checks to query GitHub Actions status at higher rate limits
67
+
68
+ Releasing and signing
69
+ - SKIP_GEM_SIGNING: If set, skip gem signing during build/release
70
+ - GEM_CERT_USER: Username for selecting your public cert in `certs/<USER>.pem` (defaults to $USER)
71
+ - SOURCE_DATE_EPOCH: Reproducible build timestamp. `kettle-release` will set this automatically for the session.
72
+
73
+ Git hooks and commit message helpers (exe/kettle-commit-msg)
74
+ - GIT_HOOK_BRANCH_VALIDATE: Branch name validation mode (e.g., `jira`) or `false` to disable
75
+ - GIT_HOOK_FOOTER_APPEND: Append a footer to commit messages when goalie allows (true/false)
76
+ - GIT_HOOK_FOOTER_SENTINEL: Required when footer append is enabled — a unique first-line sentinel to prevent duplicates
77
+ - GIT_HOOK_FOOTER_APPEND_DEBUG: Extra debug output in the footer template (true/false)
78
+
79
+ For a quick starting point, this repository’s `.envrc` shows sane defaults, and `.env.local` can override them locally.
80
+
81
+ ## Appraisals
82
+
83
+ From time to time the [appraisal2][🚎appraisal2] gemfiles in `gemfiles/` will need to be updated.
84
+ They are created and updated with the commands:
85
+
86
+ ```console
87
+ bin/rake appraisal:update
88
+ ```
89
+
90
+ When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
91
+
92
+ ## The Reek List
93
+
94
+ Take a look at the `reek` list which is the file called `REEK` and find something to improve.
95
+
96
+ To refresh the `reek` list:
97
+
98
+ ```console
99
+ bundle exec reek > REEK
100
+ ```
101
+
102
+ ## Run Tests
103
+
104
+ To run all tests
105
+
106
+ ```console
107
+ bundle exec rake test
108
+ ```
109
+
110
+ ### Spec organization (required)
111
+
112
+ - One spec file per class/module. For each class or module under `lib/`, keep all of its unit tests in a single spec file under `spec/` that mirrors the path and file name exactly: `lib/kettle/dev/release_cli.rb` -> `spec/kettle/dev/release_cli_spec.rb`.
113
+ - Never add a second spec file for the same class/module. Examples of disallowed names: `*_more_spec.rb`, `*_extra_spec.rb`, `*_status_spec.rb`, or any other suffix that still targets the same class. If you find yourself wanting a second file, merge those examples into the canonical spec file for that class/module.
114
+ - Exception: Integration specs that intentionally span multiple classes. Place these under `spec/integration/` (or a clearly named integration folder), and do not directly mirror a single class. Name them after the scenario, not a class.
115
+ - Migration note: If a duplicate spec file exists, move all examples into the canonical file and delete the duplicate. Do not leave stubs or empty files behind.
116
+
117
+ ## Lint It
118
+
119
+ Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.
120
+
121
+ ```console
122
+ bundle exec rake
123
+ ```
124
+
125
+ Or just run the linter.
126
+
127
+ ```console
128
+ bundle exec rake rubocop_gradual:autocorrect
129
+ ```
130
+
131
+ For more detailed information about using RuboCop in this project, please see the [RUBOCOP.md](RUBOCOP.md) guide. This project uses `rubocop_gradual` instead of vanilla RuboCop, which requires specific commands for checking violations.
132
+
133
+ ### Important: Do not add inline RuboCop disables
134
+
135
+ Never add `# rubocop:disable ...` / `# rubocop:enable ...` comments to code or specs (except when following the few existing `rubocop:disable` patterns for a rule already being disabled elsewhere in the code). Instead:
136
+
137
+ - Prefer configuration-based exclusions when a rule should not apply to certain paths or files (e.g., via `.rubocop.yml`).
138
+ - When a violation is temporary, and you plan to fix it later, record it in `.rubocop_gradual.lock` using the gradual workflow:
139
+ - `bundle exec rake rubocop_gradual:autocorrect` (preferred)
140
+ - `bundle exec rake rubocop_gradual:force_update` (only when you cannot fix the violations immediately)
141
+
142
+ As a general rule, fix style issues rather than ignoring them. For example, our specs should follow RSpec conventions like using `described_class` for the class under test.
143
+
144
+ ## Contributors
145
+
146
+ Your picture could be here!
147
+
148
+ [![Contributors][🖐contributors-img]][🖐contributors]
149
+
150
+ Made with [contributors-img][🖐contrib-rocks].
151
+
152
+ Also see GitLab Contributors: [https://gitlab.com/kettle-rb/kettle-dev/-/graphs/main][🚎contributors-gl]
153
+
154
+ ## For Maintainers
155
+
156
+ ### One-time, Per-maintainer, Setup
157
+
158
+ **IMPORTANT**: To sign a build,
159
+ a public key for signing gems will need to be picked up by the line in the
160
+ `gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there).
161
+ All releases are signed releases.
162
+ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
163
+
164
+ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in the environment.
165
+
166
+ ### To release a new version:
167
+
168
+ #### Automated process
169
+
170
+ 1. Update version.rb to contain the correct version-to-be-released.
171
+ 2. Run `bundle exec kettle-changelog`.
172
+ 3. Run `bundle exec kettle-release`.
173
+
174
+ #### Manual process
175
+
176
+ 1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
177
+ 2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
178
+ 3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
179
+ 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
180
+ 5. Run `git push` to trigger the final CI pipeline before release, and merge PRs
181
+ - NOTE: Remember to [check the build][🧪build].
182
+ 6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
183
+ 7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
184
+ 8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
185
+ 9. Optional for older Bundler (< 2.7.0): Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use the same timestamp and generate the same checksums
186
+ - If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
187
+ - Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
188
+ - If the echo above has no output, then it didn't work.
189
+ - Note: `zsh/datetime` module is needed, if running `zsh`.
190
+ - In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
191
+ 10. Run `bundle exec rake build`
192
+ 11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
193
+ to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
194
+ [gem][💎stone_checksums].
195
+ - The script automatically commits but does not push the checksums
196
+ 12. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
197
+ - `sha256sum pkg/<gem name>-<version>.gem`
198
+ 13. Run `bundle exec rake release` which will create a git tag for the version,
199
+ push git commits and tags, and push the `.gem` file to the gem host configured in the gemspec.
200
+
201
+ [📜src-gl]: https://gitlab.com/kettle-rb/kettle-dev/
202
+ [📜src-cb]: https://codeberg.org/kettle-rb/kettle-dev
203
+ [📜src-gh]: https://github.com/kettle-rb/kettle-dev
204
+ [🧪build]: https://github.com/kettle-rb/kettle-dev/actions
205
+ [🤝conduct]: https://gitlab.com/kettle-rb/kettle-dev/-/blob/main/CODE_OF_CONDUCT.md
206
+ [🖐contrib-rocks]: https://contrib.rocks
207
+ [🖐contributors]: https://github.com/kettle-rb/kettle-dev/graphs/contributors
208
+ [🚎contributors-gl]: https://gitlab.com/kettle-rb/kettle-dev/-/graphs/main
209
+ [🖐contributors-img]: https://contrib.rocks/image?repo=kettle-rb/kettle-dev
210
+ [💎gem-coop]: https://gem.coop
211
+ [🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
212
+ [🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
213
+ [🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
214
+ [💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
215
+ [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
216
+ [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
217
+ [📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
218
+ [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
219
+ [🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
220
+ [🏃‍♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
data/README.md CHANGED
@@ -770,8 +770,8 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
770
770
  ## 🤑 A request for help
771
771
 
772
772
  Maintainers have teeth and need to pay their dentists.
773
- After getting laid off in an RIF in March and filled with many dozens of rejections,
774
- I'm now spending ~60+ hours a week building open source tools.
773
+ After getting laid off in an RIF in March, and encountering difficulty finding a new one,
774
+ I began spending most of my time building open source tools.
775
775
  I'm hoping to be able to pay for my kids' health insurance this month,
776
776
  so if you value the work I am doing, I need your support.
777
777
  Please consider sponsoring me or the project.
data/README.md.example CHANGED
@@ -343,8 +343,8 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
343
343
  ## 🤑 A request for help
344
344
 
345
345
  Maintainers have teeth and need to pay their dentists.
346
- After getting laid off in an RIF in March and filled with many dozens of rejections,
347
- I'm now spending ~60+ hours a week building open source tools.
346
+ After getting laid off in an RIF in March, and encountering difficulty finding a new one,
347
+ I began spending most of my time building open source tools.
348
348
  I'm hoping to be able to pay for my kids' health insurance this month,
349
349
  so if you value the work I am doing, I need your support.
350
350
  Please consider sponsoring me or the project.
@@ -320,8 +320,8 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
320
320
  ## 🤑 A request for help
321
321
 
322
322
  Maintainers have teeth and need to pay their dentists.
323
- After getting laid off in an RIF in March and filled with many dozens of rejections,
324
- I'm now spending ~60+ hours a week building open source tools.
323
+ After getting laid off in an RIF in March, and encountering difficulty finding a new one,
324
+ I began spending most of my time building open source tools.
325
325
  I'm hoping to be able to pay for my kids' health insurance this month,
326
326
  so if you value the work I am doing, I need your support.
327
327
  Please consider sponsoring me or the project.
data/Rakefile.example CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kettle-dev Rakefile v1.1.38 - 2025-10-21
3
+ # kettle-dev Rakefile v1.1.40 - 2025-10-28
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.1.38"
9
+ VERSION = "1.1.40"
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.38
4
+ version: 1.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -208,6 +208,7 @@ files:
208
208
  - "./.simplecov.example"
209
209
  - "./Appraisals.example"
210
210
  - "./CHANGELOG.md.example"
211
+ - "./CONTRIBUTING.md.example"
211
212
  - "./FUNDING.md.no-osc.example"
212
213
  - "./Gemfile.example"
213
214
  - "./README.md.example"
@@ -276,6 +277,7 @@ files:
276
277
  - CITATION.cff
277
278
  - CODE_OF_CONDUCT.md
278
279
  - CONTRIBUTING.md
280
+ - CONTRIBUTING.md.example
279
281
  - FUNDING.md
280
282
  - FUNDING.md.no-osc.example
281
283
  - Gemfile
@@ -395,10 +397,10 @@ licenses:
395
397
  - MIT
396
398
  metadata:
397
399
  homepage_uri: https://kettle-dev.galtzo.com/
398
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.38
399
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.38/CHANGELOG.md
400
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.40
401
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.40/CHANGELOG.md
400
402
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
401
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.38
403
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.40
402
404
  funding_uri: https://github.com/sponsors/pboling
403
405
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
404
406
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file