Skip to content

Commit fcc3142

Browse files
authored
Merge pull request #166 from rails/reinstate-rails-7.0-support
Reinstate rails 7.0 support
2 parents 1fb8cb3 + 259e3da commit fcc3142

36 files changed

+4141
-34
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
31-
gemfile: [ rails_7_1, rails_main ]
31+
gemfile: [ rails_7, rails_7_1, rails_main ]
3232
database: [sqlite, postgres, mysql]
3333
exclude:
3434
- ruby-version: "3.0"

Appraisals

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# frozen_string_literal: true
22

3+
appraise "rails-7" do
4+
gem "railties", github: "rails/rails", branch: "7-0-stable"
5+
end
6+
37
appraise "rails-7-1" do
48
gem "railties", github: "rails/rails", branch: "7-1-stable"
59
end

Gemfile.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ PATH
22
remote: .
33
specs:
44
solid_cache (0.5.3)
5-
activejob (>= 7.1)
6-
activerecord (>= 7.1)
7-
railties (>= 7.1)
5+
activejob (>= 7)
6+
activerecord (>= 7)
7+
railties (>= 7)
88

99
GEM
1010
remote: https://rubygems.org/
@@ -76,6 +76,7 @@ GEM
7676
minitest (5.22.2)
7777
mocha (2.1.0)
7878
ruby2_keywords (>= 0.0.5)
79+
msgpack (1.7.2)
7980
mutex_m (0.2.0)
8081
mysql2 (0.5.5)
8182
nokogiri (1.16.2-arm64-darwin)
@@ -184,6 +185,7 @@ DEPENDENCIES
184185
appraisal
185186
debug
186187
mocha
188+
msgpack
187189
mysql2
188190
pg
189191
rubocop (>= 1.25.1)

gemfiles/rails_7.gemfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "sqlite3"
6+
gem "mysql2"
7+
gem "pg"
8+
gem "sprockets-rails"
9+
gem "appraisal"
10+
gem "railties", branch: "7-0-stable", git: "https://github.com/rails/rails.git"
11+
12+
group :rubocop do
13+
gem "rubocop", ">= 1.25.1", require: false
14+
gem "rubocop-minitest", require: false
15+
gem "rubocop-packaging", require: false
16+
gem "rubocop-performance", require: false
17+
gem "rubocop-rails", require: false
18+
gem "rubocop-md", require: false
19+
end
20+
21+
gemspec path: "../"

gemfiles/rails_7.gemfile.lock

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
GIT
2+
remote: https://github.com/rails/rails.git
3+
revision: 45afb81bdeb7c74a3182b961cc2a9ca30dbb47e3
4+
branch: 7-0-stable
5+
specs:
6+
actionpack (7.0.8)
7+
actionview (= 7.0.8)
8+
activesupport (= 7.0.8)
9+
racc
10+
rack (~> 2.0, >= 2.2.4)
11+
rack-test (>= 0.6.3)
12+
rails-dom-testing (~> 2.0)
13+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
14+
actionview (7.0.8)
15+
activesupport (= 7.0.8)
16+
builder (~> 3.1)
17+
erubi (~> 1.4)
18+
rails-dom-testing (~> 2.0)
19+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
20+
activejob (7.0.8)
21+
activesupport (= 7.0.8)
22+
globalid (>= 0.3.6)
23+
activemodel (7.0.8)
24+
activesupport (= 7.0.8)
25+
activerecord (7.0.8)
26+
activemodel (= 7.0.8)
27+
activesupport (= 7.0.8)
28+
activesupport (7.0.8)
29+
base64
30+
bigdecimal
31+
concurrent-ruby (~> 1.0, >= 1.0.2)
32+
drb
33+
i18n (>= 1.6, < 2)
34+
minitest (>= 5.1)
35+
mutex_m
36+
tzinfo (~> 2.0)
37+
railties (7.0.8)
38+
actionpack (= 7.0.8)
39+
activesupport (= 7.0.8)
40+
method_source
41+
rake (>= 12.2)
42+
thor (~> 1.0)
43+
zeitwerk (~> 2.5)
44+
45+
PATH
46+
remote: ..
47+
specs:
48+
solid_cache (0.5.3)
49+
activejob (>= 7)
50+
activerecord (>= 7)
51+
railties (>= 7)
52+
53+
GEM
54+
remote: https://rubygems.org/
55+
specs:
56+
appraisal (2.5.0)
57+
bundler
58+
rake
59+
thor (>= 0.14.0)
60+
ast (2.4.2)
61+
base64 (0.2.0)
62+
bigdecimal (3.1.5)
63+
builder (3.2.4)
64+
concurrent-ruby (1.2.3)
65+
crass (1.0.6)
66+
debug (1.9.1)
67+
irb (~> 1.10)
68+
reline (>= 0.3.8)
69+
drb (2.2.0)
70+
ruby2_keywords
71+
erubi (1.12.0)
72+
globalid (1.2.1)
73+
activesupport (>= 6.1)
74+
i18n (1.14.1)
75+
concurrent-ruby (~> 1.0)
76+
io-console (0.7.1)
77+
irb (1.11.1)
78+
rdoc
79+
reline (>= 0.4.2)
80+
json (2.7.1)
81+
language_server-protocol (3.17.0.3)
82+
loofah (2.22.0)
83+
crass (~> 1.0.2)
84+
nokogiri (>= 1.12.0)
85+
method_source (1.0.0)
86+
minitest (5.21.1)
87+
mocha (2.1.0)
88+
ruby2_keywords (>= 0.0.5)
89+
msgpack (1.7.2)
90+
mutex_m (0.2.0)
91+
mysql2 (0.5.5)
92+
nokogiri (1.16.0-arm64-darwin)
93+
racc (~> 1.4)
94+
nokogiri (1.16.0-x86_64-darwin)
95+
racc (~> 1.4)
96+
nokogiri (1.16.0-x86_64-linux)
97+
racc (~> 1.4)
98+
parallel (1.24.0)
99+
parser (3.3.0.4)
100+
ast (~> 2.4.1)
101+
racc
102+
pg (1.5.4)
103+
psych (5.1.2)
104+
stringio
105+
racc (1.7.3)
106+
rack (2.2.8)
107+
rack-test (2.1.0)
108+
rack (>= 1.3)
109+
rails-dom-testing (2.2.0)
110+
activesupport (>= 5.0.0)
111+
minitest
112+
nokogiri (>= 1.6)
113+
rails-html-sanitizer (1.6.0)
114+
loofah (~> 2.21)
115+
nokogiri (~> 1.14)
116+
rainbow (3.1.1)
117+
rake (13.1.0)
118+
rdoc (6.6.2)
119+
psych (>= 4.0.0)
120+
regexp_parser (2.9.0)
121+
reline (0.4.2)
122+
io-console (~> 0.5)
123+
rexml (3.2.6)
124+
rubocop (1.60.0)
125+
json (~> 2.3)
126+
language_server-protocol (>= 3.17.0)
127+
parallel (~> 1.10)
128+
parser (>= 3.3.0.2)
129+
rainbow (>= 2.2.2, < 4.0)
130+
regexp_parser (>= 1.8, < 3.0)
131+
rexml (>= 3.2.5, < 4.0)
132+
rubocop-ast (>= 1.30.0, < 2.0)
133+
ruby-progressbar (~> 1.7)
134+
unicode-display_width (>= 2.4.0, < 3.0)
135+
rubocop-ast (1.30.0)
136+
parser (>= 3.2.1.0)
137+
rubocop-md (1.2.2)
138+
rubocop (>= 1.0)
139+
rubocop-minitest (0.34.4)
140+
rubocop (>= 1.39, < 2.0)
141+
rubocop-ast (>= 1.30.0, < 2.0)
142+
rubocop-packaging (0.5.2)
143+
rubocop (>= 1.33, < 2.0)
144+
rubocop-performance (1.20.2)
145+
rubocop (>= 1.48.1, < 2.0)
146+
rubocop-ast (>= 1.30.0, < 2.0)
147+
rubocop-rails (2.23.1)
148+
activesupport (>= 4.2.0)
149+
rack (>= 1.1)
150+
rubocop (>= 1.33.0, < 2.0)
151+
rubocop-ast (>= 1.30.0, < 2.0)
152+
ruby-progressbar (1.13.0)
153+
ruby2_keywords (0.0.5)
154+
sprockets (4.2.1)
155+
concurrent-ruby (~> 1.0)
156+
rack (>= 2.2.4, < 4)
157+
sprockets-rails (3.4.2)
158+
actionpack (>= 5.2)
159+
activesupport (>= 5.2)
160+
sprockets (>= 3.0.0)
161+
sqlite3 (1.7.0-arm64-darwin)
162+
sqlite3 (1.7.0-x86_64-darwin)
163+
sqlite3 (1.7.0-x86_64-linux)
164+
stringio (3.1.0)
165+
thor (1.3.0)
166+
tzinfo (2.0.6)
167+
concurrent-ruby (~> 1.0)
168+
unicode-display_width (2.5.0)
169+
zeitwerk (2.6.12)
170+
171+
PLATFORMS
172+
arm64-darwin-21
173+
arm64-darwin-22
174+
arm64-darwin-23
175+
x86_64-darwin-20
176+
x86_64-darwin-22
177+
x86_64-linux
178+
179+
DEPENDENCIES
180+
appraisal
181+
debug
182+
mocha
183+
msgpack
184+
mysql2
185+
pg
186+
railties!
187+
rubocop (>= 1.25.1)
188+
rubocop-md
189+
rubocop-minitest
190+
rubocop-packaging
191+
rubocop-performance
192+
rubocop-rails
193+
solid_cache!
194+
sprockets-rails
195+
sqlite3
196+
197+
BUNDLED WITH
198+
2.3.26

gemfiles/rails_7_1.gemfile.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ PATH
5151
remote: ..
5252
specs:
5353
solid_cache (0.5.3)
54-
activejob (>= 7.1)
55-
activerecord (>= 7.1)
56-
railties (>= 7.1)
54+
activejob (>= 7)
55+
activerecord (>= 7)
56+
railties (>= 7)
5757

5858
GEM
5959
remote: https://rubygems.org/
@@ -91,6 +91,7 @@ GEM
9191
minitest (5.21.1)
9292
mocha (2.1.0)
9393
ruby2_keywords (>= 0.0.5)
94+
msgpack (1.7.2)
9495
mutex_m (0.2.0)
9596
mysql2 (0.5.5)
9697
nokogiri (1.16.0-arm64-darwin)
@@ -191,6 +192,7 @@ DEPENDENCIES
191192
appraisal
192193
debug
193194
mocha
195+
msgpack
194196
mysql2
195197
pg
196198
railties!

gemfiles/rails_main.gemfile.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ PATH
5151
remote: ..
5252
specs:
5353
solid_cache (0.5.3)
54-
activejob (>= 7.1)
55-
activerecord (>= 7.1)
56-
railties (>= 7.1)
54+
activejob (>= 7)
55+
activerecord (>= 7)
56+
railties (>= 7)
5757

5858
GEM
5959
remote: https://rubygems.org/
@@ -90,6 +90,7 @@ GEM
9090
minitest (5.21.2)
9191
mocha (2.1.0)
9292
ruby2_keywords (>= 0.0.5)
93+
msgpack (1.7.2)
9394
mysql2 (0.5.5)
9495
nokogiri (1.16.2-arm64-darwin)
9596
racc (~> 1.4)
@@ -190,6 +191,7 @@ DEPENDENCIES
190191
appraisal
191192
debug
192193
mocha
194+
msgpack
193195
mysql2
194196
pg
195197
railties!

solid_cache.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ Gem::Specification.new do |spec|
2424
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
2525
end
2626

27-
rails_version = ">= 7.1"
27+
rails_version = ">= 7"
2828
spec.add_dependency "activerecord", rails_version
2929
spec.add_dependency "activejob", rails_version
3030
spec.add_dependency "railties", rails_version
3131
spec.add_development_dependency "debug"
3232
spec.add_development_dependency "mocha"
33+
spec.add_development_dependency "msgpack"
3334
end

0 commit comments

Comments
 (0)