Skip to content

Commit 2b187bd

Browse files
authored
Merge pull request #975 from MITLibraries/rails8
Rails 8.1.x
2 parents 1544555 + 4c5a66a commit 2b187bd

28 files changed

Lines changed: 912 additions & 474 deletions

Gemfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,23 @@ gem 'flipflop'
1313
gem 'graphql'
1414
gem 'jwt'
1515
gem 'lograge'
16-
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.4'
16+
gem 'mitlibraries-theme',
17+
git: 'https://github.com/mitlibraries/mitlibraries-theme',
18+
tag: 'v1.5'
1719
gem 'opensearch-aws-sigv4'
1820
gem 'opensearch-ruby'
1921
gem 'puma'
2022
gem 'rack-attack'
2123
gem 'rack-cors'
22-
gem 'rails', '~> 7.2.0'
24+
gem 'rails', '~> 8.1.0'
2325
gem 'redis'
2426
gem 'sass-rails'
2527
gem 'sentry-rails'
2628
gem 'sentry-ruby'
2729
gem 'uglifier'
2830

2931
group :production do
30-
gem 'connection_pool', '< 3' # 3.x requires keyword args; pin to 2.x for Rails 7.2.3
32+
gem 'connection_pool'
3133
gem 'pg'
3234
end
3335

@@ -38,7 +40,7 @@ group :development, :test do
3840
end
3941

4042
group :development do
41-
gem 'annotate'
43+
gem 'annotaterb'
4244
gem 'jekyll'
4345
gem 'jekyll-remote-theme'
4446
gem 'jekyll-seo-tag'
@@ -51,7 +53,7 @@ end
5153
group :test do
5254
gem 'capybara'
5355
gem 'climate_control'
54-
gem 'minitest', '< 6' # required for Rails 7.2.3
56+
gem 'minitest'
5557
gem 'mocha'
5658
gem 'selenium-webdriver'
5759
gem 'simplecov', require: false

Gemfile.lock

Lines changed: 89 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,94 @@
11
GIT
22
remote: https://github.com/mitlibraries/mitlibraries-theme
3-
revision: ba5bdc9840ef817ba0b92e522b92da3f52669fc3
4-
tag: v1.4
3+
revision: 135390daff870937212f1d9020abb6aea53c87d9
4+
tag: v1.5
55
specs:
6-
mitlibraries-theme (1.0.2)
7-
rails (>= 6, < 8)
6+
mitlibraries-theme (1.1.0)
7+
rails (>= 6, < 9)
88
sassc-rails (~> 2)
99

1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
actioncable (7.2.3.1)
14-
actionpack (= 7.2.3.1)
15-
activesupport (= 7.2.3.1)
13+
action_text-trix (2.1.19)
14+
railties
15+
actioncable (8.1.3)
16+
actionpack (= 8.1.3)
17+
activesupport (= 8.1.3)
1618
nio4r (~> 2.0)
1719
websocket-driver (>= 0.6.1)
1820
zeitwerk (~> 2.6)
19-
actionmailbox (7.2.3.1)
20-
actionpack (= 7.2.3.1)
21-
activejob (= 7.2.3.1)
22-
activerecord (= 7.2.3.1)
23-
activestorage (= 7.2.3.1)
24-
activesupport (= 7.2.3.1)
21+
actionmailbox (8.1.3)
22+
actionpack (= 8.1.3)
23+
activejob (= 8.1.3)
24+
activerecord (= 8.1.3)
25+
activestorage (= 8.1.3)
26+
activesupport (= 8.1.3)
2527
mail (>= 2.8.0)
26-
actionmailer (7.2.3.1)
27-
actionpack (= 7.2.3.1)
28-
actionview (= 7.2.3.1)
29-
activejob (= 7.2.3.1)
30-
activesupport (= 7.2.3.1)
28+
actionmailer (8.1.3)
29+
actionpack (= 8.1.3)
30+
actionview (= 8.1.3)
31+
activejob (= 8.1.3)
32+
activesupport (= 8.1.3)
3133
mail (>= 2.8.0)
3234
rails-dom-testing (~> 2.2)
33-
actionpack (7.2.3.1)
34-
actionview (= 7.2.3.1)
35-
activesupport (= 7.2.3.1)
36-
cgi
35+
actionpack (8.1.3)
36+
actionview (= 8.1.3)
37+
activesupport (= 8.1.3)
3738
nokogiri (>= 1.8.5)
38-
racc
39-
rack (>= 2.2.4, < 3.3)
39+
rack (>= 2.2.4)
4040
rack-session (>= 1.0.1)
4141
rack-test (>= 0.6.3)
4242
rails-dom-testing (~> 2.2)
4343
rails-html-sanitizer (~> 1.6)
4444
useragent (~> 0.16)
45-
actiontext (7.2.3.1)
46-
actionpack (= 7.2.3.1)
47-
activerecord (= 7.2.3.1)
48-
activestorage (= 7.2.3.1)
49-
activesupport (= 7.2.3.1)
45+
actiontext (8.1.3)
46+
action_text-trix (~> 2.1.15)
47+
actionpack (= 8.1.3)
48+
activerecord (= 8.1.3)
49+
activestorage (= 8.1.3)
50+
activesupport (= 8.1.3)
5051
globalid (>= 0.6.0)
5152
nokogiri (>= 1.8.5)
52-
actionview (7.2.3.1)
53-
activesupport (= 7.2.3.1)
53+
actionview (8.1.3)
54+
activesupport (= 8.1.3)
5455
builder (~> 3.1)
55-
cgi
5656
erubi (~> 1.11)
5757
rails-dom-testing (~> 2.2)
5858
rails-html-sanitizer (~> 1.6)
59-
activejob (7.2.3.1)
60-
activesupport (= 7.2.3.1)
59+
activejob (8.1.3)
60+
activesupport (= 8.1.3)
6161
globalid (>= 0.3.6)
62-
activemodel (7.2.3.1)
63-
activesupport (= 7.2.3.1)
64-
activerecord (7.2.3.1)
65-
activemodel (= 7.2.3.1)
66-
activesupport (= 7.2.3.1)
62+
activemodel (8.1.3)
63+
activesupport (= 8.1.3)
64+
activerecord (8.1.3)
65+
activemodel (= 8.1.3)
66+
activesupport (= 8.1.3)
6767
timeout (>= 0.4.0)
68-
activestorage (7.2.3.1)
69-
actionpack (= 7.2.3.1)
70-
activejob (= 7.2.3.1)
71-
activerecord (= 7.2.3.1)
72-
activesupport (= 7.2.3.1)
68+
activestorage (8.1.3)
69+
actionpack (= 8.1.3)
70+
activejob (= 8.1.3)
71+
activerecord (= 8.1.3)
72+
activesupport (= 8.1.3)
7373
marcel (~> 1.0)
74-
activesupport (7.2.3.1)
74+
activesupport (8.1.3)
7575
base64
76-
benchmark (>= 0.3)
7776
bigdecimal
7877
concurrent-ruby (~> 1.0, >= 1.3.1)
7978
connection_pool (>= 2.2.5)
8079
drb
8180
i18n (>= 1.6, < 2)
81+
json
8282
logger (>= 1.4.2)
83-
minitest (>= 5.1, < 6)
83+
minitest (>= 5.1)
8484
securerandom (>= 0.3)
8585
tzinfo (~> 2.0, >= 2.0.5)
86+
uri (>= 0.13.1)
8687
addressable (2.9.0)
8788
public_suffix (>= 2.0.2, < 8.0)
88-
annotate (3.2.0)
89-
activerecord (>= 3.2, < 8.0)
90-
rake (>= 10.4, < 14.0)
89+
annotaterb (4.23.0)
90+
activerecord (>= 6.0.0)
91+
activesupport (>= 6.0.0)
9192
ast (2.4.3)
9293
aws-eventstream (1.4.0)
9394
aws-partitions (1.1269.0)
@@ -109,7 +110,6 @@ GEM
109110
aws-eventstream (~> 1, >= 1.0.2)
110111
base64 (0.3.0)
111112
bcrypt (3.1.21)
112-
benchmark (0.5.0)
113113
bigdecimal (4.1.2)
114114
bindex (0.8.1)
115115
bootsnap (1.24.6)
@@ -126,11 +126,10 @@ GEM
126126
rack-test (>= 0.6.3)
127127
regexp_parser (>= 1.5, < 3.0)
128128
xpath (~> 3.2)
129-
cgi (0.5.2)
130129
climate_control (1.2.0)
131130
colorator (1.1.0)
132131
concurrent-ruby (1.3.7)
133-
connection_pool (2.5.5)
132+
connection_pool (3.0.2)
134133
crack (1.0.1)
135134
bigdecimal
136135
rexml
@@ -170,7 +169,7 @@ GEM
170169
activesupport (>= 4.0)
171170
terminal-table (>= 1.8)
172171
forwardable-extended (2.6.0)
173-
globalid (1.3.0)
172+
globalid (1.4.0)
174173
activesupport (>= 6.1)
175174
google-protobuf (4.35.1)
176175
bigdecimal
@@ -244,25 +243,27 @@ GEM
244243
loofah (2.25.1)
245244
crass (~> 1.0.2)
246245
nokogiri (>= 1.12.0)
247-
mail (2.9.0)
246+
mail (2.9.1)
248247
logger
249248
mini_mime (>= 0.1.1)
250249
net-imap
251250
net-pop
252251
net-smtp
253-
marcel (1.1.0)
252+
marcel (1.2.1)
254253
matrix (0.4.3)
255254
mercenary (0.4.0)
256255
mini_mime (1.1.5)
257256
mini_portile2 (2.8.9)
258-
minitest (5.27.0)
257+
minitest (6.0.6)
258+
drb (~> 2.0)
259+
prism (~> 1.5)
259260
mocha (3.1.0)
260261
ruby2_keywords (>= 0.0.5)
261262
msgpack (1.8.3)
262263
multi_json (1.19.1)
263264
net-http (0.9.1)
264265
uri (>= 0.11.1)
265-
net-imap (0.6.2)
266+
net-imap (0.6.4.1)
266267
date
267268
net-protocol
268269
net-pop (0.1.2)
@@ -294,9 +295,6 @@ GEM
294295
prettyprint
295296
prettyprint (0.2.0)
296297
prism (1.9.0)
297-
psych (5.4.0)
298-
date
299-
stringio
300298
public_suffix (7.0.5)
301299
puma (8.0.2)
302300
nio4r (~> 2.0)
@@ -314,31 +312,30 @@ GEM
314312
rack (>= 1.3)
315313
rackup (2.3.1)
316314
rack (>= 3)
317-
rails (7.2.3.1)
318-
actioncable (= 7.2.3.1)
319-
actionmailbox (= 7.2.3.1)
320-
actionmailer (= 7.2.3.1)
321-
actionpack (= 7.2.3.1)
322-
actiontext (= 7.2.3.1)
323-
actionview (= 7.2.3.1)
324-
activejob (= 7.2.3.1)
325-
activemodel (= 7.2.3.1)
326-
activerecord (= 7.2.3.1)
327-
activestorage (= 7.2.3.1)
328-
activesupport (= 7.2.3.1)
315+
rails (8.1.3)
316+
actioncable (= 8.1.3)
317+
actionmailbox (= 8.1.3)
318+
actionmailer (= 8.1.3)
319+
actionpack (= 8.1.3)
320+
actiontext (= 8.1.3)
321+
actionview (= 8.1.3)
322+
activejob (= 8.1.3)
323+
activemodel (= 8.1.3)
324+
activerecord (= 8.1.3)
325+
activestorage (= 8.1.3)
326+
activesupport (= 8.1.3)
329327
bundler (>= 1.15.0)
330-
railties (= 7.2.3.1)
328+
railties (= 8.1.3)
331329
rails-dom-testing (2.3.0)
332330
activesupport (>= 5.0.0)
333331
minitest
334332
nokogiri (>= 1.6)
335333
rails-html-sanitizer (1.7.0)
336334
loofah (~> 2.25)
337335
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)
338-
railties (7.2.3.1)
339-
actionpack (= 7.2.3.1)
340-
activesupport (= 7.2.3.1)
341-
cgi
336+
railties (8.1.3)
337+
actionpack (= 8.1.3)
338+
activesupport (= 8.1.3)
342339
irb (~> 1.13)
343340
rackup (>= 1.0.0)
344341
rake (>= 12.2)
@@ -350,9 +347,14 @@ GEM
350347
rb-fsevent (0.11.2)
351348
rb-inotify (0.11.1)
352349
ffi (~> 1.0)
353-
rdoc (7.2.0)
350+
rbs (4.0.3)
351+
logger
352+
prism (>= 1.6.0)
353+
tsort
354+
rdoc (8.0.0)
354355
erb
355-
psych (>= 4.0.0)
356+
prism (>= 1.6.0)
357+
rbs (>= 4.0.0)
356358
tsort
357359
redis (5.4.1)
358360
redis-client (>= 0.22.0)
@@ -431,13 +433,12 @@ GEM
431433
sprockets (>= 3.0.0)
432434
sqlite3 (2.9.5)
433435
mini_portile2 (~> 2.8.0)
434-
stringio (3.2.0)
435436
terminal-table (3.0.2)
436437
unicode-display_width (>= 1.1.1, < 3)
437438
thor (1.5.0)
438-
tilt (2.6.1)
439+
tilt (2.8.0)
439440
timecop (0.9.11)
440-
timeout (0.6.0)
441+
timeout (0.6.1)
441442
tsort (0.2.0)
442443
tzinfo (2.0.6)
443444
concurrent-ruby (~> 1.0)
@@ -460,7 +461,7 @@ GEM
460461
hashdiff (>= 0.4.0, < 2.0.0)
461462
webrick (1.9.2)
462463
websocket (1.2.11)
463-
websocket-driver (0.8.0)
464+
websocket-driver (0.8.2)
464465
base64
465466
websocket-extensions (>= 0.1.0)
466467
websocket-extensions (0.1.5)
@@ -472,15 +473,15 @@ PLATFORMS
472473
ruby
473474

474475
DEPENDENCIES
475-
annotate
476+
annotaterb
476477
aws-sdk-lambda
477478
aws-sdk-sts
478479
aws-sigv4
479480
bootsnap
480481
byebug
481482
capybara
482483
climate_control
483-
connection_pool (< 3)
484+
connection_pool
484485
devise
485486
dotenv-rails
486487
faraday_middleware-aws-sigv4
@@ -492,7 +493,7 @@ DEPENDENCIES
492493
jwt
493494
listen
494495
lograge
495-
minitest (< 6)
496+
minitest
496497
mitlibraries-theme!
497498
mocha
498499
opensearch-aws-sigv4
@@ -501,7 +502,7 @@ DEPENDENCIES
501502
puma
502503
rack-attack
503504
rack-cors
504-
rails (~> 7.2.0)
505+
rails (~> 8.1.0)
505506
redis
506507
rubocop
507508
rubocop-rails

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ additional records with a standardized template.
3434

3535
## Developing this application
3636

37-
- please `bundle exec annotate` when making changes to models to update the
37+
- please `bundle exec annotaterb models` when making changes to models to update the
3838
internal documentation
3939
- don't commit your .env or .env.development, but do commit .env.test after
4040
confirming your test values are not actual secrets that need protecting

0 commit comments

Comments
 (0)