Skip to content

Commit 93fb608

Browse files
committed
Upgrade to Rails 8.1 and fix theme setup
1 parent 8beece7 commit 93fb608

File tree

10 files changed

+150
-121
lines changed

10 files changed

+150
-121
lines changed

.env.example

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
KAMAL_REGISTRY_PASSWORD=$(op-cache read "op://Personal/GitHub Personal Access Token/token")
2-
POSTGRES_PASSWORD=$(op-cache read "op://cluster-headache-tracker/postgresql/password")
3-
HONEYBADGER_API_KEY=$(op-cache read "op://cluster-headache-tracker/HoneybadgerAPI/credential")
4-
RAILS_MASTER_KEY=$(op-cache read "op://cluster-headache-tracker/Rails Master Key/credential")
1+
export KAMAL_REGISTRY_PASSWORD=$(op-cache read "op://Personal/GitHub Personal Access Token/token")
2+
export POSTGRES_PASSWORD=$(op-cache read "op://cluster-headache-tracker/postgresql/password")
3+
export HONEYBADGER_API_KEY=$(op-cache read "op://cluster-headache-tracker/HoneybadgerAPI/credential")
4+
export RAILS_MASTER_KEY=$(op-cache read "op://cluster-headache-tracker/Rails Master Key/credential")
5+
export SEED_USER_USERNAME=$(op-cache read "op://cluster-headache-tracker/Cluster Headache Tracker/username")
6+
export SEED_USER_PASSWORD=$(op-cache read "op://cluster-headache-tracker/Cluster Headache Tracker/password")

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source "https://rubygems.org"
22

33
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4-
gem "rails", "~> 8.0.0"
4+
gem "rails", "~> 8.1.0"
55
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
66
gem "propshaft"
77
# Use postgresql as the database for Active Record

Gemfile.lock

Lines changed: 93 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,75 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (8.0.4)
5-
actionpack (= 8.0.4)
6-
activesupport (= 8.0.4)
4+
action_text-trix (2.1.18)
5+
railties
6+
actioncable (8.1.3)
7+
actionpack (= 8.1.3)
8+
activesupport (= 8.1.3)
79
nio4r (~> 2.0)
810
websocket-driver (>= 0.6.1)
911
zeitwerk (~> 2.6)
10-
actionmailbox (8.0.4)
11-
actionpack (= 8.0.4)
12-
activejob (= 8.0.4)
13-
activerecord (= 8.0.4)
14-
activestorage (= 8.0.4)
15-
activesupport (= 8.0.4)
12+
actionmailbox (8.1.3)
13+
actionpack (= 8.1.3)
14+
activejob (= 8.1.3)
15+
activerecord (= 8.1.3)
16+
activestorage (= 8.1.3)
17+
activesupport (= 8.1.3)
1618
mail (>= 2.8.0)
17-
actionmailer (8.0.4)
18-
actionpack (= 8.0.4)
19-
actionview (= 8.0.4)
20-
activejob (= 8.0.4)
21-
activesupport (= 8.0.4)
19+
actionmailer (8.1.3)
20+
actionpack (= 8.1.3)
21+
actionview (= 8.1.3)
22+
activejob (= 8.1.3)
23+
activesupport (= 8.1.3)
2224
mail (>= 2.8.0)
2325
rails-dom-testing (~> 2.2)
24-
actionpack (8.0.4)
25-
actionview (= 8.0.4)
26-
activesupport (= 8.0.4)
26+
actionpack (8.1.3)
27+
actionview (= 8.1.3)
28+
activesupport (= 8.1.3)
2729
nokogiri (>= 1.8.5)
2830
rack (>= 2.2.4)
2931
rack-session (>= 1.0.1)
3032
rack-test (>= 0.6.3)
3133
rails-dom-testing (~> 2.2)
3234
rails-html-sanitizer (~> 1.6)
3335
useragent (~> 0.16)
34-
actiontext (8.0.4)
35-
actionpack (= 8.0.4)
36-
activerecord (= 8.0.4)
37-
activestorage (= 8.0.4)
38-
activesupport (= 8.0.4)
36+
actiontext (8.1.3)
37+
action_text-trix (~> 2.1.15)
38+
actionpack (= 8.1.3)
39+
activerecord (= 8.1.3)
40+
activestorage (= 8.1.3)
41+
activesupport (= 8.1.3)
3942
globalid (>= 0.6.0)
4043
nokogiri (>= 1.8.5)
41-
actionview (8.0.4)
42-
activesupport (= 8.0.4)
44+
actionview (8.1.3)
45+
activesupport (= 8.1.3)
4346
builder (~> 3.1)
4447
erubi (~> 1.11)
4548
rails-dom-testing (~> 2.2)
4649
rails-html-sanitizer (~> 1.6)
47-
activejob (8.0.4)
48-
activesupport (= 8.0.4)
50+
activejob (8.1.3)
51+
activesupport (= 8.1.3)
4952
globalid (>= 0.3.6)
50-
activemodel (8.0.4)
51-
activesupport (= 8.0.4)
52-
activerecord (8.0.4)
53-
activemodel (= 8.0.4)
54-
activesupport (= 8.0.4)
53+
activemodel (8.1.3)
54+
activesupport (= 8.1.3)
55+
activerecord (8.1.3)
56+
activemodel (= 8.1.3)
57+
activesupport (= 8.1.3)
5558
timeout (>= 0.4.0)
56-
activestorage (8.0.4)
57-
actionpack (= 8.0.4)
58-
activejob (= 8.0.4)
59-
activerecord (= 8.0.4)
60-
activesupport (= 8.0.4)
59+
activestorage (8.1.3)
60+
actionpack (= 8.1.3)
61+
activejob (= 8.1.3)
62+
activerecord (= 8.1.3)
63+
activesupport (= 8.1.3)
6164
marcel (~> 1.0)
62-
activesupport (8.0.4)
65+
activesupport (8.1.3)
6366
base64
64-
benchmark (>= 0.3)
6567
bigdecimal
6668
concurrent-ruby (~> 1.0, >= 1.3.1)
6769
connection_pool (>= 2.2.5)
6870
drb
6971
i18n (>= 1.6, < 2)
72+
json
7073
logger (>= 1.4.2)
7174
minitest (>= 5.1)
7275
securerandom (>= 0.3)
@@ -76,17 +79,16 @@ GEM
7679
public_suffix (>= 2.0.2, < 8.0)
7780
ast (2.4.3)
7881
base64 (0.3.0)
79-
bcrypt (3.1.21)
82+
bcrypt (3.1.22)
8083
bcrypt_pbkdf (1.1.2)
81-
benchmark (0.5.0)
8284
better_html (2.2.0)
8385
actionview (>= 7.0)
8486
activesupport (>= 7.0)
8587
ast (~> 2.0)
8688
erubi (~> 1.4)
8789
parser (>= 2.4)
8890
smart_properties
89-
bigdecimal (4.0.1)
91+
bigdecimal (4.1.0)
9092
bindex (0.8.1)
9193
bootsnap (1.23.0)
9294
msgpack (~> 1.2)
@@ -114,7 +116,7 @@ GEM
114116
debug (1.11.1)
115117
irb (~> 1.10)
116118
reline (>= 0.3.8)
117-
devise (5.0.2)
119+
devise (5.0.3)
118120
bcrypt (~> 3.0)
119121
orm_adapter (~> 0.1)
120122
railties (>= 7.0)
@@ -136,7 +138,7 @@ GEM
136138
et-orbi (1.4.0)
137139
tzinfo
138140
exifr (1.5.1)
139-
flay (2.14.2)
141+
flay (2.14.3)
140142
erubi (~> 1.10)
141143
path_expander (~> 2.0)
142144
prism (~> 1.7)
@@ -147,7 +149,7 @@ GEM
147149
raabro (~> 1.4)
148150
globalid (1.3.0)
149151
activesupport (>= 6.1)
150-
honeybadger (6.5.2)
152+
honeybadger (6.5.3)
151153
logger
152154
ostruct
153155
i18n (1.14.8)
@@ -158,16 +160,16 @@ GEM
158160
image_size (>= 1.5, < 4)
159161
in_threads (~> 1.3)
160162
progress (~> 3.0, >= 3.0.1)
161-
image_optim_pack (0.12.2.20260219)
163+
image_optim_pack (0.12.2.20260327)
162164
fspath (>= 2.1, < 4)
163165
image_optim (~> 0.19)
164-
image_optim_pack (0.12.2.20260219-arm64-darwin)
166+
image_optim_pack (0.12.2.20260327-arm64-darwin)
165167
fspath (>= 2.1, < 4)
166168
image_optim (~> 0.19)
167-
image_optim_pack (0.12.2.20260219-x86_64-darwin)
169+
image_optim_pack (0.12.2.20260327-x86_64-darwin)
168170
fspath (>= 2.1, < 4)
169171
image_optim (~> 0.19)
170-
image_optim_pack (0.12.2.20260219-x86_64-linux)
172+
image_optim_pack (0.12.2.20260327-x86_64-linux)
171173
fspath (>= 2.1, < 4)
172174
image_optim (~> 0.19)
173175
image_optim_rails (0.5.0)
@@ -190,11 +192,8 @@ GEM
190192
jbuilder (2.14.1)
191193
actionview (>= 7.0.0)
192194
activesupport (>= 7.0.0)
193-
json (2.18.1)
194-
json-schema (6.1.0)
195-
addressable (~> 2.8)
196-
bigdecimal (>= 3.1, < 5)
197-
kamal (2.10.1)
195+
json (2.19.3)
196+
kamal (2.11.0)
198197
activesupport (>= 7.0)
199198
base64 (~> 0.2)
200199
bcrypt_pbkdf (~> 1.0)
@@ -216,7 +215,7 @@ GEM
216215
xml-simple (~> 1.1.9)
217216
lint_roller (1.1.0)
218217
logger (1.7.0)
219-
loofah (2.25.0)
218+
loofah (2.25.1)
220219
crass (~> 1.0.2)
221220
nokogiri (>= 1.12.0)
222221
mail (2.9.0)
@@ -227,8 +226,6 @@ GEM
227226
net-smtp
228227
marcel (1.1.0)
229228
matrix (0.4.3)
230-
mcp (0.8.0)
231-
json-schema (>= 4.1)
232229
mini_mime (1.1.5)
233230
mini_portile2 (2.8.9)
234231
minitest (6.0.2)
@@ -248,20 +245,20 @@ GEM
248245
net-ssh (>= 5.0.0, < 8.0.0)
249246
net-smtp (0.5.1)
250247
net-protocol
251-
net-ssh (7.3.0)
248+
net-ssh (7.3.2)
252249
nio4r (2.7.5)
253-
nokogiri (1.19.1)
250+
nokogiri (1.19.2)
254251
mini_portile2 (~> 2.8.2)
255252
racc (~> 1.4)
256-
nokogiri (1.19.1-aarch64-linux-gnu)
253+
nokogiri (1.19.2-aarch64-linux-gnu)
257254
racc (~> 1.4)
258-
nokogiri (1.19.1-arm-linux-gnu)
255+
nokogiri (1.19.2-arm-linux-gnu)
259256
racc (~> 1.4)
260-
nokogiri (1.19.1-arm64-darwin)
257+
nokogiri (1.19.2-arm64-darwin)
261258
racc (~> 1.4)
262-
nokogiri (1.19.1-x86_64-darwin)
259+
nokogiri (1.19.2-x86_64-darwin)
263260
racc (~> 1.4)
264-
nokogiri (1.19.1-x86_64-linux-gnu)
261+
nokogiri (1.19.2-x86_64-linux-gnu)
265262
racc (~> 1.4)
266263
orm_adapter (0.5.0)
267264
ostruct (0.6.3)
@@ -270,7 +267,7 @@ GEM
270267
iniparse (~> 1.4)
271268
rexml (>= 3.3.9)
272269
parallel (1.27.0)
273-
parser (3.3.10.2)
270+
parser (3.3.11.1)
274271
ast (~> 2.4.1)
275272
racc
276273
path_expander (2.0.1)
@@ -306,20 +303,20 @@ GEM
306303
rack (>= 1.3)
307304
rackup (2.3.1)
308305
rack (>= 3)
309-
rails (8.0.4)
310-
actioncable (= 8.0.4)
311-
actionmailbox (= 8.0.4)
312-
actionmailer (= 8.0.4)
313-
actionpack (= 8.0.4)
314-
actiontext (= 8.0.4)
315-
actionview (= 8.0.4)
316-
activejob (= 8.0.4)
317-
activemodel (= 8.0.4)
318-
activerecord (= 8.0.4)
319-
activestorage (= 8.0.4)
320-
activesupport (= 8.0.4)
306+
rails (8.1.3)
307+
actioncable (= 8.1.3)
308+
actionmailbox (= 8.1.3)
309+
actionmailer (= 8.1.3)
310+
actionpack (= 8.1.3)
311+
actiontext (= 8.1.3)
312+
actionview (= 8.1.3)
313+
activejob (= 8.1.3)
314+
activemodel (= 8.1.3)
315+
activerecord (= 8.1.3)
316+
activestorage (= 8.1.3)
317+
activesupport (= 8.1.3)
321318
bundler (>= 1.15.0)
322-
railties (= 8.0.4)
319+
railties (= 8.1.3)
323320
rails-dom-testing (2.3.0)
324321
activesupport (>= 5.0.0)
325322
minitest
@@ -342,9 +339,9 @@ GEM
342339
json (>= 1.7, < 3)
343340
rails
344341
rubyzip (~> 2)
345-
railties (8.0.4)
346-
actionpack (= 8.0.4)
347-
activesupport (= 8.0.4)
342+
railties (8.1.3)
343+
actionpack (= 8.1.3)
344+
activesupport (= 8.1.3)
348345
irb (~> 1.13)
349346
rackup (>= 1.0.0)
350347
rake (>= 12.2)
@@ -365,19 +362,18 @@ GEM
365362
actionpack (>= 7.0)
366363
railties (>= 7.0)
367364
rexml (3.4.4)
368-
rubocop (1.85.0)
365+
rubocop (1.86.0)
369366
json (~> 2.3)
370367
language_server-protocol (~> 3.17.0.2)
371368
lint_roller (~> 1.1.0)
372-
mcp (~> 0.6)
373369
parallel (~> 1.10)
374370
parser (>= 3.3.0.2)
375371
rainbow (>= 2.2.2, < 4.0)
376372
regexp_parser (>= 2.9.3, < 3.0)
377373
rubocop-ast (>= 1.49.0, < 2.0)
378374
ruby-progressbar (~> 1.7)
379375
unicode-display_width (>= 2.4.0, < 4.0)
380-
rubocop-ast (1.49.0)
376+
rubocop-ast (1.49.1)
381377
parser (>= 3.3.7.2)
382378
prism (~> 1.7)
383379
rubocop-performance (1.26.1)
@@ -416,7 +412,7 @@ GEM
416412
activejob (>= 7.2)
417413
activerecord (>= 7.2)
418414
railties (>= 7.2)
419-
solid_queue (1.3.2)
415+
solid_queue (1.4.0)
420416
activejob (>= 7.1)
421417
activerecord (>= 7.1)
422418
concurrent-ruby (>= 1.3.1)
@@ -440,18 +436,18 @@ GEM
440436
tailwindcss-rails (4.4.0)
441437
railties (>= 7.0.0)
442438
tailwindcss-ruby (~> 4.0)
443-
tailwindcss-ruby (4.2.0)
444-
tailwindcss-ruby (4.2.0-aarch64-linux-gnu)
445-
tailwindcss-ruby (4.2.0-arm64-darwin)
446-
tailwindcss-ruby (4.2.0-x86_64-darwin)
447-
tailwindcss-ruby (4.2.0-x86_64-linux-gnu)
439+
tailwindcss-ruby (4.2.1)
440+
tailwindcss-ruby (4.2.1-aarch64-linux-gnu)
441+
tailwindcss-ruby (4.2.1-arm64-darwin)
442+
tailwindcss-ruby (4.2.1-x86_64-darwin)
443+
tailwindcss-ruby (4.2.1-x86_64-linux-gnu)
448444
thor (1.5.0)
449-
thruster (0.1.18)
450-
thruster (0.1.18-aarch64-linux)
451-
thruster (0.1.18-arm64-darwin)
452-
thruster (0.1.18-x86_64-darwin)
453-
thruster (0.1.18-x86_64-linux)
454-
timeout (0.6.0)
445+
thruster (0.1.20)
446+
thruster (0.1.20-aarch64-linux)
447+
thruster (0.1.20-arm64-darwin)
448+
thruster (0.1.20-x86_64-darwin)
449+
thruster (0.1.20-x86_64-linux)
450+
timeout (0.6.1)
455451
tomlrb (2.0.4)
456452
tsort (0.2.0)
457453
turbo-rails (2.0.23)
@@ -512,7 +508,7 @@ DEPENDENCIES
512508
propshaft
513509
puma (>= 5.0)
514510
rack-attack (~> 6.7)
515-
rails (~> 8.0.0)
511+
rails (~> 8.1.0)
516512
rails_best_practices
517513
rails_heroicon
518514
rails_real_favicon
@@ -530,4 +526,4 @@ DEPENDENCIES
530526
web-console
531527

532528
BUNDLED WITH
533-
2.6.9
529+
4.0.6

0 commit comments

Comments
 (0)