Skip to content

Commit a8f612e

Browse files
Upgrade Rails to 8.1.3.1 to address Brakeman EOL warning
1 parent 4c3b728 commit a8f612e

5 files changed

Lines changed: 63 additions & 60 deletions

File tree

‎Gemfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ gem "pg", "~> 1.6.3"
1414
# Web server.
1515
gem "puma"
1616
# Rails web framework.
17-
gem "rails", "~> 8.0.2"
17+
gem "rails", "~> 8.1.0"
1818

1919
###### MODELS / DATABASE #######
2020

‎Gemfile.lock‎

Lines changed: 59 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -2,72 +2,75 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
Ascii85 (2.0.1)
5-
actioncable (8.0.2.1)
6-
actionpack (= 8.0.2.1)
7-
activesupport (= 8.0.2.1)
5+
action_text-trix (2.1.19)
6+
railties
7+
actioncable (8.1.3.1)
8+
actionpack (= 8.1.3.1)
9+
activesupport (= 8.1.3.1)
810
nio4r (~> 2.0)
911
websocket-driver (>= 0.6.1)
1012
zeitwerk (~> 2.6)
11-
actionmailbox (8.0.2.1)
12-
actionpack (= 8.0.2.1)
13-
activejob (= 8.0.2.1)
14-
activerecord (= 8.0.2.1)
15-
activestorage (= 8.0.2.1)
16-
activesupport (= 8.0.2.1)
13+
actionmailbox (8.1.3.1)
14+
actionpack (= 8.1.3.1)
15+
activejob (= 8.1.3.1)
16+
activerecord (= 8.1.3.1)
17+
activestorage (= 8.1.3.1)
18+
activesupport (= 8.1.3.1)
1719
mail (>= 2.8.0)
18-
actionmailer (8.0.2.1)
19-
actionpack (= 8.0.2.1)
20-
actionview (= 8.0.2.1)
21-
activejob (= 8.0.2.1)
22-
activesupport (= 8.0.2.1)
20+
actionmailer (8.1.3.1)
21+
actionpack (= 8.1.3.1)
22+
actionview (= 8.1.3.1)
23+
activejob (= 8.1.3.1)
24+
activesupport (= 8.1.3.1)
2325
mail (>= 2.8.0)
2426
rails-dom-testing (~> 2.2)
25-
actionpack (8.0.2.1)
26-
actionview (= 8.0.2.1)
27-
activesupport (= 8.0.2.1)
27+
actionpack (8.1.3.1)
28+
actionview (= 8.1.3.1)
29+
activesupport (= 8.1.3.1)
2830
nokogiri (>= 1.8.5)
2931
rack (>= 2.2.4)
3032
rack-session (>= 1.0.1)
3133
rack-test (>= 0.6.3)
3234
rails-dom-testing (~> 2.2)
3335
rails-html-sanitizer (~> 1.6)
3436
useragent (~> 0.16)
35-
actiontext (8.0.2.1)
36-
actionpack (= 8.0.2.1)
37-
activerecord (= 8.0.2.1)
38-
activestorage (= 8.0.2.1)
39-
activesupport (= 8.0.2.1)
37+
actiontext (8.1.3.1)
38+
action_text-trix (~> 2.1.15)
39+
actionpack (= 8.1.3.1)
40+
activerecord (= 8.1.3.1)
41+
activestorage (= 8.1.3.1)
42+
activesupport (= 8.1.3.1)
4043
globalid (>= 0.6.0)
4144
nokogiri (>= 1.8.5)
42-
actionview (8.0.2.1)
43-
activesupport (= 8.0.2.1)
45+
actionview (8.1.3.1)
46+
activesupport (= 8.1.3.1)
4447
builder (~> 3.1)
4548
erubi (~> 1.11)
4649
rails-dom-testing (~> 2.2)
4750
rails-html-sanitizer (~> 1.6)
48-
activejob (8.0.2.1)
49-
activesupport (= 8.0.2.1)
51+
activejob (8.1.3.1)
52+
activesupport (= 8.1.3.1)
5053
globalid (>= 0.3.6)
51-
activemodel (8.0.2.1)
52-
activesupport (= 8.0.2.1)
53-
activerecord (8.0.2.1)
54-
activemodel (= 8.0.2.1)
55-
activesupport (= 8.0.2.1)
54+
activemodel (8.1.3.1)
55+
activesupport (= 8.1.3.1)
56+
activerecord (8.1.3.1)
57+
activemodel (= 8.1.3.1)
58+
activesupport (= 8.1.3.1)
5659
timeout (>= 0.4.0)
57-
activestorage (8.0.2.1)
58-
actionpack (= 8.0.2.1)
59-
activejob (= 8.0.2.1)
60-
activerecord (= 8.0.2.1)
61-
activesupport (= 8.0.2.1)
60+
activestorage (8.1.3.1)
61+
actionpack (= 8.1.3.1)
62+
activejob (= 8.1.3.1)
63+
activerecord (= 8.1.3.1)
64+
activesupport (= 8.1.3.1)
6265
marcel (~> 1.0)
63-
activesupport (8.0.2.1)
66+
activesupport (8.1.3.1)
6467
base64
65-
benchmark (>= 0.3)
6668
bigdecimal
6769
concurrent-ruby (~> 1.0, >= 1.3.1)
6870
connection_pool (>= 2.2.5)
6971
drb
7072
i18n (>= 1.6, < 2)
73+
json
7174
logger (>= 1.4.2)
7275
minitest (>= 5.1)
7376
securerandom (>= 0.3)
@@ -112,7 +115,6 @@ GEM
112115
nokogiri (~> 1, >= 1.10.8)
113116
base64 (0.3.0)
114117
bcrypt (3.1.22)
115-
benchmark (0.5.0)
116118
better_errors (2.10.1)
117119
erubi (>= 1.0.0)
118120
rack (>= 0.9.0)
@@ -547,20 +549,20 @@ GEM
547549
rack (>= 1.3)
548550
rackup (2.3.1)
549551
rack (>= 3)
550-
rails (8.0.2.1)
551-
actioncable (= 8.0.2.1)
552-
actionmailbox (= 8.0.2.1)
553-
actionmailer (= 8.0.2.1)
554-
actionpack (= 8.0.2.1)
555-
actiontext (= 8.0.2.1)
556-
actionview (= 8.0.2.1)
557-
activejob (= 8.0.2.1)
558-
activemodel (= 8.0.2.1)
559-
activerecord (= 8.0.2.1)
560-
activestorage (= 8.0.2.1)
561-
activesupport (= 8.0.2.1)
552+
rails (8.1.3.1)
553+
actioncable (= 8.1.3.1)
554+
actionmailbox (= 8.1.3.1)
555+
actionmailer (= 8.1.3.1)
556+
actionpack (= 8.1.3.1)
557+
actiontext (= 8.1.3.1)
558+
actionview (= 8.1.3.1)
559+
activejob (= 8.1.3.1)
560+
activemodel (= 8.1.3.1)
561+
activerecord (= 8.1.3.1)
562+
activestorage (= 8.1.3.1)
563+
activesupport (= 8.1.3.1)
562564
bundler (>= 1.15.0)
563-
railties (= 8.0.2.1)
565+
railties (= 8.1.3.1)
564566
rails-controller-testing (1.0.5)
565567
actionpack (>= 5.0.1.rc1)
566568
actionview (>= 5.0.1.rc1)
@@ -577,13 +579,14 @@ GEM
577579
rails-html-sanitizer (1.7.0)
578580
loofah (~> 2.25)
579581
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)
580-
railties (8.0.2.1)
581-
actionpack (= 8.0.2.1)
582-
activesupport (= 8.0.2.1)
582+
railties (8.1.3.1)
583+
actionpack (= 8.1.3.1)
584+
activesupport (= 8.1.3.1)
583585
irb (~> 1.13)
584586
rackup (>= 1.0.0)
585587
rake (>= 12.2)
586588
thor (~> 1.0, >= 1.2.2)
589+
tsort (>= 0.2)
587590
zeitwerk (~> 2.6)
588591
rainbow (3.1.1)
589592
rake (13.4.2)
@@ -838,7 +841,7 @@ DEPENDENCIES
838841
pry-remote
839842
puma
840843
rack-mini-profiler
841-
rails (~> 8.0.2)
844+
rails (~> 8.1.0)
842845
rails-controller-testing
843846
rails-erd
844847
recaptcha

‎spec/requests/distributions_requests_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@
665665
storage_location_id: location.id,
666666
'issued_at(1i)' => issued_at.to_date.year,
667667
'issued_at(2i)' => issued_at.to_date.month,
668-
'issued_at(3i)' => nil # day part of date missing
668+
'issued_at(3i)' => '' # day part of date missing
669669
}}
670670
end
671671

‎spec/requests/requests_requests_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
get requests_path(fulfilled_request)
197197

198198
page = Nokogiri::HTML(response.body)
199-
cancel_button = page.at_css('button') { |el| el.text.strip == 'Cancel' }
199+
cancel_button = page.at_css('button[data-disable-with="Please wait..."], input[value="Cancel"]')
200200

201201
expect(cancel_button).not_to be_present
202202
end

‎spec/services/calendar_service_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
["Newfoundland -03:30", "America/St_Johns"]]
9393

9494
result = described_class.time_zones
95-
expect(result.size).to eq(151)
95+
expect(result.size).to eq(152)
9696
expect(result[0..11]).to eq(expected)
9797
end
9898
end

0 commit comments

Comments
 (0)