kettle-jem-appraisals 0.1.8 → 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 +0 -0
- data/CHANGELOG.md +46 -1
- data/README.md +90 -136
- 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
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,49 @@ 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
|
+
|
|
33
76
|
## [0.1.8] - 2026-10-22
|
|
34
77
|
|
|
35
78
|
- TAG: [v0.1.8][0.1.8t]
|
|
@@ -305,7 +348,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
305
348
|
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
306
349
|
preserving comments and trailing commas during template updates.
|
|
307
350
|
|
|
308
|
-
[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
|
|
309
354
|
[0.1.8]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.7...v0.1.8
|
|
310
355
|
[0.1.8t]: https://github.com/appraisal-rb/kettle-jem-appraisals/releases/tag/v0.1.8
|
|
311
356
|
[0.1.7]: https://github.com/appraisal-rb/kettle-jem-appraisals/compare/v0.1.6...v0.1.7
|
data/README.md
CHANGED
|
@@ -6,18 +6,12 @@
|
|
|
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,101 +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 MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
55
|
-
| 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] |
|
|
56
|
-
| 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] |
|
|
57
|
-
| 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] |
|
|
58
|
-
| 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] |
|
|
59
|
-
| 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] |
|
|
60
|
-
| 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] |
|
|
61
|
-
| `...` 💖 | [![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] |
|
|
62
|
-
|
|
63
|
-
### Compatibility
|
|
64
|
-
|
|
65
|
-
Compatible with MRI Ruby 4.0.0+.
|
|
66
|
-
CI workflows and Appraisals are generated for MRI Ruby 4.0.0+.
|
|
67
|
-
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
68
|
-
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
69
|
-
not practical for the current toolchain.
|
|
70
|
-
|
|
71
|
-
<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>
|
|
72
|
-
|
|
73
|
-
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
74
|
-
|
|
75
|
-
<details markdown="1">
|
|
76
|
-
<summary>How kettle-dev manages complexity in tests</summary>
|
|
77
|
-
|
|
78
|
-
| Gem | Source | Role | Total downloads |
|
|
79
|
-
|-----|--------|------|---------------------|
|
|
80
|
-
| [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) |
|
|
81
|
-
| [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) |
|
|
82
|
-
| [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) |
|
|
83
|
-
| [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) |
|
|
84
|
-
| [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) |
|
|
85
|
-
| [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) |
|
|
86
|
-
| [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) |
|
|
87
|
-
| [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) |
|
|
88
|
-
|
|
89
|
-
</details>
|
|
90
|
-
|
|
91
|
-
### Runtime and Platform Support
|
|
92
|
-
|
|
93
|
-
Support tiers describe what this project's CI actually exercises, not what may
|
|
94
|
-
work in an untested environment:
|
|
95
|
-
|
|
96
|
-
- **Parallel support**: CI runs the test suite with multiple workers available.
|
|
97
|
-
- **Unsupported**: the engine/platform combination is not covered by CI and is
|
|
98
|
-
not a project compatibility claim.
|
|
99
|
-
|
|
100
|
-
| Ruby engine/version | Linux | macOS | Windows | Notes |
|
|
101
|
-
|---------------------|-------|-------|---------|-------|
|
|
102
|
-
| MRI 4.0-4.0 | Parallel support | Unsupported | Unsupported | Versioned Ruby workflows run on Linux. |
|
|
103
|
-
| MRI current | Parallel support | Parallel support | Unsupported | Current Ruby workflow covers the declared OS platforms. |
|
|
104
|
-
| MRI head | Parallel support | Unsupported | Unsupported | CI is allowed to fail while Ruby is in development. |
|
|
105
|
-
|
|
106
|
-
### Federated DVCS
|
|
107
|
-
|
|
108
|
-
<details markdown="1">
|
|
109
|
-
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
110
|
-
|
|
111
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
112
|
-
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
113
|
-
| 🧪 [appraisal-rb/kettle-jem-appraisals on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
114
|
-
| 🧊 [appraisal-rb/kettle-jem-appraisals on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
115
|
-
| 🐙 [appraisal-rb/kettle-jem-appraisals on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
116
|
-
|
|
117
|
-
</details>
|
|
118
|
-
|
|
119
|
-
### Enterprise Support
|
|
120
|
-
|
|
121
|
-
[](https://tidelift.com/subscription/pkg/rubygems-kettle-jem-appraisals?utm_source=rubygems-kettle-jem-appraisals&utm_medium=referral&utm_campaign=readme)
|
|
122
|
-
|
|
123
|
-
Available as part of the Tidelift Subscription.
|
|
124
|
-
|
|
125
|
-
<details markdown="1">
|
|
126
|
-
<summary>Need enterprise-level guarantees?</summary>
|
|
127
|
-
|
|
128
|
-
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.
|
|
129
|
-
|
|
130
|
-
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
|
131
|
-
|
|
132
|
-
- 💡Subscribe for support guarantees covering _all_ your FLOSS dependencies
|
|
133
|
-
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
|
134
|
-
- 💡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
|
|
135
|
-
|
|
136
|
-
Alternatively:
|
|
137
|
-
|
|
138
|
-
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
139
|
-
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
140
|
-
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
141
|
-
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
142
|
-
|
|
143
|
-
</details>
|
|
144
|
-
|
|
145
43
|
## ✨ Installation
|
|
146
44
|
|
|
147
45
|
Install the gem and add to the application's Gemfile by executing:
|
|
@@ -530,18 +428,84 @@ appraisal_matrix:
|
|
|
530
428
|
|
|
531
429
|
Produces entries like `kja-ar-7-1-oa-2-1-r3`, `kja-sq-5-0-oa-2-1-r3`.
|
|
532
430
|
|
|
533
|
-
|
|
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
|
|
534
502
|
|
|
535
|
-
|
|
503
|
+
For enterprise support from the maintainer, use [Upwork][👨🏼🏫expsup-upwork] or [CodeMentor][👨🏼🏫expsup-codementor].
|
|
536
504
|
|
|
537
|
-
|
|
538
|
-
|---------------|-------------------------------------------|
|
|
539
|
-
| `supported` | Current Ruby series (actively maintained) |
|
|
540
|
-
| `legacy` | Older Ruby series (maintenance mode) |
|
|
541
|
-
| `unsupported` | Ruby versions past EOL |
|
|
542
|
-
| `ancient` | Very old Ruby (best-effort) |
|
|
505
|
+
Other support channels:
|
|
543
506
|
|
|
544
|
-
|
|
507
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
508
|
+
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
545
509
|
|
|
546
510
|
## 🔐 Security
|
|
547
511
|
|
|
@@ -556,6 +520,8 @@ We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you m
|
|
|
556
520
|
|
|
557
521
|
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
|
558
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
|
+
|
|
559
525
|
### 🚀 Release Instructions
|
|
560
526
|
|
|
561
527
|
See [CONTRIBUTING.md][🤝contributing].
|
|
@@ -574,7 +540,7 @@ See [CONTRIBUTING.md][🤝contributing].
|
|
|
574
540
|
### 🪇 Code of Conduct
|
|
575
541
|
|
|
576
542
|
Everyone interacting with this project's codebases, issue trackers,
|
|
577
|
-
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].
|
|
578
544
|
|
|
579
545
|
## 🌈 Contributors
|
|
580
546
|
|
|
@@ -628,27 +594,18 @@ See [LICENSE.md][📄license] for the official copyright notice.
|
|
|
628
594
|
|
|
629
595
|
</details>
|
|
630
596
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
Maintainers have teeth and need to pay their dentists.
|
|
634
|
-
After getting laid off in an RIF in March, and encountering difficulty finding a new one,
|
|
635
|
-
I began spending most of my time building open source tools.
|
|
636
|
-
I'm hoping to be able to pay for my kids' health insurance this month,
|
|
637
|
-
so if you value the work I am doing, I need your support.
|
|
638
|
-
Please consider sponsoring me or the project.
|
|
639
|
-
|
|
640
|
-
To join the community or get help, use the RubyForum or Discord.
|
|
597
|
+
### Please give the project a star ⭐ ♥.
|
|
641
598
|
|
|
642
|
-
|
|
643
|
-
[![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.
|
|
644
600
|
|
|
645
|
-
|
|
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:
|
|
646
602
|
|
|
647
|
-
[![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]
|
|
648
604
|
|
|
649
|
-
|
|
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.
|
|
650
607
|
|
|
651
|
-
|
|
608
|
+
[🖇cloudroom]: https://go.cloudroom.dev/u9f53f181a
|
|
652
609
|
|
|
653
610
|
Thanks for RTFM. ☺️
|
|
654
611
|
|
|
@@ -722,9 +679,6 @@ Thanks for RTFM. ☺️
|
|
|
722
679
|
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
723
680
|
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
724
681
|
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
725
|
-
[🏙️entsup-tidelift]: https://tidelift.com/subscription/pkg/rubygems-kettle-jem-appraisals?utm_source=rubygems-kettle-jem-appraisals&utm_medium=referral&utm_campaign=readme
|
|
726
|
-
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
|
727
|
-
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
|
728
682
|
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
729
683
|
[🚂railsbling]: http://www.railsbling.com
|
|
730
684
|
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
@@ -777,7 +731,7 @@ Thanks for RTFM. ☺️
|
|
|
777
731
|
[🖐contributors-img]: https://contrib.rocks/image?repo=appraisal-rb/kettle-jem-appraisals
|
|
778
732
|
[🚎contributors-gl]: https://gitlab.com/appraisal-rb/kettle-jem-appraisals/-/graphs/main
|
|
779
733
|
[🪇conduct]: https://github.com/appraisal-rb/kettle-jem-appraisals/blob/main/CODE_OF_CONDUCT.md
|
|
780
|
-
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-
|
|
734
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-3.0-259D6C.svg
|
|
781
735
|
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
|
782
736
|
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
783
737
|
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
|
@@ -789,7 +743,7 @@ Thanks for RTFM. ☺️
|
|
|
789
743
|
[📌gitmoji]: https://gitmoji.dev
|
|
790
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
|
|
791
745
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
792
|
-
[🧮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
|
|
793
747
|
[🔐security]: https://github.com/appraisal-rb/kettle-jem-appraisals/blob/main/SECURITY.md
|
|
794
748
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
795
749
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -819,7 +773,7 @@ Thanks for RTFM. ☺️
|
|
|
819
773
|
| Homepage | https://github.com/appraisal-rb/kettle-jem-appraisals |
|
|
820
774
|
| Source | https://github.com/appraisal-rb/kettle-jem-appraisals |
|
|
821
775
|
| License | `AGPL-3.0-only` |
|
|
822
|
-
| 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 |
|
|
823
777
|
<!-- kettle-jem:metadata:end -->
|
|
824
778
|
|
|
825
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
|
|
@@ -193,22 +193,6 @@ module Kettle
|
|
|
193
193
|
def latest_patch: (String gem_name, String minor_version) -> String
|
|
194
194
|
end
|
|
195
195
|
VERSION: String
|
|
196
|
-
class WorkflowStrategyGenerator
|
|
197
|
-
LIFECYCLE_RANGES: Hash[String, Hash[Symbol, untyped]]
|
|
198
|
-
|
|
199
|
-
attr_reader bucket_ranges: Hash[String, Hash[Symbol, Gem::Version]]
|
|
200
|
-
attr_reader exec_cmd: String
|
|
201
|
-
|
|
202
|
-
def initialize: (bucket_ranges: Hash[String, Hash[Symbol, Gem::Version]], ?exec_cmd: String) -> void
|
|
203
|
-
def generate: (Array[Hash[Symbol, untyped]] appraisal_entries) -> Hash[String, Array[Hash[Symbol, untyped]]]
|
|
204
|
-
def generate_yaml_snippets: (Array[Hash[Symbol, untyped]] appraisal_entries) -> Hash[String, String]
|
|
205
|
-
|
|
206
|
-
private
|
|
207
|
-
|
|
208
|
-
def lifecycle_for: (Gem::Version ruby_floor) -> String
|
|
209
|
-
def ruby_version_for: (Gem::Version ruby_floor, String lifecycle) -> String
|
|
210
|
-
def build_matrix_entry: (Hash[Symbol, untyped] entry, String ruby_version) -> Hash[Symbol, untyped]
|
|
211
|
-
end
|
|
212
196
|
|
|
213
197
|
module XStdLibsExclusion
|
|
214
198
|
ALWAYS_EXCLUDED: Array[String]
|
data.tar.gz.sig
CHANGED
|
Binary file
|