Skip to content

Commit 257f03e

Browse files
committed
🎨 kettle-dev v1.1.27 template
1 parent 4266b85 commit 257f03e

File tree

6 files changed

+96
-36
lines changed

6 files changed

+96
-36
lines changed

.github/workflows/current.yml

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ jobs:
6363

6464
steps:
6565
- name: Checkout
66-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
66+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
6767
uses: actions/checkout@v5
6868

6969
- name: Setup Ruby & RubyGems
70-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
70+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
7171
uses: ruby/setup-ruby@v1
7272
with:
7373
ruby-version: ${{ matrix.ruby }}
@@ -79,11 +79,37 @@ jobs:
7979
# We need to do this first to get appraisal installed.
8080
# NOTE: This does not use the primary Gemfile at all.
8181
- name: Install Root Appraisal
82-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
82+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
8383
run: bundle
84-
- name: Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}
85-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
84+
85+
- name: "[Attempt 1] Install Root Appraisal"
86+
id: bundleAttempt1
87+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
88+
run: bundle
89+
# Continue to the next step on failure
90+
continue-on-error: true
91+
92+
# Effectively an automatic retry of the previous step.
93+
- name: "[Attempt 2] Install Root Appraisal"
94+
id: bundleAttempt2
95+
# If bundleAttempt1 failed, try again here; Otherwise skip.
96+
if: ${{ steps.bundleAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
97+
run: bundle
98+
99+
- name: "[Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
100+
id: bundleAppraisalAttempt1
101+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
102+
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
103+
# Continue to the next step on failure
104+
continue-on-error: true
105+
106+
# Effectively an automatic retry of the previous step.
107+
- name: "[Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
108+
id: bundleAppraisalAttempt2
109+
# If bundleAppraisalAttempt1 failed, try again here; Otherwise skip.
110+
if: ${{ steps.bundleAppraisalAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
86111
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
87-
- name: Tests for ${{ matrix.ruby }}@${{ matrix.appraisal }} via ${{ matrix.exec_cmd }}
88-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
112+
113+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
114+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
89115
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/dep-heads.yml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ jobs:
6767

6868
steps:
6969
- name: Checkout
70-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
70+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
7171
uses: actions/checkout@v5
7272

7373
- name: Setup Ruby & RubyGems
74-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
74+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
7575
uses: ruby/setup-ruby@v1
7676
with:
7777
ruby-version: ${{ matrix.ruby }}
@@ -82,24 +82,38 @@ jobs:
8282
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
8383
# We need to do this first to get appraisal installed.
8484
# NOTE: This does not use the primary Gemfile at all.
85-
- name: "Install Root Appraisal"
86-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
85+
- name: Install Root Appraisal
86+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
8787
run: bundle
8888

89-
- name: "[Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
90-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
89+
- name: "[Attempt 1] Install Root Appraisal"
9190
id: bundleAttempt1
91+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
92+
run: bundle
93+
# Continue to the next step on failure
94+
continue-on-error: true
95+
96+
# Effectively an automatic retry of the previous step.
97+
- name: "[Attempt 2] Install Root Appraisal"
98+
id: bundleAttempt2
99+
# If bundleAttempt1 failed, try again here; Otherwise skip.
100+
if: ${{ steps.bundleAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
101+
run: bundle
102+
103+
- name: "[Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
104+
id: bundleAppraisalAttempt1
105+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
92106
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
93107
# Continue to the next step on failure
94108
continue-on-error: true
95109

96110
# Effectively an automatic retry of the previous step.
97111
- name: "[Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
98-
# If bundleAttempt1 failed, try again here; Otherwise skip.
99-
if: ${{ steps.bundleAttempt1.outcome == 'failure' && !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
100-
id: bundleAttempt2
112+
id: bundleAppraisalAttempt2
113+
# If bundleAppraisalAttempt1 failed, try again here; Otherwise skip.
114+
if: ${{ steps.bundleAppraisalAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
101115
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
102116

103-
- name: Tests for ${{ matrix.ruby }}@${{ matrix.appraisal }} via ${{ matrix.exec_cmd }}
104-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
117+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
118+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
105119
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/heads.yml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ jobs:
6464

6565
steps:
6666
- name: Checkout
67-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
67+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
6868
uses: actions/checkout@v5
6969

7070
- name: Setup Ruby & RubyGems
71-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
71+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
7272
uses: ruby/setup-ruby@v1
7373
with:
7474
ruby-version: ${{ matrix.ruby }}
@@ -79,24 +79,38 @@ jobs:
7979
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
8080
# We need to do this first to get appraisal installed.
8181
# NOTE: This does not use the primary Gemfile at all.
82-
- name: "Install Root Appraisal"
83-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
82+
- name: Install Root Appraisal
83+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
8484
run: bundle
8585

86-
- name: "[Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
87-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
86+
- name: "[Attempt 1] Install Root Appraisal"
8887
id: bundleAttempt1
88+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
89+
run: bundle
90+
# Continue to the next step on failure
91+
continue-on-error: true
92+
93+
# Effectively an automatic retry of the previous step.
94+
- name: "[Attempt 2] Install Root Appraisal"
95+
id: bundleAttempt2
96+
# If bundleAttempt1 failed, try again here; Otherwise skip.
97+
if: ${{ steps.bundleAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
98+
run: bundle
99+
100+
- name: "[Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
101+
id: bundleAppraisalAttempt1
102+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
89103
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
90104
# Continue to the next step on failure
91105
continue-on-error: true
92106

93107
# Effectively an automatic retry of the previous step.
94108
- name: "[Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
95-
# If bundleAttempt1 failed, try again here; Otherwise skip.
96-
if: ${{ steps.bundleAttempt1.outcome == 'failure' && !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
97-
id: bundleAttempt2
109+
id: bundleAppraisalAttempt2
110+
# If bundleAppraisalAttempt1 failed, try again here; Otherwise skip.
111+
if: ${{ steps.bundleAppraisalAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
98112
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
99113

100-
- name: Tests for ${{ matrix.ruby }}@${{ matrix.appraisal }} via ${{ matrix.exec_cmd }}
101-
if: ${{ !(env.ACT && startsWith(matrix.ruby, 'jruby')) }}
114+
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
115+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
102116
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

.github/workflows/truffle.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ jobs:
4747

4848
steps:
4949
- name: Checkout
50+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
5051
uses: actions/checkout@v5
5152

5253
- name: Setup Ruby & RubyGems
54+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
5355
uses: ruby/setup-ruby@v1
5456
with:
5557
ruby-version: ${{ matrix.ruby }}
@@ -61,10 +63,12 @@ jobs:
6163
# We need to do this first to get appraisal installed.
6264
# NOTE: This does not use the primary Gemfile at all.
6365
- name: Install Root Appraisal
66+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
6467
run: bundle
6568

6669
- name: "[Attempt 1] Install Root Appraisal"
6770
id: bundleAttempt1
71+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
6872
run: bundle
6973
# Continue to the next step on failure
7074
continue-on-error: true
@@ -73,21 +77,23 @@ jobs:
7377
- name: "[Attempt 2] Install Root Appraisal"
7478
id: bundleAttempt2
7579
# If bundleAttempt1 failed, try again here; Otherwise skip.
76-
if: steps.bundleAttempt1.outcome == 'failure'
80+
if: ${{ steps.bundleAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
7781
run: bundle
7882

7983
- name: "[Attempt 1] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
8084
id: bundleAppraisalAttempt1
85+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
8186
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
8287
# Continue to the next step on failure
8388
continue-on-error: true
8489

8590
# Effectively an automatic retry of the previous step.
8691
- name: "[Attempt 2] Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}"
8792
id: bundleAppraisalAttempt2
88-
# If bundleAttempt1 failed, try again here; Otherwise skip.
89-
if: steps.bundleAppraisalAttempt1.outcome == 'failure'
93+
# If bundleAppraisalAttempt1 failed, try again here; Otherwise skip.
94+
if: ${{ steps.bundleAppraisalAttempt1.outcome == 'failure' && !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
9095
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
9196

9297
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
98+
if: ${{ !(env.ACT && (startsWith(matrix.ruby, 'jruby')) || startsWith(matrix.ruby, 'truffleruby')) }}
9399
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ oauth authorize \
266266
--consumer-key ck \
267267
--consumer-secret cs \
268268
--request-token-url https://provider.example.com/oauth/request_token \
269-
--authorize-url https://provider.example.com/oauth/authorize \
270-
--access-token-url https://provider.example.com/oauth/access_token \
269+
--authorize-url https://provider.example.com/oauth/authorize \
270+
--access-token-url https://provider.example.com/oauth/access_token \
271271
--callback-url https://yourapp.example.com/oauth/callback
272272
```
273273
What happens:
@@ -662,7 +662,7 @@ Thanks for RTFM. ☺️
662662
[📌gitmoji]:https://gitmoji.dev
663663
[📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
664664
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
665-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-1.225-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
665+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-4.007-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
666666
[🔐security]: SECURITY.md
667667
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
668668
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# kettle-dev Rakefile v1.1.26 - 2025-09-20
3+
# kettle-dev Rakefile v1.1.27 - 2025-09-20
44
# Ruby 2.3 (Safe Navigation) or higher required
55
#
66
# MIT License (see License.txt)

0 commit comments

Comments
 (0)