Skip to content

Commit 0380a3f

Browse files
committed
feat: don't depend on rails meta gem to avoid installing the whole stack.
1 parent e2f2be5 commit 0380a3f

File tree

23 files changed

+54
-564
lines changed

23 files changed

+54
-564
lines changed

Appraisals

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# frozen_string_literal: true
22

33
appraise "rails-7" do
4-
gem "rails", github: "rails/rails", branch: "7-0-stable"
4+
gem "railties", github: "rails/rails", branch: "7-0-stable"
55
end
66

77
appraise "rails-7-1" do
8-
gem "rails", github: "rails/rails", branch: "7-1-stable"
8+
gem "railties", github: "rails/rails", branch: "7-1-stable"
99
end
1010

1111
appraise "rails-main" do
12-
gem "rails", github: "rails/rails", branch: "main"
12+
gem "railties", github: "rails/rails", branch: "main"
1313
end

Gemfile.lock

Lines changed: 30 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,13 @@ PATH
22
remote: .
33
specs:
44
solid_cache (0.2.0)
5-
rails (>= 7)
5+
activejob (>= 7)
6+
activerecord (>= 7)
7+
railties (>= 7)
68

79
GEM
810
remote: https://rubygems.org/
911
specs:
10-
actioncable (7.1.2)
11-
actionpack (= 7.1.2)
12-
activesupport (= 7.1.2)
13-
nio4r (~> 2.0)
14-
websocket-driver (>= 0.6.1)
15-
zeitwerk (~> 2.6)
16-
actionmailbox (7.1.2)
17-
actionpack (= 7.1.2)
18-
activejob (= 7.1.2)
19-
activerecord (= 7.1.2)
20-
activestorage (= 7.1.2)
21-
activesupport (= 7.1.2)
22-
mail (>= 2.7.1)
23-
net-imap
24-
net-pop
25-
net-smtp
26-
actionmailer (7.1.2)
27-
actionpack (= 7.1.2)
28-
actionview (= 7.1.2)
29-
activejob (= 7.1.2)
30-
activesupport (= 7.1.2)
31-
mail (~> 2.5, >= 2.5.4)
32-
net-imap
33-
net-pop
34-
net-smtp
35-
rails-dom-testing (~> 2.2)
3612
actionpack (7.1.2)
3713
actionview (= 7.1.2)
3814
activesupport (= 7.1.2)
@@ -43,13 +19,6 @@ GEM
4319
rack-test (>= 0.6.3)
4420
rails-dom-testing (~> 2.2)
4521
rails-html-sanitizer (~> 1.6)
46-
actiontext (7.1.2)
47-
actionpack (= 7.1.2)
48-
activerecord (= 7.1.2)
49-
activestorage (= 7.1.2)
50-
activesupport (= 7.1.2)
51-
globalid (>= 0.6.0)
52-
nokogiri (>= 1.8.5)
5322
actionview (7.1.2)
5423
activesupport (= 7.1.2)
5524
builder (~> 3.1)
@@ -65,12 +34,6 @@ GEM
6534
activemodel (= 7.1.2)
6635
activesupport (= 7.1.2)
6736
timeout (>= 0.4.0)
68-
activestorage (7.1.2)
69-
actionpack (= 7.1.2)
70-
activejob (= 7.1.2)
71-
activerecord (= 7.1.2)
72-
activesupport (= 7.1.2)
73-
marcel (~> 1.0)
7437
activesupport (7.1.2)
7538
base64
7639
bigdecimal
@@ -87,65 +50,47 @@ GEM
8750
thor (>= 0.14.0)
8851
ast (2.4.2)
8952
base64 (0.2.0)
90-
bigdecimal (3.1.5)
53+
bigdecimal (3.1.4)
9154
builder (3.2.4)
9255
concurrent-ruby (1.2.2)
9356
connection_pool (2.4.1)
9457
crass (1.0.6)
95-
date (3.3.4)
96-
debug (1.9.1)
97-
irb (~> 1.10)
98-
reline (>= 0.3.8)
58+
debug (1.8.0)
59+
irb (>= 1.5.0)
60+
reline (>= 0.3.1)
9961
drb (2.2.0)
10062
ruby2_keywords
10163
erubi (1.12.0)
10264
globalid (1.2.1)
10365
activesupport (>= 6.1)
10466
i18n (1.14.1)
10567
concurrent-ruby (~> 1.0)
106-
io-console (0.7.1)
107-
irb (1.11.0)
68+
io-console (0.6.0)
69+
irb (1.9.0)
10870
rdoc
10971
reline (>= 0.3.8)
110-
json (2.7.1)
72+
json (2.6.3)
11173
language_server-protocol (3.17.0.3)
11274
loofah (2.22.0)
11375
crass (~> 1.0.2)
11476
nokogiri (>= 1.12.0)
115-
mail (2.8.1)
116-
mini_mime (>= 0.1.1)
117-
net-imap
118-
net-pop
119-
net-smtp
120-
marcel (1.0.2)
121-
mini_mime (1.1.5)
12277
minitest (5.20.0)
12378
mocha (2.1.0)
12479
ruby2_keywords (>= 0.0.5)
12580
mutex_m (0.2.0)
12681
mysql2 (0.5.5)
127-
net-imap (0.4.9)
128-
date
129-
net-protocol
130-
net-pop (0.1.2)
131-
net-protocol
132-
net-protocol (0.2.2)
133-
timeout
134-
net-smtp (0.4.0)
135-
net-protocol
136-
nio4r (2.7.0)
137-
nokogiri (1.16.0-arm64-darwin)
82+
nokogiri (1.15.4-arm64-darwin)
13883
racc (~> 1.4)
139-
nokogiri (1.16.0-x86_64-darwin)
84+
nokogiri (1.15.4-x86_64-darwin)
14085
racc (~> 1.4)
141-
nokogiri (1.16.0-x86_64-linux)
86+
nokogiri (1.15.4-x86_64-linux)
14287
racc (~> 1.4)
143-
parallel (1.24.0)
88+
parallel (1.23.0)
14489
parser (3.2.2.4)
14590
ast (~> 2.4.1)
14691
racc
14792
pg (1.5.4)
148-
psych (5.1.2)
93+
psych (5.1.1.1)
14994
stringio
15095
racc (1.7.3)
15196
rack (3.0.8)
@@ -156,20 +101,6 @@ GEM
156101
rackup (2.1.0)
157102
rack (>= 3)
158103
webrick (~> 1.8)
159-
rails (7.1.2)
160-
actioncable (= 7.1.2)
161-
actionmailbox (= 7.1.2)
162-
actionmailer (= 7.1.2)
163-
actionpack (= 7.1.2)
164-
actiontext (= 7.1.2)
165-
actionview (= 7.1.2)
166-
activejob (= 7.1.2)
167-
activemodel (= 7.1.2)
168-
activerecord (= 7.1.2)
169-
activestorage (= 7.1.2)
170-
activesupport (= 7.1.2)
171-
bundler (>= 1.15.0)
172-
railties (= 7.1.2)
173104
rails-dom-testing (2.2.0)
174105
activesupport (>= 5.0.0)
175106
minitest
@@ -187,40 +118,38 @@ GEM
187118
zeitwerk (~> 2.6)
188119
rainbow (3.1.1)
189120
rake (13.1.0)
190-
rdoc (6.6.2)
121+
rdoc (6.6.0)
191122
psych (>= 4.0.0)
192-
regexp_parser (2.8.3)
193-
reline (0.4.1)
123+
regexp_parser (2.8.2)
124+
reline (0.4.0)
194125
io-console (~> 0.5)
195126
rexml (3.2.6)
196-
rubocop (1.59.0)
127+
rubocop (1.57.2)
197128
json (~> 2.3)
198129
language_server-protocol (>= 3.17.0)
199130
parallel (~> 1.10)
200131
parser (>= 3.2.2.4)
201132
rainbow (>= 2.2.2, < 4.0)
202133
regexp_parser (>= 1.8, < 3.0)
203134
rexml (>= 3.2.5, < 4.0)
204-
rubocop-ast (>= 1.30.0, < 2.0)
135+
rubocop-ast (>= 1.28.1, < 2.0)
205136
ruby-progressbar (~> 1.7)
206137
unicode-display_width (>= 2.4.0, < 3.0)
207138
rubocop-ast (1.30.0)
208139
parser (>= 3.2.1.0)
209140
rubocop-md (1.2.2)
210141
rubocop (>= 1.0)
211-
rubocop-minitest (0.34.3)
142+
rubocop-minitest (0.33.0)
212143
rubocop (>= 1.39, < 2.0)
213-
rubocop-ast (>= 1.30.0, < 2.0)
214144
rubocop-packaging (0.5.2)
215145
rubocop (>= 1.33, < 2.0)
216-
rubocop-performance (1.20.1)
217-
rubocop (>= 1.48.1, < 2.0)
218-
rubocop-ast (>= 1.30.0, < 2.0)
219-
rubocop-rails (2.23.1)
146+
rubocop-performance (1.19.1)
147+
rubocop (>= 1.7.0, < 2.0)
148+
rubocop-ast (>= 0.4.0)
149+
rubocop-rails (2.22.1)
220150
activesupport (>= 4.2.0)
221151
rack (>= 1.1)
222152
rubocop (>= 1.33.0, < 2.0)
223-
rubocop-ast (>= 1.30.0, < 2.0)
224153
ruby-progressbar (1.13.0)
225154
ruby2_keywords (0.0.5)
226155
sprockets (4.2.1)
@@ -230,19 +159,16 @@ GEM
230159
actionpack (>= 5.2)
231160
activesupport (>= 5.2)
232161
sprockets (>= 3.0.0)
233-
sqlite3 (1.7.0-arm64-darwin)
234-
sqlite3 (1.7.0-x86_64-darwin)
235-
sqlite3 (1.7.0-x86_64-linux)
236-
stringio (3.1.0)
162+
sqlite3 (1.6.8-arm64-darwin)
163+
sqlite3 (1.6.8-x86_64-darwin)
164+
sqlite3 (1.6.8-x86_64-linux)
165+
stringio (3.0.9)
237166
thor (1.3.0)
238167
timeout (0.4.1)
239168
tzinfo (2.0.6)
240169
concurrent-ruby (~> 1.0)
241170
unicode-display_width (2.5.0)
242171
webrick (1.8.1)
243-
websocket-driver (0.7.6)
244-
websocket-extensions (>= 0.1.0)
245-
websocket-extensions (0.1.5)
246172
zeitwerk (2.6.12)
247173

248174
PLATFORMS
@@ -269,4 +195,4 @@ DEPENDENCIES
269195
sqlite3
270196

271197
BUNDLED WITH
272-
2.3.26
198+
2.4.22

gemfiles/rails_7.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ gem "mysql2"
99
gem "pg"
1010
gem "sprockets-rails"
1111
gem "appraisal"
12-
gem "rails", branch: "7-0-stable", git: "https://github.com/rails/rails.git"
12+
gem "railties", branch: "7-0-stable", git: "https://github.com/rails/rails.git"
1313

1414
group :rubocop do
1515
gem "rubocop", ">= 1.25.1", require: false

0 commit comments

Comments
 (0)