Skip to content

Commit 4392129

Browse files
Upgrade Rails to 8.0.x and update dependencies
1 parent 8737736 commit 4392129

3 files changed

Lines changed: 66 additions & 63 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ gem 'pg', '~> 1.4'
1818
gem 'pg_search', '~> 2.3'
1919
gem 'puma', '~> 5.0'
2020
gem 'rack-cors'
21-
gem 'rails', '~> 7.2.0'
21+
gem 'rails', '~> 8.0.4'
2222
gem 'ransack', '~> 4.2'
2323
gem 'zaru', '~> 0.3.0'
2424

Gemfile.lock

Lines changed: 61 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,65 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (7.2.3.1)
5-
actionpack (= 7.2.3.1)
6-
activesupport (= 7.2.3.1)
4+
actioncable (8.0.5)
5+
actionpack (= 8.0.5)
6+
activesupport (= 8.0.5)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
99
zeitwerk (~> 2.6)
10-
actionmailbox (7.2.3.1)
11-
actionpack (= 7.2.3.1)
12-
activejob (= 7.2.3.1)
13-
activerecord (= 7.2.3.1)
14-
activestorage (= 7.2.3.1)
15-
activesupport (= 7.2.3.1)
10+
actionmailbox (8.0.5)
11+
actionpack (= 8.0.5)
12+
activejob (= 8.0.5)
13+
activerecord (= 8.0.5)
14+
activestorage (= 8.0.5)
15+
activesupport (= 8.0.5)
1616
mail (>= 2.8.0)
17-
actionmailer (7.2.3.1)
18-
actionpack (= 7.2.3.1)
19-
actionview (= 7.2.3.1)
20-
activejob (= 7.2.3.1)
21-
activesupport (= 7.2.3.1)
17+
actionmailer (8.0.5)
18+
actionpack (= 8.0.5)
19+
actionview (= 8.0.5)
20+
activejob (= 8.0.5)
21+
activesupport (= 8.0.5)
2222
mail (>= 2.8.0)
2323
rails-dom-testing (~> 2.2)
24-
actionpack (7.2.3.1)
25-
actionview (= 7.2.3.1)
26-
activesupport (= 7.2.3.1)
27-
cgi
24+
actionpack (8.0.5)
25+
actionview (= 8.0.5)
26+
activesupport (= 8.0.5)
2827
nokogiri (>= 1.8.5)
29-
racc
30-
rack (>= 2.2.4, < 3.3)
28+
rack (>= 2.2.4)
3129
rack-session (>= 1.0.1)
3230
rack-test (>= 0.6.3)
3331
rails-dom-testing (~> 2.2)
3432
rails-html-sanitizer (~> 1.6)
3533
useragent (~> 0.16)
36-
actiontext (7.2.3.1)
37-
actionpack (= 7.2.3.1)
38-
activerecord (= 7.2.3.1)
39-
activestorage (= 7.2.3.1)
40-
activesupport (= 7.2.3.1)
34+
actiontext (8.0.5)
35+
actionpack (= 8.0.5)
36+
activerecord (= 8.0.5)
37+
activestorage (= 8.0.5)
38+
activesupport (= 8.0.5)
4139
globalid (>= 0.6.0)
4240
nokogiri (>= 1.8.5)
43-
actionview (7.2.3.1)
44-
activesupport (= 7.2.3.1)
41+
actionview (8.0.5)
42+
activesupport (= 8.0.5)
4543
builder (~> 3.1)
46-
cgi
4744
erubi (~> 1.11)
4845
rails-dom-testing (~> 2.2)
4946
rails-html-sanitizer (~> 1.6)
50-
activejob (7.2.3.1)
51-
activesupport (= 7.2.3.1)
47+
activejob (8.0.5)
48+
activesupport (= 8.0.5)
5249
globalid (>= 0.3.6)
53-
activemodel (7.2.3.1)
54-
activesupport (= 7.2.3.1)
55-
activerecord (7.2.3.1)
56-
activemodel (= 7.2.3.1)
57-
activesupport (= 7.2.3.1)
50+
activemodel (8.0.5)
51+
activesupport (= 8.0.5)
52+
activerecord (8.0.5)
53+
activemodel (= 8.0.5)
54+
activesupport (= 8.0.5)
5855
timeout (>= 0.4.0)
59-
activestorage (7.2.3.1)
60-
actionpack (= 7.2.3.1)
61-
activejob (= 7.2.3.1)
62-
activerecord (= 7.2.3.1)
63-
activesupport (= 7.2.3.1)
56+
activestorage (8.0.5)
57+
actionpack (= 8.0.5)
58+
activejob (= 8.0.5)
59+
activerecord (= 8.0.5)
60+
activesupport (= 8.0.5)
6461
marcel (~> 1.0)
65-
activesupport (7.2.3.1)
62+
activesupport (8.0.5)
6663
base64
6764
benchmark (>= 0.3)
6865
bigdecimal
@@ -71,9 +68,10 @@ GEM
7168
drb
7269
i18n (>= 1.6, < 2)
7370
logger (>= 1.4.2)
74-
minitest (>= 5.1, < 6)
71+
minitest (>= 5.1)
7572
securerandom (>= 0.3)
7673
tzinfo (~> 2.0, >= 2.0.5)
74+
uri (>= 0.13.1)
7775
addressable (2.8.7)
7876
public_suffix (>= 2.0.2, < 7.0)
7977
amazing_print (1.8.1)
@@ -108,7 +106,6 @@ GEM
108106
bundler-audit (0.9.2)
109107
bundler (>= 1.2.0, < 3)
110108
thor (~> 1.0)
111-
cgi (0.5.1)
112109
colorize (1.1.0)
113110
concurrent-ruby (1.3.6)
114111
connection_pool (3.0.2)
@@ -188,7 +185,9 @@ GEM
188185
logger
189186
mini_mime (1.1.5)
190187
mini_portile2 (2.8.9)
191-
minitest (5.27.0)
188+
minitest (6.0.2)
189+
drb (~> 2.0)
190+
prism (~> 1.5)
192191
mutex_m (0.3.0)
193192
net-imap (0.6.3)
194193
date
@@ -256,20 +255,20 @@ GEM
256255
rackup (1.0.1)
257256
rack (< 3)
258257
webrick
259-
rails (7.2.3.1)
260-
actioncable (= 7.2.3.1)
261-
actionmailbox (= 7.2.3.1)
262-
actionmailer (= 7.2.3.1)
263-
actionpack (= 7.2.3.1)
264-
actiontext (= 7.2.3.1)
265-
actionview (= 7.2.3.1)
266-
activejob (= 7.2.3.1)
267-
activemodel (= 7.2.3.1)
268-
activerecord (= 7.2.3.1)
269-
activestorage (= 7.2.3.1)
270-
activesupport (= 7.2.3.1)
258+
rails (8.0.5)
259+
actioncable (= 8.0.5)
260+
actionmailbox (= 8.0.5)
261+
actionmailer (= 8.0.5)
262+
actionpack (= 8.0.5)
263+
actiontext (= 8.0.5)
264+
actionview (= 8.0.5)
265+
activejob (= 8.0.5)
266+
activemodel (= 8.0.5)
267+
activerecord (= 8.0.5)
268+
activestorage (= 8.0.5)
269+
activesupport (= 8.0.5)
271270
bundler (>= 1.15.0)
272-
railties (= 7.2.3.1)
271+
railties (= 8.0.5)
273272
rails-controller-testing (1.0.5)
274273
actionpack (>= 5.0.1.rc1)
275274
actionview (>= 5.0.1.rc1)
@@ -281,10 +280,9 @@ GEM
281280
rails-html-sanitizer (1.7.0)
282281
loofah (~> 2.25)
283282
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
284-
railties (7.2.3.1)
285-
actionpack (= 7.2.3.1)
286-
activesupport (= 7.2.3.1)
287-
cgi
283+
railties (8.0.5)
284+
actionpack (= 8.0.5)
285+
activesupport (= 8.0.5)
288286
irb (~> 1.13)
289287
rackup (>= 1.0.0)
290288
rake (>= 12.2)
@@ -379,6 +377,7 @@ GEM
379377
tzinfo (2.0.6)
380378
concurrent-ruby (~> 1.0)
381379
unicode-display_width (2.6.0)
380+
uri (1.1.1)
382381
useragent (0.16.11)
383382
webmock (3.25.1)
384383
addressable (>= 2.8.0)
@@ -420,7 +419,7 @@ DEPENDENCIES
420419
pg_search (~> 2.3)
421420
puma (~> 5.0)
422421
rack-cors
423-
rails (~> 7.2.0)
422+
rails (~> 8.0.4)
424423
rails-controller-testing
425424
ransack (~> 4.2)
426425
rspec (~> 3.13)

config/application.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
module GalcApi
2727
class Application < Rails::Application
2828
config.load_defaults 7.0
29+
30+
# Opt in to Rails 8.1 timezone behavior early
31+
config.active_support.to_time_preserves_timezone = :zone
32+
2933
config.api_only = true
3034

3135
# ------------------------------------------------------------

0 commit comments

Comments
 (0)