kettle-jem-appraisals 0.1.7 → 0.1.9
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 +4 -4
- checksums.yaml.gz.sig +6 -7
- data/CHANGELOG.md +76 -3
- data/README.md +91 -143
- data/lib/kettle/jem/appraisals/cli.rb +1 -11
- data/lib/kettle/jem/appraisals/ruby_series_detector.rb +3 -68
- data/lib/kettle/jem/appraisals/version.rb +1 -1
- data/lib/kettle/jem/appraisals.rb +0 -1
- data/sig/kettle/jem/appraisals.rbs +0 -16
- data.tar.gz.sig +0 -0
- metadata +397 -350
- metadata.gz.sig +0 -0
- data/lib/kettle/jem/appraisals/workflow_strategy_generator.rb +0 -135
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87626b30775dd3087aa482944178b11cffc78121adeb4d4d688885eb68570b0b
|
|
4
|
+
data.tar.gz: 302e61e5bb7b333c580ce79dfda0635de29015e2216c3afc458323b93bf49e6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96de783cf3a6ca147752510fe70e1f43db561f6ec1eee42c17ab8ef0f40b83a6b38b73c339294676cf1c36bff5030ffd8f372ceb0aebf6632e5f6e1f5c0d5a92
|
|
7
|
+
data.tar.gz: a89033577d71d7b58d9d16e7ce1b77a64cf436112c77e3f2f1e2f9293a2ecd07786e0cd2dbe3c70ee9b1e5da321a4a60d7c906441a04b38091041fde68749be9
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
#X��P��0��&a�#�pG�$�
|
|
1
|
+
En6}�#�&;��V��ho
|
|
2
|
+
C�'η���|���\�C�6�}���P�ˡ<U��'�(4����6�"W�������L�i�(aSe~b���l�+��V
|
|
3
|
+
5���#�&&3ueq{֎�NX���z͎�9�/���2��l���h���K�)��vG��9� ������7H �,�������rvT�Qm6�ի���һ�l~B�d)0
|
|
4
|
+
$�k���j(T���SZ��0�}̊Uv�Y�J��(����b^k1L[?��
|
|
5
|
+
�cj@+q��D"��A�O[�ML��On݄�\��54�B`���+����M�n��o�K
|
|
6
|
+
���[�X+_:����^@�ܜ�!L�#m� )r\���[���K���4����;'ǎ�/��W[����h�
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,77 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.1.9] - 2026-12-04
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.1.9][0.1.9t]
|
|
36
|
+
- COVERAGE: 95.44% -- 900/943 lines in 14 files
|
|
37
|
+
- BRANCH COVERAGE: 83.96% -- 267/318 branches in 14 files
|
|
38
|
+
- 91.46% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Use kettle-rb's shared Ruby-series bucket range calculation.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Widen `kettle-jem` runtime dependency from `~> 7.1, >= 7.1.28` to `>= 7.1.28, < 9` to support StructuredMerge 8.x alongside 7.1.x.
|
|
47
|
+
|
|
48
|
+
- [kc] kettle-jem/template: updated 51 project files since the last release:
|
|
49
|
+
- code and tests (2)
|
|
50
|
+
- configuration (2)
|
|
51
|
+
- dependencies (23)
|
|
52
|
+
- documentation (3)
|
|
53
|
+
- other (11)
|
|
54
|
+
- workflows (10)
|
|
55
|
+
|
|
56
|
+
- kettle-jem-template-20261203-002 - Updated `CODE_OF_CONDUCT.md` and README
|
|
57
|
+
badges from Contributor Covenant 2.1 to Contributor Covenant 3.0.
|
|
58
|
+
- kettle-jem-template-20261203-004 - Development Gemfiles now pass
|
|
59
|
+
`relative_paths: true` to `nomono` (`>= 1.1.20`) so sibling `Gemfile.lock`
|
|
60
|
+
PATH remotes stay relative and checkout-independent.
|
|
61
|
+
- kettle-jem-template-20261203-006 - Trimmed generated `AGENTS.md` to ~4k
|
|
62
|
+
characters by removing duplicate sections, a hardcoded local path, and
|
|
63
|
+
IDE-specific tool names.
|
|
64
|
+
- kettle-jem-template-20261203-007 - Split non-Linux CI lanes (macOS and
|
|
65
|
+
Windows) out of `.github/workflows/current.yml` into `.github/workflows/platforms.yml`
|
|
66
|
+
(with `fail-fast: false` and `Jitujoshi71/soft-fail`) so macOS runner starvation does not turn the Current MRI badge red.
|
|
67
|
+
|
|
68
|
+
### Removed
|
|
69
|
+
|
|
70
|
+
- WorkflowStrategyGenerator and its resolve-mode output: it grouped appraisals into obsolete supported/legacy/unsupported/ancient workflow lifecycles and was never consumed
|
|
71
|
+
|
|
72
|
+
- kettle-jem-template-20261203-005 - Removed retired Tidelift funding links
|
|
73
|
+
and badges; `SECURITY.md` now directs vulnerability reports to GitHub Private
|
|
74
|
+
Vulnerability Reporting.
|
|
75
|
+
|
|
76
|
+
## [0.1.8] - 2026-10-22
|
|
77
|
+
|
|
78
|
+
- TAG: [v0.1.8][0.1.8t]
|
|
79
|
+
- COVERAGE: 95.69% -- 976/1020 lines in 15 files
|
|
80
|
+
- BRANCH COVERAGE: 83.93% -- 282/336 branches in 15 files
|
|
81
|
+
- 92.13% documented
|
|
82
|
+
|
|
83
|
+
### Changed
|
|
84
|
+
|
|
85
|
+
- Drop JRuby support because the runtime dependency graph requires MRI-only native extensions.
|
|
86
|
+
|
|
87
|
+
- Regenerate local Gemfile wiring after disabling unsupported JRuby coverage and aligning the appraisal2 floor.
|
|
88
|
+
|
|
89
|
+
- [kc] kettle-jem/prepare: updated 3 project files:
|
|
90
|
+
- dependencies (3)
|
|
91
|
+
|
|
92
|
+
- [kc] kettle-jem/template: updated 9 project files:
|
|
93
|
+
- code and tests (2)
|
|
94
|
+
- dependencies (2)
|
|
95
|
+
- documentation (1)
|
|
96
|
+
- other (1)
|
|
97
|
+
- workflows (3)
|
|
98
|
+
|
|
99
|
+
### Fixed
|
|
100
|
+
|
|
101
|
+
- kettle-jem-template-20260720-004 - MRI-only projects now omit JRuby and
|
|
102
|
+
TruffleRuby workflow jobs.
|
|
103
|
+
|
|
33
104
|
## [0.1.7] - 2026-10-21
|
|
34
105
|
|
|
35
106
|
- TAG: [v0.1.7][0.1.7t]
|
|
@@ -246,8 +317,6 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
246
317
|
|
|
247
318
|
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
248
319
|
uses the installed `smorg-rb` driver command.
|
|
249
|
-
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
250
|
-
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
251
320
|
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
252
321
|
version namespace and constants, reducing warning-only YARD lint output.
|
|
253
322
|
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
@@ -279,7 +348,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
279
348
|
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
280
349
|
preserving comments and trailing commas during template updates.
|
|
281
350
|
|
|
282
|
-
[Unreleased]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.
|
|
351
|
+
[Unreleased]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.9...HEAD
|
|
352
|
+
[0.1.9]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.8...v0.1.9
|
|
353
|
+
[0.1.9t]: https://github.com/appraisal-rb/kettle-jem-appraisals/releases/tag/v0.1.9
|
|
354
|
+
[0.1.8]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.7...v0.1.8
|
|
355
|
+
[0.1.8t]: https://github.com/appraisal-rb/kettle-jem-appraisals/releases/tag/v0.1.8
|
|
283
356
|
[0.1.7]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.6...v0.1.7
|
|
284
357
|
[0.1.7t]: https://github.com/appraisal-rb/kettle-jem-appraisals/releases/tag/v0.1.7
|
|
285
358
|
[0.1.6]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.5...v0.1.6
|
data/README.md
CHANGED
|
@@ -2,22 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# 🍲 Kettle::Jem::Appraisals
|
|
4
4
|
|
|
5
|
-
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: AGPL-3.0-only][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![
|
|
5
|
+
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: AGPL-3.0-only][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
|
6
6
|
|
|
7
7
|
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
|
|
8
8
|
|
|
9
|
-
---
|
|
10
|
-
|
|
11
9
|
`if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
|
|
12
10
|
|
|
13
11
|
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
19
|
-
|
|
20
|
-
</details>
|
|
13
|
+
<!-- kettle-sponsors:shields:start -->
|
|
14
|
+
<!-- kettle-sponsors:shields:end -->
|
|
21
15
|
|
|
22
16
|
## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
|
|
23
17
|
|
|
@@ -28,7 +22,6 @@ seam points (where `required_ruby_version` changes), and produces:
|
|
|
28
22
|
|
|
29
23
|
- **Modular gemfiles** under `gemfiles/modular/{gem}/{ruby_series}/v{version}.gemfile`
|
|
30
24
|
- An **Appraisals** file for use with [appraisal2](https://github.com/appraisal-rb/appraisal2)
|
|
31
|
-
- **Workflow strategy** matrix snippets for GitHub Actions CI
|
|
32
25
|
|
|
33
26
|
If you want a lighter-weight DSL for the original
|
|
34
27
|
[`appraisal`](https://github.com/thoughtbot/appraisal) gem, consider
|
|
@@ -47,103 +40,6 @@ targets **`appraisal`** (which does not support `eval_gemfile`, and only support
|
|
|
47
40
|
| **Mode** | Version selection strategy: `major`, `minor`, `patch`, `minor-minmax`, or `semver` |
|
|
48
41
|
| **`kja-` prefix** | All generated appraisal names start with `kja-` for reliable cleanup on regeneration |
|
|
49
42
|
|
|
50
|
-
## 💡 Info you can shake a stick at
|
|
51
|
-
|
|
52
|
-
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
53
|
-
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
54
|
-
| Works with JRuby | [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
55
|
-
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
56
|
-
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
57
|
-
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
58
|
-
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
|
|
59
|
-
| Compliance | [![License: AGPL-3.0-only][📄license-img]][📄license] [![Apache license compatibility: Category X][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
60
|
-
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
61
|
-
| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
|
62
|
-
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
|
63
|
-
|
|
64
|
-
### Compatibility
|
|
65
|
-
|
|
66
|
-
Compatible with MRI Ruby 4.0.0+, and JRuby.
|
|
67
|
-
CI workflows and Appraisals are generated for MRI Ruby 4.0.0+.
|
|
68
|
-
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
69
|
-
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
70
|
-
not practical for the current toolchain.
|
|
71
|
-
|
|
72
|
-
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
73
|
-
|
|
74
|
-
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
75
|
-
|
|
76
|
-
<details markdown="1">
|
|
77
|
-
<summary>How kettle-dev manages complexity in tests</summary>
|
|
78
|
-
|
|
79
|
-
| Gem | Source | Role | Total downloads |
|
|
80
|
-
|-----|--------|------|---------------------|
|
|
81
|
-
| [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://clickgems.clickhouse.com/dashboard/appraisal2) |
|
|
82
|
-
| [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
|
|
83
|
-
| [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
|
|
84
|
-
| [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
|
|
85
|
-
| [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
|
|
86
|
-
| [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://clickgems.clickhouse.com/dashboard/kettle-test) |
|
|
87
|
-
| [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
|
|
88
|
-
| [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
|
|
89
|
-
|
|
90
|
-
</details>
|
|
91
|
-
|
|
92
|
-
### Runtime and Platform Support
|
|
93
|
-
|
|
94
|
-
Support tiers describe what this project's CI actually exercises, not what may
|
|
95
|
-
work in an untested environment:
|
|
96
|
-
|
|
97
|
-
- **Parallel support**: CI runs the test suite with multiple workers available.
|
|
98
|
-
- **Unsupported**: the engine/platform combination is not covered by CI and is
|
|
99
|
-
not a project compatibility claim.
|
|
100
|
-
|
|
101
|
-
| Ruby engine/version | Linux | macOS | Windows | Notes |
|
|
102
|
-
|---------------------|-------|-------|---------|-------|
|
|
103
|
-
| MRI 4.0-4.0 | Parallel support | Unsupported | Unsupported | Versioned Ruby workflows run on Linux. |
|
|
104
|
-
| MRI current | Parallel support | Parallel support | Unsupported | Current Ruby workflow covers the declared OS platforms. |
|
|
105
|
-
| MRI head | Parallel support | Unsupported | Unsupported | CI is allowed to fail while Ruby is in development. |
|
|
106
|
-
| JRuby (all CI lanes) | Parallel support | Unsupported | Unsupported | Engine workflows run on Linux; macOS and Windows are not exercised by CI. |
|
|
107
|
-
|
|
108
|
-
### Federated DVCS
|
|
109
|
-
|
|
110
|
-
<details markdown="1">
|
|
111
|
-
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
112
|
-
|
|
113
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
114
|
-
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
115
|
-
| 🧪 [appraisal-rb/kettle-jem-appraisals on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
116
|
-
| 🧊 [appraisal-rb/kettle-jem-appraisals on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
117
|
-
| 🐙 [appraisal-rb/kettle-jem-appraisals on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
118
|
-
|
|
119
|
-
</details>
|
|
120
|
-
|
|
121
|
-
### Enterprise Support
|
|
122
|
-
|
|
123
|
-
[](https://tidelift.com/subscription/pkg/rubygems-kettle-jem-appraisals?utm_source=rubygems-kettle-jem-appraisals&utm_medium=referral&utm_campaign=readme)
|
|
124
|
-
|
|
125
|
-
Available as part of the Tidelift Subscription.
|
|
126
|
-
|
|
127
|
-
<details markdown="1">
|
|
128
|
-
<summary>Need enterprise-level guarantees?</summary>
|
|
129
|
-
|
|
130
|
-
The maintainers of this and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use.
|
|
131
|
-
|
|
132
|
-
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
|
133
|
-
|
|
134
|
-
- 💡Subscribe for support guarantees covering _all_ your FLOSS dependencies
|
|
135
|
-
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
|
136
|
-
- 💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers
|
|
137
|
-
|
|
138
|
-
Alternatively:
|
|
139
|
-
|
|
140
|
-
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
141
|
-
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
142
|
-
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
143
|
-
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
144
|
-
|
|
145
|
-
</details>
|
|
146
|
-
|
|
147
43
|
## ✨ Installation
|
|
148
44
|
|
|
149
45
|
Install the gem and add to the application's Gemfile by executing:
|
|
@@ -532,18 +428,84 @@ appraisal_matrix:
|
|
|
532
428
|
|
|
533
429
|
Produces entries like `kja-ar-7-1-oa-2-1-r3`, `kja-sq-5-0-oa-2-1-r3`.
|
|
534
430
|
|
|
535
|
-
|
|
431
|
+
## 🏢 Corporate Sponsorship
|
|
432
|
+
|
|
433
|
+
<!-- kettle-sponsors:cards:start -->
|
|
434
|
+
<!-- kettle-sponsors:cards:end -->
|
|
435
|
+
|
|
436
|
+
**If you're working in a company that's making significant use of appraisal-rb tools we'd
|
|
437
|
+
appreciate it if you suggest to your company to become a appraisal-rb sponsor.**
|
|
438
|
+
|
|
439
|
+
## 💡 Info you can shake a stick at
|
|
440
|
+
|
|
441
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
442
|
+
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
443
|
+
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
444
|
+
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
445
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
446
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
|
|
447
|
+
| Compliance | [![License: AGPL-3.0-only][📄license-img]][📄license] [![Apache license compatibility: Category X][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 3.0][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
448
|
+
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
449
|
+
| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
|
450
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
|
451
|
+
|
|
452
|
+
### Compatibility
|
|
453
|
+
|
|
454
|
+
The gem's declared runtime compatibility floor is MRI Ruby 4.0.0+.
|
|
455
|
+
CI workflows and Appraisals are generated for MRI Ruby 4.0.0+.
|
|
456
|
+
The current MRI CI lane runs on Linux and macOS.
|
|
457
|
+
The test floor is configured by `ruby.test_minimum` in `.structuredmerge/kettle-jem.yml`.
|
|
458
|
+
When it is higher than the runtime floor, older runtime-compatible Rubies are
|
|
459
|
+
not covered by the generated CI or Appraisal matrix.
|
|
460
|
+
|
|
461
|
+
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
462
|
+
|
|
463
|
+
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
464
|
+
|
|
465
|
+
<details markdown="1">
|
|
466
|
+
<summary>How kettle-dev manages complexity in tests</summary>
|
|
467
|
+
|
|
468
|
+
| Gem | Source | Role | Total downloads |
|
|
469
|
+
|-----|--------|------|---------------------|
|
|
470
|
+
| [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://clickgems.clickhouse.com/dashboard/appraisal2) |
|
|
471
|
+
| [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
|
|
472
|
+
| [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
|
|
473
|
+
| [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
|
|
474
|
+
| [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
|
|
475
|
+
| [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://clickgems.clickhouse.com/dashboard/kettle-test) |
|
|
476
|
+
| [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
|
|
477
|
+
| [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
|
|
478
|
+
|
|
479
|
+
</details>
|
|
480
|
+
|
|
481
|
+
### Federated DVCS
|
|
482
|
+
|
|
483
|
+
<details markdown="1">
|
|
484
|
+
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
485
|
+
|
|
486
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
487
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
488
|
+
| 🧪 [appraisal-rb/kettle-jem-appraisals on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
489
|
+
| 🧊 [appraisal-rb/kettle-jem-appraisals on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
490
|
+
| 🐙 [appraisal-rb/kettle-jem-appraisals on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
491
|
+
|
|
492
|
+
</details>
|
|
493
|
+
|
|
494
|
+
<details markdown="1">
|
|
495
|
+
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
496
|
+
|
|
497
|
+
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
498
|
+
|
|
499
|
+
</details>
|
|
500
|
+
|
|
501
|
+
### Enterprise Support
|
|
536
502
|
|
|
537
|
-
|
|
503
|
+
For enterprise support from the maintainer, use [Upwork][👨🏼🏫expsup-upwork] or [CodeMentor][👨🏼🏫expsup-codementor].
|
|
538
504
|
|
|
539
|
-
|
|
540
|
-
|---------------|-------------------------------------------|
|
|
541
|
-
| `supported` | Current Ruby series (actively maintained) |
|
|
542
|
-
| `legacy` | Older Ruby series (maintenance mode) |
|
|
543
|
-
| `unsupported` | Ruby versions past EOL |
|
|
544
|
-
| `ancient` | Very old Ruby (best-effort) |
|
|
505
|
+
Other support channels:
|
|
545
506
|
|
|
546
|
-
|
|
507
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
508
|
+
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
547
509
|
|
|
548
510
|
## 🔐 Security
|
|
549
511
|
|
|
@@ -558,6 +520,8 @@ We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you m
|
|
|
558
520
|
|
|
559
521
|
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
|
560
522
|
|
|
523
|
+
Want to contribute with AI coding agents? This project is developed with [Cloudroom][🖇cloudroom] and ships an `AGENTS.md` with repo conventions so agents can jump straight in. Signing up with [my referral link][🖇cloudroom] also supports ongoing maintenance at no extra cost to you.
|
|
524
|
+
|
|
561
525
|
### 🚀 Release Instructions
|
|
562
526
|
|
|
563
527
|
See [CONTRIBUTING.md][🤝contributing].
|
|
@@ -576,7 +540,7 @@ See [CONTRIBUTING.md][🤝contributing].
|
|
|
576
540
|
### 🪇 Code of Conduct
|
|
577
541
|
|
|
578
542
|
Everyone interacting with this project's codebases, issue trackers,
|
|
579
|
-
chat rooms and mailing lists agrees to follow the [![Contributor Covenant
|
|
543
|
+
chat rooms and mailing lists agrees to follow the [![Contributor Covenant 3.0][🪇conduct-img]][🪇conduct].
|
|
580
544
|
|
|
581
545
|
## 🌈 Contributors
|
|
582
546
|
|
|
@@ -630,27 +594,18 @@ See [LICENSE.md][📄license] for the official copyright notice.
|
|
|
630
594
|
|
|
631
595
|
</details>
|
|
632
596
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
Maintainers have teeth and need to pay their dentists.
|
|
636
|
-
After getting laid off in an RIF in March, and encountering difficulty finding a new one,
|
|
637
|
-
I began spending most of my time building open source tools.
|
|
638
|
-
I'm hoping to be able to pay for my kids' health insurance this month,
|
|
639
|
-
so if you value the work I am doing, I need your support.
|
|
640
|
-
Please consider sponsoring me or the project.
|
|
641
|
-
|
|
642
|
-
To join the community or get help, use the RubyForum or Discord.
|
|
597
|
+
### Please give the project a star ⭐ ♥.
|
|
643
598
|
|
|
644
|
-
|
|
645
|
-
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
599
|
+
Many parts of this project are actively managed by a [kettle-jem](https://github.com/structuredmerge/structuredmerge-ruby/tree/main/gems/kettle-jem) smart template utilizing [StructuredMerge.org](https://structuredmerge.org) merge contracts.
|
|
646
600
|
|
|
647
|
-
|
|
601
|
+
If this project helps you, please consider supporting the maintainer. This is not gated on the project's license; it appears in every README:
|
|
648
602
|
|
|
649
|
-
[![Sponsor kettle-dev/kettle-jem-appraisals on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
|
|
603
|
+
[![Sponsor kettle-dev/kettle-jem-appraisals on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal] 💌 [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] 💌 [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
650
604
|
|
|
651
|
-
|
|
605
|
+
I use [Cloudroom][🖇cloudroom], an agentic AI coding environment, every day. It's the first AI product that made me say "shut up and take my money."
|
|
606
|
+
If you sign up with [my referral link][🖇cloudroom], I receive a share of your subscription for as long as you stay subscribed, at no extra cost to you.
|
|
652
607
|
|
|
653
|
-
|
|
608
|
+
[🖇cloudroom]: https://go.cloudroom.dev/u9f53f181a
|
|
654
609
|
|
|
655
610
|
Thanks for RTFM. ☺️
|
|
656
611
|
|
|
@@ -724,9 +679,6 @@ Thanks for RTFM. ☺️
|
|
|
724
679
|
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
725
680
|
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
726
681
|
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
727
|
-
[🏙️entsup-tidelift]: https://tidelift.com/subscription/pkg/rubygems-kettle-jem-appraisals?utm_source=rubygems-kettle-jem-appraisals&utm_medium=referral&utm_campaign=readme
|
|
728
|
-
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
|
729
|
-
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
|
730
682
|
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
731
683
|
[🚂railsbling]: http://www.railsbling.com
|
|
732
684
|
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
@@ -755,8 +707,6 @@ Thanks for RTFM. ☺️
|
|
|
755
707
|
[🚎3-hd-wfi]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/heads.yml/badge.svg
|
|
756
708
|
[🚎5-st-wf]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/style.yml
|
|
757
709
|
[🚎5-st-wfi]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/style.yml/badge.svg
|
|
758
|
-
[🚎10-j-wf]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/jruby.yml
|
|
759
|
-
[🚎10-j-wfi]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/jruby.yml/badge.svg
|
|
760
710
|
[🚎11-c-wf]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/current.yml
|
|
761
711
|
[🚎11-c-wfi]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/current.yml/badge.svg
|
|
762
712
|
[🚎12-crh-wf]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/dep-heads.yml
|
|
@@ -767,8 +717,6 @@ Thanks for RTFM. ☺️
|
|
|
767
717
|
[🚎14-🔓️-wfi]: https://github.com/appraisal-rb/kettle-jem-appraisals/actions/workflows/unlocked_deps.yml/badge.svg
|
|
768
718
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
769
719
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
770
|
-
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
771
|
-
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
772
720
|
[🤝gh-issues]: https://github.com/appraisal-rb/kettle-jem-appraisals/issues
|
|
773
721
|
[🤝gh-pulls]: https://github.com/appraisal-rb/kettle-jem-appraisals/pulls
|
|
774
722
|
[🤝gl-issues]: https://gitlab.com/appraisal-rb/kettle-jem-appraisals/-/issues
|
|
@@ -783,7 +731,7 @@ Thanks for RTFM. ☺️
|
|
|
783
731
|
[🖐contributors-img]: https://contrib.rocks/image?repo=appraisal-rb/kettle-jem-appraisals
|
|
784
732
|
[🚎contributors-gl]: https://gitlab.com/appraisal-rb/kettle-jem-appraisals/-/graphs/main
|
|
785
733
|
[🪇conduct]: https://github.com/appraisal-rb/kettle-jem-appraisals/blob/main/CODE_OF_CONDUCT.md
|
|
786
|
-
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-
|
|
734
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-3.0-259D6C.svg
|
|
787
735
|
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
|
788
736
|
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
789
737
|
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
|
@@ -795,7 +743,7 @@ Thanks for RTFM. ☺️
|
|
|
795
743
|
[📌gitmoji]: https://gitmoji.dev
|
|
796
744
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
797
745
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
798
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-
|
|
746
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.943-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
799
747
|
[🔐security]: https://github.com/appraisal-rb/kettle-jem-appraisals/blob/main/SECURITY.md
|
|
800
748
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
801
749
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -825,7 +773,7 @@ Thanks for RTFM. ☺️
|
|
|
825
773
|
| Homepage | https://github.com/appraisal-rb/kettle-jem-appraisals |
|
|
826
774
|
| Source | https://github.com/appraisal-rb/kettle-jem-appraisals |
|
|
827
775
|
| License | `AGPL-3.0-only` |
|
|
828
|
-
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/kettle-dev, https://thanks.dev/u/gh/pboling, https://
|
|
776
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/kettle-dev, https://thanks.dev/u/gh/pboling, https://www.buymeacoffee.com/pboling |
|
|
829
777
|
<!-- kettle-jem:metadata:end -->
|
|
830
778
|
|
|
831
779
|
[kettle-rb]: https://github.com/kettle-dev/kettle-rb
|
|
@@ -18,7 +18,7 @@ module Kettle
|
|
|
18
18
|
#
|
|
19
19
|
# In *resolve* mode, queries RubyGems for version data, assigns gem
|
|
20
20
|
# versions to Ruby-series buckets, generates modular gemfiles, an
|
|
21
|
-
# +Appraisals+ file
|
|
21
|
+
# +Appraisals+ file.
|
|
22
22
|
#
|
|
23
23
|
# @example Run from the command line
|
|
24
24
|
# Kettle::Jem::Appraisals::CLI.run(["--resolve"])
|
|
@@ -312,16 +312,6 @@ module Kettle
|
|
|
312
312
|
|
|
313
313
|
puts " 📊 Generated #{appraisal_entries.size} appraisal entries"
|
|
314
314
|
|
|
315
|
-
# Generate workflow strategy matrix snippets
|
|
316
|
-
workflow_gen = WorkflowStrategyGenerator.new(
|
|
317
|
-
bucket_ranges: bucket_ranges,
|
|
318
|
-
exec_cmd: matrix.dig("exec_cmd") || "rake spec"
|
|
319
|
-
)
|
|
320
|
-
workflow_groups = workflow_gen.generate(appraisal_entries)
|
|
321
|
-
workflow_groups.each do |lifecycle, entries|
|
|
322
|
-
puts " 🔧 #{lifecycle}.yml: #{entries.size} matrix entries"
|
|
323
|
-
end
|
|
324
|
-
|
|
325
315
|
# Clean up stale kja-* flat gemfiles from previous runs
|
|
326
316
|
cleanup_stale_gemfiles(appraisal_entries)
|
|
327
317
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "kettle/jem"
|
|
4
|
+
require "kettle/rb/ruby_series_buckets"
|
|
4
5
|
|
|
5
6
|
module Kettle
|
|
6
7
|
module Jem
|
|
@@ -81,9 +82,9 @@ module Kettle
|
|
|
81
82
|
end
|
|
82
83
|
|
|
83
84
|
minor_versions = all_min_rubies.map { |v| minor_key(v) }.uniq.sort
|
|
84
|
-
buckets_and_ranges =
|
|
85
|
+
buckets_and_ranges = Kettle::Rb::RubySeriesBuckets.from_minor_versions(minor_versions)
|
|
85
86
|
buckets = buckets_and_ranges[:buckets].sort_by { |b| bucket_sort_key(b) }
|
|
86
|
-
{buckets: buckets, bucket_ranges: buckets_and_ranges[:
|
|
87
|
+
{buckets: buckets, bucket_ranges: buckets_and_ranges[:bucket_ranges]}
|
|
87
88
|
end
|
|
88
89
|
|
|
89
90
|
# Returns the seam points for a single gem where +min_ruby+ increases.
|
|
@@ -144,72 +145,6 @@ module Kettle
|
|
|
144
145
|
"#{segs[0]}.#{segs[1] || 0}"
|
|
145
146
|
end
|
|
146
147
|
|
|
147
|
-
# Converts a sorted list of minor version strings into bucket names
|
|
148
|
-
# and computes the floor/ceiling Ruby version for each bucket.
|
|
149
|
-
#
|
|
150
|
-
# Algorithm: Group by major. Within each major, the LAST (newest) minor
|
|
151
|
-
# becomes the catch-all "rN" bucket. Every earlier minor gets an
|
|
152
|
-
# explicit "rN.M" bucket.
|
|
153
|
-
#
|
|
154
|
-
# Example: ["2.4", "2.6", "2.7", "3.0", "3.1", "3.2"]
|
|
155
|
-
# Major 2: 2.4→r2.4 (floor=2.4, ceil=2.5), 2.6→r2.6 (floor=2.6, ceil=2.6),
|
|
156
|
-
# 2.7→r2 (floor=2.7, ceil=2.99)
|
|
157
|
-
# Major 3: 3.0/3.1→r3.1 (floor=3.0, ceil=3.1), 3.2→r3 (floor=3.2, ceil=3.99)
|
|
158
|
-
def minor_versions_to_buckets_with_ranges(minor_versions)
|
|
159
|
-
by_major = {}
|
|
160
|
-
minor_versions.each do |mv|
|
|
161
|
-
major = mv.split(".").first.to_i
|
|
162
|
-
by_major[major] ||= []
|
|
163
|
-
by_major[major] << mv
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
buckets = []
|
|
167
|
-
ranges = {}
|
|
168
|
-
|
|
169
|
-
by_major.each do |major, minors|
|
|
170
|
-
sorted = minors.sort_by { |m| Gem::Version.new(m) }
|
|
171
|
-
|
|
172
|
-
if sorted.size == 1
|
|
173
|
-
bucket = "r#{major}"
|
|
174
|
-
buckets << bucket
|
|
175
|
-
ranges[bucket] = {
|
|
176
|
-
floor: Gem::Version.new(sorted[0]),
|
|
177
|
-
ceiling: Gem::Version.new("#{major}.99")
|
|
178
|
-
}
|
|
179
|
-
else
|
|
180
|
-
sorted.each_with_index do |mv, idx|
|
|
181
|
-
minor_num = mv.split(".").last.to_i
|
|
182
|
-
|
|
183
|
-
if idx == sorted.size - 1
|
|
184
|
-
# Last → catch-all
|
|
185
|
-
bucket = "r#{major}"
|
|
186
|
-
buckets << bucket
|
|
187
|
-
ranges[bucket] = {
|
|
188
|
-
floor: Gem::Version.new(mv),
|
|
189
|
-
ceiling: Gem::Version.new("#{major}.99")
|
|
190
|
-
}
|
|
191
|
-
else
|
|
192
|
-
# Named bucket rN.M where M = next_minor - 1
|
|
193
|
-
next_minor = sorted[idx + 1].split(".").last.to_i
|
|
194
|
-
upper = (next_minor > 0) ? next_minor - 1 : minor_num
|
|
195
|
-
upper = [upper, minor_num].max
|
|
196
|
-
bucket = "r#{major}.#{upper}"
|
|
197
|
-
buckets << bucket unless buckets.include?(bucket)
|
|
198
|
-
# Don't overwrite if bucket already exists (merged ranges)
|
|
199
|
-
unless ranges.key?(bucket)
|
|
200
|
-
ranges[bucket] = {
|
|
201
|
-
floor: Gem::Version.new(mv),
|
|
202
|
-
ceiling: Gem::Version.new("#{major}.#{upper}")
|
|
203
|
-
}
|
|
204
|
-
end
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
{buckets: buckets.uniq, ranges: ranges}
|
|
211
|
-
end
|
|
212
|
-
|
|
213
148
|
# Sort key for bucket names so r2.4 < r2.6 < r2 < r3.1 < r3
|
|
214
149
|
def bucket_sort_key(bucket)
|
|
215
150
|
match = bucket.match(/\Ar(\d+)(?:\.(\d+))?\z/)
|
|
@@ -6,7 +6,7 @@ module Kettle
|
|
|
6
6
|
# Version namespace for this gem.
|
|
7
7
|
module Version
|
|
8
8
|
# Current gem version.
|
|
9
|
-
VERSION = "0.1.
|
|
9
|
+
VERSION = "0.1.9"
|
|
10
10
|
end
|
|
11
11
|
# Current gem version exposed at the traditional constant location.
|
|
12
12
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
@@ -26,7 +26,6 @@ module Kettle
|
|
|
26
26
|
autoload :AppraisalsGenerator, "kettle/jem/appraisals/appraisals_generator"
|
|
27
27
|
autoload :RubySeriesDetector, "kettle/jem/appraisals/ruby_series_detector"
|
|
28
28
|
autoload :SubDepResolver, "kettle/jem/appraisals/sub_dep_resolver"
|
|
29
|
-
autoload :WorkflowStrategyGenerator, "kettle/jem/appraisals/workflow_strategy_generator"
|
|
30
29
|
autoload :XStdLibsExclusion, "kettle/jem/appraisals/x_std_libs_exclusion"
|
|
31
30
|
end
|
|
32
31
|
end
|