Skip to content

Commit 7b973e7

Browse files
authored
Merge pull request #165 from omniauth/feat/upgrade-kettle-gems
2 parents 28a0b38 + 9b79e12 commit 7b973e7

File tree

12 files changed

+50
-37
lines changed

12 files changed

+50
-37
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/

.rubocop_gradual.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"README.md:2643134253": [
3-
[277, 3, 100, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3592044714]
2+
"README.md:4219525257": [
3+
[292, 3, 100, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 3592044714]
44
],
55
"bin/bundle:247448467": [
66
[64, 5, 20, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2485198147]

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: 5 additions & 4 deletions
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.33)
169+
kettle-dev (1.1.38)
170170
kettle-soup-cover (1.0.10)
171171
simplecov (~> 0.22)
172172
simplecov-cobertura (~> 3.0)
@@ -176,15 +176,17 @@ GEM
176176
simplecov-rcov (~> 0.3, >= 0.3.7)
177177
simplecov_json_formatter (~> 0.1, >= 0.1.4)
178178
version_gem (~> 1.1, >= 1.1.8)
179-
kettle-test (1.0.3)
179+
kettle-test (1.0.6)
180180
appraisal2 (~> 3.0)
181+
backports (~> 3.0)
181182
rspec (~> 3.0)
182183
rspec-block_is_expected (~> 1.0, >= 1.0.6)
184+
rspec-pending_for (~> 0.1, >= 0.1.19)
183185
rspec-stubbed_env (~> 1.0, >= 1.0.4)
184186
rspec_junit_formatter (~> 0.6)
185187
silent_stream (~> 1.0, >= 1.0.12)
186188
timecop-rspec (~> 1.0, >= 1.0.3)
187-
version_gem (~> 1.1, >= 1.1.8)
189+
version_gem (~> 1.1, >= 1.1.9)
188190
kramdown (2.5.1)
189191
rexml (>= 3.3.9)
190192
kramdown-parser-gfm (1.1.0)
@@ -514,7 +516,6 @@ DEPENDENCIES
514516
addressable (>= 2.8, < 3)
515517
anonymous_active_record (~> 1.0, >= 1.0.9)
516518
appraisal2 (~> 3.0)
517-
backports (~> 3.25, >= 3.25.1)
518519
benchmark (~> 0.4, >= 0.4.1)
519520
bundler-audit (~> 0.9.2)
520521
couch_potato (~> 1.17)

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

0 commit comments

Comments
 (0)