Skip to content

Commit 599a2a6

Browse files
authored
Reduce dependency to railties >= 8.0.0 and activesupport >= 8.0.0 (#17)
1 parent a6c3859 commit 599a2a6

File tree

3 files changed

+6
-94
lines changed

3 files changed

+6
-94
lines changed

Gemfile.lock

Lines changed: 2 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,12 @@ PATH
22
remote: .
33
specs:
44
rails-app_env (0.1.0)
5-
rails (>= 8.0.2)
5+
activesupport (>= 8.0.0)
6+
railties (>= 8.0.0)
67

78
GEM
89
remote: https://rubygems.org/
910
specs:
10-
actioncable (8.0.2)
11-
actionpack (= 8.0.2)
12-
activesupport (= 8.0.2)
13-
nio4r (~> 2.0)
14-
websocket-driver (>= 0.6.1)
15-
zeitwerk (~> 2.6)
16-
actionmailbox (8.0.2)
17-
actionpack (= 8.0.2)
18-
activejob (= 8.0.2)
19-
activerecord (= 8.0.2)
20-
activestorage (= 8.0.2)
21-
activesupport (= 8.0.2)
22-
mail (>= 2.8.0)
23-
actionmailer (8.0.2)
24-
actionpack (= 8.0.2)
25-
actionview (= 8.0.2)
26-
activejob (= 8.0.2)
27-
activesupport (= 8.0.2)
28-
mail (>= 2.8.0)
29-
rails-dom-testing (~> 2.2)
3011
actionpack (8.0.2)
3112
actionview (= 8.0.2)
3213
activesupport (= 8.0.2)
@@ -37,34 +18,12 @@ GEM
3718
rails-dom-testing (~> 2.2)
3819
rails-html-sanitizer (~> 1.6)
3920
useragent (~> 0.16)
40-
actiontext (8.0.2)
41-
actionpack (= 8.0.2)
42-
activerecord (= 8.0.2)
43-
activestorage (= 8.0.2)
44-
activesupport (= 8.0.2)
45-
globalid (>= 0.6.0)
46-
nokogiri (>= 1.8.5)
4721
actionview (8.0.2)
4822
activesupport (= 8.0.2)
4923
builder (~> 3.1)
5024
erubi (~> 1.11)
5125
rails-dom-testing (~> 2.2)
5226
rails-html-sanitizer (~> 1.6)
53-
activejob (8.0.2)
54-
activesupport (= 8.0.2)
55-
globalid (>= 0.3.6)
56-
activemodel (8.0.2)
57-
activesupport (= 8.0.2)
58-
activerecord (8.0.2)
59-
activemodel (= 8.0.2)
60-
activesupport (= 8.0.2)
61-
timeout (>= 0.4.0)
62-
activestorage (8.0.2)
63-
actionpack (= 8.0.2)
64-
activejob (= 8.0.2)
65-
activerecord (= 8.0.2)
66-
activesupport (= 8.0.2)
67-
marcel (~> 1.0)
6827
activesupport (8.0.2)
6928
base64
7029
benchmark (>= 0.3)
@@ -93,8 +52,6 @@ GEM
9352
drb (2.2.3)
9453
erb (5.0.1)
9554
erubi (1.13.1)
96-
globalid (1.2.1)
97-
activesupport (>= 6.1)
9855
i18n (1.14.7)
9956
concurrent-ruby (~> 1.0)
10057
io-console (0.8.0)
@@ -109,23 +66,7 @@ GEM
10966
loofah (2.24.1)
11067
crass (~> 1.0.2)
11168
nokogiri (>= 1.12.0)
112-
mail (2.8.1)
113-
mini_mime (>= 0.1.1)
114-
net-imap
115-
net-pop
116-
net-smtp
117-
marcel (1.0.4)
118-
mini_mime (1.1.5)
11969
minitest (5.25.5)
120-
net-imap (0.5.8)
121-
date
122-
net-protocol
123-
net-pop (0.1.2)
124-
net-protocol
125-
net-protocol (0.2.2)
126-
timeout
127-
net-smtp (0.5.1)
128-
net-protocol
12970
nio4r (2.7.4)
13071
nokogiri (1.18.8-aarch64-linux-gnu)
13172
racc (~> 1.4)
@@ -165,20 +106,6 @@ GEM
165106
rack (>= 1.3)
166107
rackup (2.2.1)
167108
rack (>= 3)
168-
rails (8.0.2)
169-
actioncable (= 8.0.2)
170-
actionmailbox (= 8.0.2)
171-
actionmailer (= 8.0.2)
172-
actionpack (= 8.0.2)
173-
actiontext (= 8.0.2)
174-
actionview (= 8.0.2)
175-
activejob (= 8.0.2)
176-
activemodel (= 8.0.2)
177-
activerecord (= 8.0.2)
178-
activestorage (= 8.0.2)
179-
activesupport (= 8.0.2)
180-
bundler (>= 1.15.0)
181-
railties (= 8.0.2)
182109
rails-dom-testing (2.3.0)
183110
activesupport (>= 5.0.0)
184111
minitest
@@ -253,18 +180,13 @@ GEM
253180
rubocop-rails (~> 2.31.0)
254181
stringio (3.1.7)
255182
thor (1.3.2)
256-
timeout (0.4.3)
257183
tzinfo (2.0.6)
258184
concurrent-ruby (~> 1.0)
259185
unicode-display_width (3.1.4)
260186
unicode-emoji (~> 4.0, >= 4.0.4)
261187
unicode-emoji (4.0.4)
262188
uri (1.0.3)
263189
useragent (0.16.11)
264-
websocket-driver (0.8.0)
265-
base64
266-
websocket-extensions (>= 0.1.0)
267-
websocket-extensions (0.1.5)
268190
zeitwerk (2.7.3)
269191

270192
PLATFORMS

rails-app_env.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ Gem::Specification.new do |spec|
2323
Dir["{app,config,db,lib}/**/*", "LICENSE", "Rakefile", "README.md"]
2424
end
2525

26-
spec.add_dependency "rails", ">= 8.0.2"
26+
rails_version = ">= 8.0.0"
27+
spec.add_dependency "railties", rails_version
28+
spec.add_dependency "activesupport", rails_version
2729
end

test/dummy/config/application.rb

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
require_relative "boot"
22

3-
require "rails"
4-
# Pick the frameworks you want:
5-
require "active_model/railtie"
6-
# require "active_job/railtie"
7-
# require "active_record/railtie"
8-
# require "active_storage/engine"
9-
require "action_controller/railtie"
10-
# require "action_mailer/railtie"
11-
# require "action_mailbox/engine"
12-
# require "action_text/engine"
13-
require "action_view/railtie"
14-
# require "action_cable/engine"
15-
# require "rails/test_unit/railtie"
3+
require "rails/all"
164

175
# Require the gems listed in Gemfile, including any gems
186
# you've limited to :test, :development, or :production.

0 commit comments

Comments
 (0)