Skip to content

Commit 211c088

Browse files
committed
Drop EOL Ruby and Rails versions
[Ruby 2.7 and older][] is end of life. [Rails 6.0 and older][] is end of life. Truffleruby does have [a documented support cycle][], but since I don't track this Oracle project I'm not going to maintain it. Use the latest instead. I cannot find an up-to-date support cycle roadmap for JRuby, so instead I've gone with the [9.4 branch][]. Don't support JRuby on Rails main. JRuby has their own bug tracker for chasing Rails' main branch. We should stick to supporting known releases in our project. ActiveRecord JDBC Adapter does not support 7.1 in a release, so don't support 7.1 yet. [Ruby 2.7 and older]: https://www.ruby-lang.org/en/downloads/branches/ [Rails 6.0 and older]: https://guides.rubyonrails.org/maintenance_policy.html [a documented support cycle]: https://www.graalvm.org/release-calendar/ [9.4 branch]: https://www.jruby.org/download
1 parent 3289647 commit 211c088

16 files changed

+14
-749
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -11,70 +11,21 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
ruby:
14-
- jruby-9.2.16.0
14+
- jruby-9.4
1515
- truffleruby
1616
- "3.2"
1717
- "3.1"
1818
- "3.0"
19-
- "2.7"
20-
- "2.6"
21-
- "2.5"
2219
rails:
23-
- "5.0"
24-
- "5.1"
25-
- "5.2"
26-
- "6.0"
2720
- "6.1"
2821
- "7.0"
2922
- "7.1"
3023
- main
3124
exclude:
32-
- ruby: 2.5
33-
rails: "7.0"
34-
- ruby: 2.5
25+
- ruby: jruby-9.4
3526
rails: "7.1"
36-
- ruby: 2.5
27+
- ruby: jruby-9.4
3728
rails: main
38-
- ruby: 2.6
39-
rails: "7.0"
40-
- ruby: 2.6
41-
rails: "7.1"
42-
- ruby: 2.6
43-
rails: main
44-
- ruby: jruby-9.2.16.0
45-
rails: "7.0"
46-
- ruby: jruby-9.2.16.0
47-
rails: "7.1"
48-
- ruby: jruby-9.2.16.0
49-
rails: main
50-
- ruby: "3.0"
51-
rails: "5.0"
52-
- ruby: "3.0"
53-
rails: "5.1"
54-
- ruby: "3.0"
55-
rails: "5.2"
56-
- ruby: truffleruby
57-
rails: "5.0"
58-
- ruby: truffleruby
59-
rails: "5.1"
60-
- ruby: truffleruby
61-
rails: "5.2"
62-
- ruby: "3.1"
63-
rails: "5.0"
64-
- ruby: "3.1"
65-
rails: "5.1"
66-
- ruby: "3.1"
67-
rails: "5.2"
68-
- ruby: "3.1"
69-
rails: "6.0"
70-
- ruby: "3.2"
71-
rails: "5.0"
72-
- ruby: "3.2"
73-
rails: "5.1"
74-
- ruby: "3.2"
75-
rails: "5.2"
76-
- ruby: "3.2"
77-
rails: "6.0"
7829

7930
runs-on: 'ubuntu-latest'
8031

Appraisals

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
appraise "5.0" do
2-
gem "activerecord", "~> 5.0.7"
3-
gem "activerecord-jdbcsqlite3-adapter", platforms: [:jruby]
4-
gem "sqlite3", "~> 1.3.6", platforms: [:ruby]
5-
end
6-
7-
appraise "5.1" do
8-
gem "activerecord", "~> 5.1.7"
9-
gem "activerecord-jdbcsqlite3-adapter", platforms: [:jruby]
10-
gem "sqlite3", platforms: [:ruby]
11-
end
12-
13-
appraise "5.2" do
14-
gem "activerecord", "~> 5.2.3"
15-
gem "activerecord-jdbcsqlite3-adapter", platforms: [:jruby]
16-
gem "sqlite3", platforms: [:ruby]
17-
end
18-
19-
appraise "6.0" do
20-
gem "activerecord", "~> 6.0.0"
21-
gem "activerecord-jdbcsqlite3-adapter", "~> 60.0", platforms: [:jruby]
22-
gem "sqlite3", platforms: [:ruby]
23-
end
24-
251
appraise "6.1" do
262
gem "activerecord", "~> 6.1.0"
273
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platforms: [:jruby]
@@ -30,18 +6,20 @@ end
306

317
appraise "7.0" do
328
gem "activerecord", "~> 7.0.0"
33-
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platforms: [:jruby]
9+
gem "activerecord-jdbcsqlite3-adapter", "~> 70.0", platforms: [:jruby]
3410
gem "sqlite3", platforms: [:ruby]
3511
end
3612

3713
appraise "7.1" do
3814
gem "activerecord", "~> 7.1.0"
39-
gem "activerecord-jdbcsqlite3-adapter", "~> 70.0", platforms: [:jruby]
15+
# When version 71 is released, uncomment this and also allow it in the GitHub
16+
# Action build workflow.
17+
# gem "activerecord-jdbcsqlite3-adapter", "~> 71.0", platforms: [:jruby]
4018
gem "sqlite3", platforms: [:ruby]
4119
end
4220

4321
appraise "main" do
4422
gem "activerecord", git: "https://github.com/rails/rails.git", branch: "main"
45-
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platforms: [:jruby]
23+
gem "activerecord-jdbcsqlite3-adapter", "~> 70.0", platforms: [:jruby]
4624
gem "sqlite3", platforms: [:ruby]
4725
end

gemfiles/5.0.gemfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

gemfiles/5.0.gemfile.lock

Lines changed: 0 additions & 157 deletions
This file was deleted.

gemfiles/5.1.gemfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)