Skip to content

Commit f5a83a0

Browse files
committed
🎨 Template for kettle-dev v1.1.38
1 parent 9e824f5 commit f5a83a0

File tree

11 files changed

+44
-32
lines changed

11 files changed

+44
-32
lines changed

.github/workflows/ancient.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: MRI 2.4, 2.5 (EOL)
33
permissions:
44
contents: read
55

6-
env:
7-
K_SOUP_COV_DO: false
8-
96
on:
107
push:
118
branches:

.github/workflows/dep-heads.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ jobs:
4747
rubygems: latest
4848
bundler: latest
4949

50-
# truffleruby-24.1
51-
# (according to documentation: targets Ruby 3.3 compatibility)
52-
# (according to runtime: targets Ruby 3.2 compatibility)
50+
# truffleruby-24.1 (targets Ruby 3.3 compatibility)
5351
- ruby: "truffleruby"
5452
appraisal: "dep-heads"
5553
exec_cmd: "rake spec:orm:active_record"

.github/workflows/truffle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
matrix:
3838
include:
3939
# NOTE: truffleruby does not support upgrading rubygems.
40-
# truffleruby-23.1 (targets Ruby 3.1 compatibility)
40+
# truffleruby-23.1 (targets Ruby 3.2 compatibility)
4141
- ruby: "truffleruby-23.1"
4242
appraisal: "ar-7-1-r3.1"
4343
exec_cmd: "rake spec:orm:active_record"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.gem
55

66
# Bundler
7+
/vendor/bundle/
78
/.bundle/
89
/gemfiles/*.lock
910
/gemfiles/.bundle/

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
232232

233233
#### Automated process
234234

235-
1. Update version.rb to contain the correct version-to-be-released.
235+
1. Update version.rb to contian the correct version-to-be-released.
236236
2. Run `bundle exec kettle-changelog`.
237237
3. Run `bundle exec kettle-release`.
238238

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://gem.coop"
44

5+
git_source(:codeberg) { |repo_name| "https://codeberg.org/#{repo_name}" }
56
git_source(:gitlab) { |repo_name| "https://gitlab.com/#{repo_name}" }
67

78
#### IMPORTANT #######################################################

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ GEM
166166
rdoc (>= 4.0.0)
167167
reline (>= 0.4.2)
168168
json (2.15.1)
169-
kettle-dev (1.1.37)
169+
kettle-dev (1.1.38)
170170
kettle-soup-cover (1.0.10)
171171
simplecov (~> 0.22)
172172
simplecov-cobertura (~> 3.0)

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,31 @@
1-
| 📍 NOTE |
2-
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
3-
| RubyGems.org was [recently compromised][draper-security] in a [hostile takeover][draper-takeover] about which [many lies][draper-lies] have been told. |
4-
| I'm in the process of adding warnings to some important gems because I [don't condone the theft][draper-theft] of the bundler and rubygems-update projects. |
5-
| Once publishing to [gem.coop][gem-coop] is available I will stop publishing to RubyGems.org. |
6-
| Please see [here][gem-coop] and [here][martin-ann] for more info on what comes next. |
7-
1+
| 📍 NOTE |
2+
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3+
| RubyGems (the [GitHub org][rubygems-org], not the website) [suffered][draper-security] a [hostile takeover][ellen-takeover] in September 2025. |
4+
| Ultimately [4 maintainers][simi-removed] were [hard removed][martin-removed] and a reason has been given for only 1 of those, while 2 others resigned in protest. |
5+
| It is a [complicated story][draper-takeover] which is difficult to [parse quickly][draper-lies]. |
6+
| I'm adding notes like this to gems because I [don't condone theft][draper-theft] of repositories or gems from their rightful owners. |
7+
| If a similar theft happened with my repos/gems, I'd hope some would stand up for me. |
8+
| Disenfranchised former-maintainers have started [gem.coop][gem-coop]. |
9+
| Once available I will publish there exclusively; unless RubyCentral makes amends with the community. |
10+
| The ["Technology for Humans: Joel Draper"][reinteractive-podcast] podcast episode by [reinteractive][reinteractive] is the most cogent summary I'm aware of. |
11+
| See [here][gem-naming], [here][gem-coop] and [here][martin-ann] for more info on what comes next. |
12+
| What I'm doing: A (WIP) proposal for [bundler/gem scopes][gem-scopes], and a (WIP) proposal for a federated [gem server][gem-server]. |
13+
14+
[rubygems-org]: https://github.com/rubygems/
815
[draper-security]: https://joel.drapper.me/p/ruby-central-security-measures/
916
[draper-takeover]: https://joel.drapper.me/p/ruby-central-takeover/
17+
[ellen-takeover]: https://pup-e.com/blog/goodbye-rubygems/
18+
[simi-removed]: https://www.reddit.com/r/ruby/s/gOk42POCaV
19+
[martin-removed]: https://bsky.app/profile/martinemde.com/post/3m3occezxxs2q
1020
[draper-lies]: https://joel.drapper.me/p/ruby-central-fact-check/
1121
[draper-theft]: https://joel.drapper.me/p/ruby-central/
22+
[reinteractive]: https://reinteractive.com/ruby-on-rails
1223
[gem-coop]: https://gem.coop
24+
[gem-naming]: https://github.com/gem-coop/gem.coop/issues/12
1325
[martin-ann]: https://martinemde.com/2025/10/05/announcing-gem-coop.html
26+
[gem-scopes]: https://github.com/galtzo-floss/bundle-namespace
27+
[gem-server]: https://github.com/galtzo-floss/gem-server
28+
[reinteractive-podcast]: https://youtu.be/_H4qbtC5qzU?si=BvuBU90R2wAqD2E6
1429

1530
[![Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0][🖼️galtzo-i]][🖼️galtzo-discord] [![omniauth Logo by tomeara(?), MIT License][🖼️omniauth-i]][🖼️omniauth] [![ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5][🖼️ruby-lang-i]][🖼️ruby-lang]
1631

@@ -399,7 +414,7 @@ end
399414
`locate_conditions` takes a `Proc` object, and must return a `Hash` object, which will be used
400415
as the argument to the locate method for your ORM. The proc is evaluated in the
401416
callback context, and has access to your `Identity` model (using `model`) and receives the request
402-
object as a parameter. Note that `model.auth_key` defaults to `email`, but is also configurable.
417+
object as a parameter. Note that `model.auth_key` defaults to `email`, but is also configurable.
403418

404419
Note: Be careful when customizing `locate_conditions`. The best way to modify the conditions is
405420
to copy the default value, and then add to the hash. Removing the default condition will almost

Rakefile

Lines changed: 2 additions & 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.32 - 2025-10-07
3+
# kettle-dev Rakefile v1.1.38 - 2025-10-21
44
# Ruby 2.3 (Safe Navigation) or higher required
55
#
66
# MIT License (see License.txt)
@@ -51,6 +51,7 @@ task :default do
5151
puts "Default task complete."
5252
end
5353

54+
# External gems that define tasks - add here!
5455
require "kettle/dev"
5556

5657
### RELEASE TASKS
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# The cake is a lie.
2+
# erb v2.2, the oldest release, was never compatible with Ruby 2.3.
3+
# In addition, erb does not follow SemVer, and old rubies get dropped in a patch.
4+
# This means we have no choice but to use the erb that shipped with Ruby 2.3
5+
# /opt/hostedtoolcache/Ruby/2.3.8/x64/lib/ruby/gems/2.3.0/gems/erb-2.2.2/lib/erb.rb:670:in `prepare_trim_mode': undefined method `match?' for "-":String (NoMethodError)
6+
# gem "erb", ">= 2.2" # ruby >= 2.3.0

0 commit comments

Comments
 (0)