Skip to content

Commit a23dddb

Browse files
committed
Update to Rails 7.2.0
1 parent 9485fb1 commit a23dddb

File tree

18 files changed

+206
-113
lines changed

18 files changed

+206
-113
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export NODE_ENV=development
4646
# to the server's CPU count * 2. That is a good starting point. In development
4747
# it's a good idea to use 1 to avoid race conditions when debugging.
4848
#export WEB_CONCURRENCY=
49-
#export RAILS_MAX_THREADS=5
49+
#export RAILS_MAX_THREADS=3
5050
export WEB_CONCURRENCY=1
5151
export RAILS_MAX_THREADS=1
5252

.rubocop.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Omakase Ruby styling for Rails.
2+
inherit_gem:
3+
rubocop-rails-omakase: "rubocop.yml"
4+
5+
# Overwrite or add rules to create your own house style.
6+
#
7+
# # Use `[a, [b, c]]` not `[ a, [ b, c ] ]`
8+
# Layout/SpaceInsideArrayLiteralBrackets:
9+
# Enabled: false

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Changed
11+
12+
#### Back-end dependencies
13+
14+
- Update `rails` to `7.2.0`
1115

1216
## [0.9.0] - 2024-08-09
1317

Gemfile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44
ruby "3.3.4"
55

66
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7-
gem "rails", "~> 7.1.3"
7+
gem "rails", "~> 7.2.0"
88

99
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
1010
gem "sprockets-rails"
@@ -47,10 +47,10 @@ gem "sidekiq", "~> 7.3"
4747

4848
group :development, :test do
4949
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
50-
gem "debug", platforms: %i[ mri mingw x64_mingw ]
50+
gem "debug", platforms: %i[ mri windows ], require: "debug/prelude"
5151

52-
# Reduces boot times through caching; required in config/boot.rb
53-
gem "bootsnap", require: false
52+
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
53+
gem "rubocop-rails-omakase", require: false
5454
end
5555

5656
group :development do
@@ -59,14 +59,10 @@ group :development do
5959

6060
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
6161
gem "rack-mini-profiler"
62-
63-
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
64-
# gem "spring"
6562
end
6663

6764
group :test do
6865
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
6966
gem "capybara"
7067
gem "selenium-webdriver"
71-
gem "webdrivers"
7268
end

Gemfile.lock

Lines changed: 108 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,82 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (7.1.3.4)
5-
actionpack (= 7.1.3.4)
6-
activesupport (= 7.1.3.4)
4+
actioncable (7.2.0)
5+
actionpack (= 7.2.0)
6+
activesupport (= 7.2.0)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
99
zeitwerk (~> 2.6)
10-
actionmailbox (7.1.3.4)
11-
actionpack (= 7.1.3.4)
12-
activejob (= 7.1.3.4)
13-
activerecord (= 7.1.3.4)
14-
activestorage (= 7.1.3.4)
15-
activesupport (= 7.1.3.4)
16-
mail (>= 2.7.1)
17-
net-imap
18-
net-pop
19-
net-smtp
20-
actionmailer (7.1.3.4)
21-
actionpack (= 7.1.3.4)
22-
actionview (= 7.1.3.4)
23-
activejob (= 7.1.3.4)
24-
activesupport (= 7.1.3.4)
25-
mail (~> 2.5, >= 2.5.4)
26-
net-imap
27-
net-pop
28-
net-smtp
10+
actionmailbox (7.2.0)
11+
actionpack (= 7.2.0)
12+
activejob (= 7.2.0)
13+
activerecord (= 7.2.0)
14+
activestorage (= 7.2.0)
15+
activesupport (= 7.2.0)
16+
mail (>= 2.8.0)
17+
actionmailer (7.2.0)
18+
actionpack (= 7.2.0)
19+
actionview (= 7.2.0)
20+
activejob (= 7.2.0)
21+
activesupport (= 7.2.0)
22+
mail (>= 2.8.0)
2923
rails-dom-testing (~> 2.2)
30-
actionpack (7.1.3.4)
31-
actionview (= 7.1.3.4)
32-
activesupport (= 7.1.3.4)
24+
actionpack (7.2.0)
25+
actionview (= 7.2.0)
26+
activesupport (= 7.2.0)
3327
nokogiri (>= 1.8.5)
3428
racc
35-
rack (>= 2.2.4)
29+
rack (>= 2.2.4, < 3.2)
3630
rack-session (>= 1.0.1)
3731
rack-test (>= 0.6.3)
3832
rails-dom-testing (~> 2.2)
3933
rails-html-sanitizer (~> 1.6)
40-
actiontext (7.1.3.4)
41-
actionpack (= 7.1.3.4)
42-
activerecord (= 7.1.3.4)
43-
activestorage (= 7.1.3.4)
44-
activesupport (= 7.1.3.4)
34+
useragent (~> 0.16)
35+
actiontext (7.2.0)
36+
actionpack (= 7.2.0)
37+
activerecord (= 7.2.0)
38+
activestorage (= 7.2.0)
39+
activesupport (= 7.2.0)
4540
globalid (>= 0.6.0)
4641
nokogiri (>= 1.8.5)
47-
actionview (7.1.3.4)
48-
activesupport (= 7.1.3.4)
42+
actionview (7.2.0)
43+
activesupport (= 7.2.0)
4944
builder (~> 3.1)
5045
erubi (~> 1.11)
5146
rails-dom-testing (~> 2.2)
5247
rails-html-sanitizer (~> 1.6)
53-
activejob (7.1.3.4)
54-
activesupport (= 7.1.3.4)
48+
activejob (7.2.0)
49+
activesupport (= 7.2.0)
5550
globalid (>= 0.3.6)
56-
activemodel (7.1.3.4)
57-
activesupport (= 7.1.3.4)
58-
activerecord (7.1.3.4)
59-
activemodel (= 7.1.3.4)
60-
activesupport (= 7.1.3.4)
51+
activemodel (7.2.0)
52+
activesupport (= 7.2.0)
53+
activerecord (7.2.0)
54+
activemodel (= 7.2.0)
55+
activesupport (= 7.2.0)
6156
timeout (>= 0.4.0)
62-
activestorage (7.1.3.4)
63-
actionpack (= 7.1.3.4)
64-
activejob (= 7.1.3.4)
65-
activerecord (= 7.1.3.4)
66-
activesupport (= 7.1.3.4)
57+
activestorage (7.2.0)
58+
actionpack (= 7.2.0)
59+
activejob (= 7.2.0)
60+
activerecord (= 7.2.0)
61+
activesupport (= 7.2.0)
6762
marcel (~> 1.0)
68-
activesupport (7.1.3.4)
63+
activesupport (7.2.0)
6964
base64
7065
bigdecimal
71-
concurrent-ruby (~> 1.0, >= 1.0.2)
66+
concurrent-ruby (~> 1.0, >= 1.3.1)
7267
connection_pool (>= 2.2.5)
7368
drb
7469
i18n (>= 1.6, < 2)
70+
logger (>= 1.4.2)
7571
minitest (>= 5.1)
76-
mutex_m
77-
tzinfo (~> 2.0)
72+
securerandom (>= 0.3)
73+
tzinfo (~> 2.0, >= 2.0.5)
7874
addressable (2.8.7)
7975
public_suffix (>= 2.0.2, < 7.0)
76+
ast (2.4.2)
8077
base64 (0.2.0)
8178
bigdecimal (3.1.8)
8279
bindex (0.8.1)
83-
bootsnap (1.18.4)
84-
msgpack (~> 1.2)
8580
builder (3.3.0)
8681
capybara (3.40.0)
8782
addressable
@@ -116,6 +111,8 @@ GEM
116111
activesupport (>= 5.0.0)
117112
jsbundling-rails (1.3.1)
118113
railties (>= 6.0.0)
114+
json (2.7.2)
115+
language_server-protocol (3.17.0.3)
119116
logger (1.6.0)
120117
loofah (2.22.0)
121118
crass (~> 1.0.2)
@@ -129,8 +126,6 @@ GEM
129126
matrix (0.4.2)
130127
mini_mime (1.1.5)
131128
minitest (5.24.1)
132-
msgpack (1.7.2)
133-
mutex_m (0.2.0)
134129
net-imap (0.4.14)
135130
date
136131
net-protocol
@@ -153,6 +148,10 @@ GEM
153148
racc (~> 1.4)
154149
nokogiri (1.16.7-x86_64-linux)
155150
racc (~> 1.4)
151+
parallel (1.26.1)
152+
parser (3.3.4.2)
153+
ast (~> 2.4.1)
154+
racc
156155
pg (1.5.7)
157156
psych (5.1.2)
158157
stringio
@@ -170,35 +169,36 @@ GEM
170169
rackup (2.1.0)
171170
rack (>= 3)
172171
webrick (~> 1.8)
173-
rails (7.1.3.4)
174-
actioncable (= 7.1.3.4)
175-
actionmailbox (= 7.1.3.4)
176-
actionmailer (= 7.1.3.4)
177-
actionpack (= 7.1.3.4)
178-
actiontext (= 7.1.3.4)
179-
actionview (= 7.1.3.4)
180-
activejob (= 7.1.3.4)
181-
activemodel (= 7.1.3.4)
182-
activerecord (= 7.1.3.4)
183-
activestorage (= 7.1.3.4)
184-
activesupport (= 7.1.3.4)
172+
rails (7.2.0)
173+
actioncable (= 7.2.0)
174+
actionmailbox (= 7.2.0)
175+
actionmailer (= 7.2.0)
176+
actionpack (= 7.2.0)
177+
actiontext (= 7.2.0)
178+
actionview (= 7.2.0)
179+
activejob (= 7.2.0)
180+
activemodel (= 7.2.0)
181+
activerecord (= 7.2.0)
182+
activestorage (= 7.2.0)
183+
activesupport (= 7.2.0)
185184
bundler (>= 1.15.0)
186-
railties (= 7.1.3.4)
185+
railties (= 7.2.0)
187186
rails-dom-testing (2.2.0)
188187
activesupport (>= 5.0.0)
189188
minitest
190189
nokogiri (>= 1.6)
191190
rails-html-sanitizer (1.6.0)
192191
loofah (~> 2.21)
193192
nokogiri (~> 1.14)
194-
railties (7.1.3.4)
195-
actionpack (= 7.1.3.4)
196-
activesupport (= 7.1.3.4)
197-
irb
193+
railties (7.2.0)
194+
actionpack (= 7.2.0)
195+
activesupport (= 7.2.0)
196+
irb (~> 1.13)
198197
rackup (>= 1.0.0)
199198
rake (>= 12.2)
200199
thor (~> 1.0, >= 1.2.2)
201200
zeitwerk (~> 2.6)
201+
rainbow (3.1.1)
202202
rake (13.2.1)
203203
rdoc (6.7.0)
204204
psych (>= 4.0.0)
@@ -211,8 +211,41 @@ GEM
211211
io-console (~> 0.5)
212212
rexml (3.3.4)
213213
strscan
214+
rubocop (1.65.1)
215+
json (~> 2.3)
216+
language_server-protocol (>= 3.17.0)
217+
parallel (~> 1.10)
218+
parser (>= 3.3.0.2)
219+
rainbow (>= 2.2.2, < 4.0)
220+
regexp_parser (>= 2.4, < 3.0)
221+
rexml (>= 3.2.5, < 4.0)
222+
rubocop-ast (>= 1.31.1, < 2.0)
223+
ruby-progressbar (~> 1.7)
224+
unicode-display_width (>= 2.4.0, < 3.0)
225+
rubocop-ast (1.32.0)
226+
parser (>= 3.3.1.0)
227+
rubocop-minitest (0.35.1)
228+
rubocop (>= 1.61, < 2.0)
229+
rubocop-ast (>= 1.31.1, < 2.0)
230+
rubocop-performance (1.21.1)
231+
rubocop (>= 1.48.1, < 2.0)
232+
rubocop-ast (>= 1.31.1, < 2.0)
233+
rubocop-rails (2.25.1)
234+
activesupport (>= 4.2.0)
235+
rack (>= 1.1)
236+
rubocop (>= 1.33.0, < 2.0)
237+
rubocop-ast (>= 1.31.1, < 2.0)
238+
rubocop-rails-omakase (1.0.0)
239+
rubocop
240+
rubocop-minitest
241+
rubocop-performance
242+
rubocop-rails
243+
ruby-progressbar (1.13.0)
214244
rubyzip (2.3.2)
215-
selenium-webdriver (4.10.0)
245+
securerandom (0.3.1)
246+
selenium-webdriver (4.23.0)
247+
base64 (~> 0.2)
248+
logger (~> 1.4)
216249
rexml (~> 3.2, >= 3.2.5)
217250
rubyzip (>= 1.2.2, < 3.0)
218251
websocket (~> 1.0)
@@ -241,15 +274,13 @@ GEM
241274
railties (>= 6.0.0)
242275
tzinfo (2.0.6)
243276
concurrent-ruby (~> 1.0)
277+
unicode-display_width (2.5.0)
278+
useragent (0.16.10)
244279
web-console (4.2.1)
245280
actionview (>= 6.0.0)
246281
activemodel (>= 6.0.0)
247282
bindex (>= 0.4.0)
248283
railties (>= 6.0.0)
249-
webdrivers (5.3.1)
250-
nokogiri (~> 1.6)
251-
rubyzip (>= 1.3.0)
252-
selenium-webdriver (~> 4.0, < 4.11)
253284
webrick (1.8.1)
254285
websocket (1.2.11)
255286
websocket-driver (0.7.6)
@@ -268,7 +299,6 @@ PLATFORMS
268299
x86_64-linux
269300

270301
DEPENDENCIES
271-
bootsnap
272302
capybara
273303
cssbundling-rails
274304
debug
@@ -277,16 +307,16 @@ DEPENDENCIES
277307
pg (~> 1.1)
278308
puma (~> 6.4)
279309
rack-mini-profiler
280-
rails (~> 7.1.3)
310+
rails (~> 7.2.0)
281311
redis (~> 5.2)
312+
rubocop-rails-omakase
282313
selenium-webdriver
283314
sidekiq (~> 7.3)
284315
sprockets-rails
285316
stimulus-rails
286317
turbo-rails
287318
tzinfo-data
288319
web-console
289-
webdrivers
290320

291321
RUBY VERSION
292322
ruby 3.3.4p94

0 commit comments

Comments
 (0)