kettle-test 1.0.10 → 2.0.0

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: 79fc981181a8f3b48ffa133eeeea78ad356c5f1bc2816facd7890196b818ca4a
4
- data.tar.gz: 301dffb357aa9de2b960e8b7e8026f10d9d3d3770f39beda8856fdecf3e68828
3
+ metadata.gz: cbe1eaa80cb9dd058c0a15bc97eea4001724c2394f0de93861b91cdc84418db7
4
+ data.tar.gz: d28455bcee4ebf4d7cd9ab938486fc25a9da69c77951e7c5fd46aa5702c95375
5
5
  SHA512:
6
- metadata.gz: 5f71ae20e1df354bd9a7df27798bcbcbbc72c18e2d37675887a4b5fae0c71f61d4303963147cad26c3bbc6e236a318f478f60f961416069d895f471b2c481cc4
7
- data.tar.gz: 3e49306564d004d2660f7c097a65dcb193bd475de691f43e960eb54229db76af340b55d2b28a080257761a45ae2af805098dd7f35d2079029e99ff38ddf5c0dc
6
+ metadata.gz: 3656368bcccf8c36c9471c91e76c4efeb53cd6fdc730f1f29b41ad2459a234da79994d83e214b22c25b76876e4666df75d37ee739135c0f2a74ef43a55501813
7
+ data.tar.gz: 74e563353e366a54a7963487f30e2fc7ff63f0361ac301c7cca8e3846988e8fc4debe464225df8297f5a8e651d658284ffc497e3c9f9fbb9eba865ac3ad9ccf3
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -22,6 +22,9 @@ Please file a bug if you notice a violation of semantic versioning.
22
22
 
23
23
  ### Changed
24
24
 
25
+ - Dropped support for Ruby 2.3 because `turbo_tests2` is now a runtime
26
+ dependency and requires Ruby 2.4 or newer.
27
+
25
28
  ### Deprecated
26
29
 
27
30
  ### Removed
@@ -30,6 +33,35 @@ Please file a bug if you notice a violation of semantic versioning.
30
33
 
31
34
  ### Security
32
35
 
36
+ ## [2.0.0] - 2026-05-23
37
+
38
+ - TAG: [v2.0.0][2.0.0t]
39
+ - COVERAGE: 100.00% -- 91/91 lines in 15 files
40
+ - BRANCH COVERAGE: 100.00% -- 2/2 branches in 15 files
41
+ - 90.00% documented
42
+
43
+ ### Added
44
+
45
+ - Added the `kettle-test` executable, which runs RSpec through Bundler, captures
46
+ full output under `tmp/kettle-test/`, and prints a compact failure, seed,
47
+ timing, and coverage summary.
48
+ - Added default `kettle/test/rspec` integration coverage for exported RSpec
49
+ helpers and configuration constants.
50
+
51
+ ### Changed
52
+
53
+ - `kettle-test` now runs specs through `turbo_tests2` by default, with
54
+ `KETTLE_TEST_RUNNER=rspec` available as an opt-out for direct RSpec runs.
55
+ - Added `KETTLE_TEST_TURBO_PROCESSES`, `KETTLE_TEST_TURBO_RUNTIME_LOG`, and
56
+ `KETTLE_TEST_TURBO_NICE` controls for the default `turbo_tests2` runner.
57
+ - Switched the coverage test stack to `turbo_tests2 ~> 3.0`.
58
+ - Migrated local development dependency wiring to the current nomono-based
59
+ modular Gemfile pattern used by the kettle-rb template.
60
+ - Refreshed project templating, CI workflows, and release support files from the
61
+ current kettle-jem full template.
62
+ - Changed the project license metadata and generated license files to
63
+ `AGPL-3.0-only`.
64
+
33
65
  ## [1.0.10] - 2026-02-06
34
66
 
35
67
  - TAG: [v1.0.10][1.0.10t]
@@ -200,7 +232,9 @@ Please file a bug if you notice a violation of semantic versioning.
200
232
  - silent_stream
201
233
  - timecop-rspec
202
234
 
203
- [Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v1.0.10...HEAD
235
+ [Unreleased]: https://github.com/kettle-rb/kettle-test/compare/v2.0.0...HEAD
236
+ [2.0.0]: https://github.com/kettle-rb/kettle-test/compare/v1.0.10...v2.0.0
237
+ [2.0.0t]: https://github.com/kettle-rb/kettle-test/releases/tag/v2.0.0
204
238
  [1.0.10]: https://github.com/kettle-rb/kettle-test/compare/v1.0.9...v1.0.10
205
239
  [1.0.10t]: https://github.com/kettle-rb/kettle-test/releases/tag/v1.0.10
206
240
  [1.0.9]: https://github.com/kettle-rb/kettle-test/compare/v1.0.8...v1.0.9
data/CITATION.cff CHANGED
@@ -1,19 +1,19 @@
1
1
  cff-version: 1.2.0
2
- title: kettle-test
2
+ title: "kettle-test"
3
3
  message: >-
4
4
  If you use this work and you want to cite it,
5
5
  then you can use the metadata from this file.
6
6
  type: software
7
7
  authors:
8
- - given-names: Peter Hurn
9
- family-names: Boling
10
- email: peter@railsbling.com
11
- affiliation: railsbling.com
8
+ - given-names: "Peter H."
9
+ family-names: "Boling"
10
+ email: "floss@galtzo.com"
11
+ affiliation: "galtzo.com"
12
12
  orcid: 'https://orcid.org/0009-0008-8519-441X'
13
13
  identifiers:
14
14
  - type: url
15
15
  value: 'https://github.com/kettle-rb/kettle-test'
16
- description: kettle-test
16
+ description: "kettle-test"
17
17
  repository-code: 'https://github.com/kettle-rb/kettle-test'
18
18
  abstract: >-
19
19
  kettle-test
data/CONTRIBUTING.md CHANGED
@@ -8,19 +8,27 @@ To submit a patch, please fork the project, create a patch with tests, and send
8
8
 
9
9
  Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] if you make changes.
10
10
 
11
+ ## Developer Certificate of Origin
12
+
13
+ In order to protect users of this project, we require all contributors to comply with the
14
+ [Developer Certificate of Origin](https://developercertificate.org/).
15
+ This ensures that all contributions are properly licensed and attributed.
16
+
11
17
  ## Help out!
12
18
 
13
- Take a look at the `reek` list which is the file called `REEK` and find something to improve.
19
+ Take a look at the open issues and pull requests, or use the gem and find something to improve.
14
20
 
15
21
  Follow these instructions:
16
22
 
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.
23
+ 1. Join the Discord: [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
24
+ 2. Fork the repository
25
+ 3. Create your feature branch (`git checkout -b my-new-feature`)
26
+ 4. Make some fixes.
27
+ 5. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 6. Push to the branch (`git push origin my-new-feature`)
29
+ 7. Make sure to add tests for it. This is important, so it doesn't break in a future release.
30
+ 8. Create new Pull Request.
31
+ 9. Announce it in the channel for this org in the [Discord][✉️discord-invite]!
24
32
 
25
33
  ## Executables vs Rake tasks
26
34
 
@@ -52,7 +60,7 @@ General/runtime
52
60
  - CI: When set to true, adjusts default rake tasks toward CI behavior
53
61
 
54
62
  Coverage (kettle-soup-cover / SimpleCov)
55
- - K_SOUP_COV_DO: Enable coverage collection (default: true in .envrc)
63
+ - K_SOUP_COV_DO: Enable coverage collection (default: true in `mise.toml`)
56
64
  - K_SOUP_COV_FORMATTERS: Comma-separated list of formatters (html, xml, rcov, lcov, json, tty)
57
65
  - K_SOUP_COV_MIN_LINE: Minimum line coverage threshold (integer, e.g., 100)
58
66
  - K_SOUP_COV_MIN_BRANCH: Minimum branch coverage threshold (integer, e.g., 100)
@@ -78,7 +86,7 @@ Git hooks and commit message helpers (exe/kettle-commit-msg)
78
86
  - GIT_HOOK_FOOTER_SENTINEL: Required when footer append is enabled — a unique first-line sentinel to prevent duplicates
79
87
  - GIT_HOOK_FOOTER_APPEND_DEBUG: Extra debug output in the footer template (true/false)
80
88
 
81
- For a quick starting point, this repository’s `.envrc` shows sane defaults, and `.env.local` can override them locally.
89
+ For a quick starting point, this repository’s `mise.toml` defines the shared defaults, and `.env.local` can override them locally. Copy `.env.local.example` to `.env.local`, use `KEY=value` lines, and either activate `mise` in your shell or run commands through `mise exec -C /path/to/project -- ...`.
82
90
 
83
91
  ## Appraisals
84
92
 
@@ -97,22 +105,20 @@ bin/rake appraisal:reset
97
105
 
98
106
  When adding an appraisal to CI, check the [runner tool cache][🏃‍♂️runner-tool-cache] to see which runner to use.
99
107
 
100
- ## The Reek List
101
-
102
- Take a look at the `reek` list which is the file called `REEK` and find something to improve.
108
+ ## Run Tests
103
109
 
104
- To refresh the `reek` list:
110
+ Run tests via `kettle-test` (provided by `kettle-test`). It runs RSpec, writes the full log to
111
+ `tmp/kettle-test/rspec-TIMESTAMP.log`, and prints a compact highlight block with timing, seed,
112
+ pass/fail count, failing example list, and SimpleCov coverage percentages.
105
113
 
106
114
  ```console
107
- bundle exec reek > REEK
115
+ bundle exec kettle-test
108
116
  ```
109
117
 
110
- ## Run Tests
111
-
112
- To run all tests
118
+ For targeted runs, disable the hard coverage threshold to avoid false failures:
113
119
 
114
120
  ```console
115
- bundle exec rake test
121
+ K_SOUP_COV_MIN_HARD=false bundle exec kettle-test spec/path/to/spec.rb
116
122
  ```
117
123
 
118
124
  ### Spec organization (required)
@@ -183,33 +189,34 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
183
189
  1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
184
190
  2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
185
191
  3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
186
- 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
187
- 5. Run `git push` to trigger the final CI pipeline before release, and merge PRs
192
+ 4. Run `bin/rake yard` to regenerate the docs site using the canonical docs task
193
+ 5. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
194
+ 6. Run `git push` to trigger the final CI pipeline before release, and merge PRs
188
195
  - NOTE: Remember to [check the build][🧪build].
189
- 6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
190
- 7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
191
- 8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
192
- 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
196
+ 7. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
197
+ 8. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
198
+ 9. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
199
+ 10. 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
193
200
  - If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
194
201
  - Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
195
202
  - If the echo above has no output, then it didn't work.
196
203
  - Note: `zsh/datetime` module is needed, if running `zsh`.
197
204
  - In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
198
- 10. Run `bundle exec rake build`
199
- 11. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
205
+ 11. Run `bundle exec rake build`
206
+ 12. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
200
207
  to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
201
208
  [gem][💎stone_checksums].
202
209
  - The script automatically commits but does not push the checksums
203
- 12. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
210
+ 13. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
204
211
  - `sha256sum pkg/<gem name>-<version>.gem`
205
- 13. Run `bundle exec rake release` which will create a git tag for the version,
212
+ 14. Run `bundle exec rake release` which will create a git tag for the version,
206
213
  push git commits and tags, and push the `.gem` file to the gem host configured in the gemspec.
207
214
 
208
- [📜src-gl]: https://gitlab.com/kettle-rb/kettle-test/
215
+ [📜src-gl]: https://gitlab.com/kettle-rb/kettle-test
209
216
  [📜src-cb]: https://codeberg.org/kettle-rb/kettle-test
210
217
  [📜src-gh]: https://github.com/kettle-rb/kettle-test
211
218
  [🧪build]: https://github.com/kettle-rb/kettle-test/actions
212
- [🤝conduct]: https://gitlab.com/kettle-rb/kettle-test/-/blob/main/CODE_OF_CONDUCT.md
219
+ [🤝conduct]: https://github.com/kettle-rb/kettle-test/blob/main/CODE_OF_CONDUCT.md
213
220
  [🖐contrib-rocks]: https://contrib.rocks
214
221
  [🖐contributors]: https://github.com/kettle-rb/kettle-test/graphs/contributors
215
222
  [🚎contributors-gl]: https://gitlab.com/kettle-rb/kettle-test/-/graphs/main
@@ -225,3 +232,4 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
225
232
  [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
226
233
  [🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
227
234
  [🏃‍♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
235
+ [✉️discord-invite]: https://discord.gg/3qme4XHNKN
data/FUNDING.md CHANGED
@@ -19,7 +19,7 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
19
19
  [🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
20
20
  [🖇polar]: https://polar.sh/pboling
21
21
  [🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
22
- [🖇kofi]: https://ko-fi.com/O5O86SNP4
22
+ [🖇kofi]: https://ko-fi.com/pboling
23
23
  [🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
24
24
  [🖇patreon]: https://patreon.com/galtzo
25
25
  [🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
data/LICENSE.md ADDED
@@ -0,0 +1,13 @@
1
+ # License
2
+
3
+ This project is made available under the following licenses.
4
+ Choose the option that best fits your use case:
5
+
6
+ - [AGPL-3.0-only](AGPL-3.0-only.md)
7
+ - [PolyForm-Small-Business-1.0.0](PolyForm-Small-Business-1.0.0.md)
8
+
9
+ If none of the above licenses fit your use case, please [contact us](mailto:floss@galtzo.com) to discuss a custom commercial license.
10
+
11
+ ## Copyright Notice
12
+
13
+ Required Notice: Copyright (c) 2023, 2025-2026 Peter H. Boling