Skip to content

Commit

Permalink
Drop support for Rails 7.0 and 7.1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
djmb committed Aug 12, 2024
1 parent b8a4548 commit 7808de9
Show file tree
Hide file tree
Showing 10 changed files with 140 additions and 589 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ jobs:
fail-fast: false
matrix:
ruby-version: ["3.1", "3.2", "3.3"]
gemfile: [ rails_7, rails_7_1, rails_7_2, rails_main ]
gemfile: [ rails_7_2, rails_main ]
database: [sqlite, postgres, mysql]
exclude:
- ruby-version: "3.0"
gemfile: rails_main # Rails > 7.1 supports Ruby >= 3.1
services:
redis:
image: redis
Expand Down
8 changes: 0 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# frozen_string_literal: true

appraise "rails-7" do
gem "railties", github: "rails/rails", branch: "7-0-stable"
end

appraise "rails-7-1" do
gem "railties", github: "rails/rails", branch: "7-1-stable"
end

appraise "rails-7-2" do
gem "railties", github: "rails/rails", branch: "7-2-stable"
end
Expand Down
62 changes: 33 additions & 29 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,50 @@ PATH
remote: .
specs:
solid_cache (0.7.0)
activejob (>= 7)
activerecord (>= 7)
railties (>= 7)
activejob (>= 7.2)
activerecord (>= 7.2)
railties (>= 7.2)

GEM
remote: https://rubygems.org/
specs:
actionpack (7.1.3.4)
actionview (= 7.1.3.4)
activesupport (= 7.1.3.4)
actionpack (7.2.0)
actionview (= 7.2.0)
activesupport (= 7.2.0)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actionview (7.1.3.4)
activesupport (= 7.1.3.4)
useragent (~> 0.16)
actionview (7.2.0)
activesupport (= 7.2.0)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.1.3.4)
activesupport (= 7.1.3.4)
activejob (7.2.0)
activesupport (= 7.2.0)
globalid (>= 0.3.6)
activemodel (7.1.3.4)
activesupport (= 7.1.3.4)
activerecord (7.1.3.4)
activemodel (= 7.1.3.4)
activesupport (= 7.1.3.4)
activemodel (7.2.0)
activesupport (= 7.2.0)
activerecord (7.2.0)
activemodel (= 7.2.0)
activesupport (= 7.2.0)
timeout (>= 0.4.0)
activesupport (7.1.3.4)
activesupport (7.2.0)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
appraisal (2.5.0)
bundler
rake
Expand All @@ -65,19 +67,19 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
io-console (0.7.1)
irb (1.11.0)
rdoc
reline (>= 0.3.8)
irb (1.14.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.1)
language_server-protocol (3.17.0.3)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
minitest (5.23.1)
mocha (2.1.0)
ruby2_keywords (>= 0.0.5)
msgpack (1.7.2)
mutex_m (0.2.0)
mysql2 (0.5.5)
nokogiri (1.16.5-arm64-darwin)
racc (~> 1.4)
Expand Down Expand Up @@ -108,10 +110,10 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.1.3.4)
actionpack (= 7.1.3.4)
activesupport (= 7.1.3.4)
irb
railties (7.2.0)
actionpack (= 7.2.0)
activesupport (= 7.2.0)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
Expand All @@ -121,7 +123,7 @@ GEM
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.8.3)
reline (0.4.1)
reline (0.5.9)
io-console (~> 0.5)
rexml (3.3.3)
strscan
Expand Down Expand Up @@ -155,6 +157,7 @@ GEM
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
securerandom (0.3.1)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
Expand All @@ -172,6 +175,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
useragent (0.16.10)
webrick (1.8.1)
zeitwerk (2.6.12)

Expand Down
21 changes: 0 additions & 21 deletions gemfiles/rails_7.gemfile

This file was deleted.

198 changes: 0 additions & 198 deletions gemfiles/rails_7.gemfile.lock

This file was deleted.

Loading

0 comments on commit 7808de9

Please sign in to comment.