Skip to content

Commit 067429b

Browse files
committed
Drop support for Rails 7.0 and 7.1
Solid Cache 1.0 requires Rails 7.2 or later. This is because it needs support for disabling compression in Active Record Encryption and `uncached(dirties: false)` which were both introduced in 7.2.
1 parent 986f8fe commit 067429b

10 files changed

+104
-557
lines changed

Diff for: .github/workflows/main.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
ruby-version: ["3.1", "3.2", "3.3"]
31-
gemfile: [ rails_7, rails_7_1, rails_7_2, rails_main ]
31+
gemfile: [ rails_7_2, rails_main ]
3232
database: [sqlite, postgres, mysql]
33-
exclude:
34-
- ruby-version: "3.0"
35-
gemfile: rails_main # Rails > 7.1 supports Ruby >= 3.1
3633
services:
3734
redis:
3835
image: redis

Diff for: Appraisals

-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise "rails-7" do
4-
gem "railties", github: "rails/rails", branch: "7-0-stable"
5-
end
6-
7-
appraise "rails-7-1" do
8-
gem "railties", github: "rails/rails", branch: "7-1-stable"
9-
end
10-
113
appraise "rails-7-2" do
124
gem "railties", github: "rails/rails", branch: "7-2-stable"
135
end

Diff for: Gemfile.lock

+33-29
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,50 @@ PATH
22
remote: .
33
specs:
44
solid_cache (0.7.0)
5-
activejob (>= 7)
6-
activerecord (>= 7)
7-
railties (>= 7)
5+
activejob (>= 7.2)
6+
activerecord (>= 7.2)
7+
railties (>= 7.2)
88

99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
actionpack (7.1.3.4)
13-
actionview (= 7.1.3.4)
14-
activesupport (= 7.1.3.4)
12+
actionpack (7.2.0)
13+
actionview (= 7.2.0)
14+
activesupport (= 7.2.0)
1515
nokogiri (>= 1.8.5)
1616
racc
17-
rack (>= 2.2.4)
17+
rack (>= 2.2.4, < 3.2)
1818
rack-session (>= 1.0.1)
1919
rack-test (>= 0.6.3)
2020
rails-dom-testing (~> 2.2)
2121
rails-html-sanitizer (~> 1.6)
22-
actionview (7.1.3.4)
23-
activesupport (= 7.1.3.4)
22+
useragent (~> 0.16)
23+
actionview (7.2.0)
24+
activesupport (= 7.2.0)
2425
builder (~> 3.1)
2526
erubi (~> 1.11)
2627
rails-dom-testing (~> 2.2)
2728
rails-html-sanitizer (~> 1.6)
28-
activejob (7.1.3.4)
29-
activesupport (= 7.1.3.4)
29+
activejob (7.2.0)
30+
activesupport (= 7.2.0)
3031
globalid (>= 0.3.6)
31-
activemodel (7.1.3.4)
32-
activesupport (= 7.1.3.4)
33-
activerecord (7.1.3.4)
34-
activemodel (= 7.1.3.4)
35-
activesupport (= 7.1.3.4)
32+
activemodel (7.2.0)
33+
activesupport (= 7.2.0)
34+
activerecord (7.2.0)
35+
activemodel (= 7.2.0)
36+
activesupport (= 7.2.0)
3637
timeout (>= 0.4.0)
37-
activesupport (7.1.3.4)
38+
activesupport (7.2.0)
3839
base64
3940
bigdecimal
40-
concurrent-ruby (~> 1.0, >= 1.0.2)
41+
concurrent-ruby (~> 1.0, >= 1.3.1)
4142
connection_pool (>= 2.2.5)
4243
drb
4344
i18n (>= 1.6, < 2)
45+
logger (>= 1.4.2)
4446
minitest (>= 5.1)
45-
mutex_m
46-
tzinfo (~> 2.0)
47+
securerandom (>= 0.3)
48+
tzinfo (~> 2.0, >= 2.0.5)
4749
appraisal (2.5.0)
4850
bundler
4951
rake
@@ -65,19 +67,19 @@ GEM
6567
i18n (1.14.5)
6668
concurrent-ruby (~> 1.0)
6769
io-console (0.7.1)
68-
irb (1.11.0)
69-
rdoc
70-
reline (>= 0.3.8)
70+
irb (1.14.0)
71+
rdoc (>= 4.0.0)
72+
reline (>= 0.4.2)
7173
json (2.7.1)
7274
language_server-protocol (3.17.0.3)
75+
logger (1.6.0)
7376
loofah (2.22.0)
7477
crass (~> 1.0.2)
7578
nokogiri (>= 1.12.0)
7679
minitest (5.23.1)
7780
mocha (2.1.0)
7881
ruby2_keywords (>= 0.0.5)
7982
msgpack (1.7.2)
80-
mutex_m (0.2.0)
8183
mysql2 (0.5.5)
8284
nokogiri (1.16.5-arm64-darwin)
8385
racc (~> 1.4)
@@ -108,10 +110,10 @@ GEM
108110
rails-html-sanitizer (1.6.0)
109111
loofah (~> 2.21)
110112
nokogiri (~> 1.14)
111-
railties (7.1.3.4)
112-
actionpack (= 7.1.3.4)
113-
activesupport (= 7.1.3.4)
114-
irb
113+
railties (7.2.0)
114+
actionpack (= 7.2.0)
115+
activesupport (= 7.2.0)
116+
irb (~> 1.13)
115117
rackup (>= 1.0.0)
116118
rake (>= 12.2)
117119
thor (~> 1.0, >= 1.2.2)
@@ -121,7 +123,7 @@ GEM
121123
rdoc (6.6.3.1)
122124
psych (>= 4.0.0)
123125
regexp_parser (2.8.3)
124-
reline (0.4.1)
126+
reline (0.5.9)
125127
io-console (~> 0.5)
126128
rexml (3.3.3)
127129
strscan
@@ -155,6 +157,7 @@ GEM
155157
rubocop-ast (>= 1.30.0, < 2.0)
156158
ruby-progressbar (1.13.0)
157159
ruby2_keywords (0.0.5)
160+
securerandom (0.3.1)
158161
sprockets (4.2.1)
159162
concurrent-ruby (~> 1.0)
160163
rack (>= 2.2.4, < 4)
@@ -172,6 +175,7 @@ GEM
172175
tzinfo (2.0.6)
173176
concurrent-ruby (~> 1.0)
174177
unicode-display_width (2.5.0)
178+
useragent (0.16.10)
175179
webrick (1.8.1)
176180
zeitwerk (2.6.12)
177181

Diff for: gemfiles/rails_7.gemfile

-21
This file was deleted.

Diff for: gemfiles/rails_7.gemfile.lock

-198
This file was deleted.

0 commit comments

Comments
 (0)