Skip to content

Commit 75cca30

Browse files
committed
Update default Rails version to 8.0.3
1 parent 46a564b commit 75cca30

File tree

3 files changed

+72
-70
lines changed

3 files changed

+72
-70
lines changed

.github/workflows/rubyonrails.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
rails: '7.2.2.2'
1515
allowed_failure: false # ✅ required
1616
- ruby: '3.4.4'
17-
rails: '8.0.2'
17+
rails: '8.0.3'
1818
allowed_failure: false # ✅ required
1919

2020
env:
@@ -52,15 +52,15 @@ jobs:
5252
# Run the automatic bundle-install only on 7.2.
5353
# For 7.2 / 8.0 it just sets up Ruby *and* restores a cache layer
5454
# that we’ll reuse in the later manual install.
55-
bundler-cache: ${{ matrix.rails == '7.2.2.2' }}
55+
bundler-cache: ${{ matrix.rails == '8.0.3' }}
5656

5757
# One cache bucket per Rails version so they don’t clobber each other.
5858
cache-version: rails-${{ matrix.rails }}
5959

6060
# Updating Rails can legitimately blow up on the experimental tracks,
6161
# so we allow that *step* to error out without failing the job.
6262
- name: Update Rails & install gems
63-
if: matrix.rails != '7.2.2.2'
63+
if: matrix.rails != '8.0.3'
6464
id: update
6565
run: |
6666
# turn off deployment mode
@@ -72,21 +72,21 @@ jobs:
7272
continue-on-error: ${{ matrix.allowed_failure }}
7373

7474
- name: Prepare DB schema
75-
if: (matrix.rails == '7.2.2.2') || steps.update.outcome == 'success'
75+
if: (matrix.rails == '8.0.3') || steps.update.outcome == 'success'
7676
run: |
7777
rm -f spec/dummy/tmp/pids/server.pid
7878
bundle exec rake -f spec/dummy/Rakefile db:schema:load
7979
continue-on-error: ${{ matrix.allowed_failure }}
8080

8181
- name: Wait for Elasticsearch
82-
if: (matrix.rails == '7.2.2.2') || steps.update.outcome == 'success'
82+
if: (matrix.rails == '8.0.3') || steps.update.outcome == 'success'
8383
run: |
8484
echo "Waiting for Elasticsearch to be healthy..."
8585
curl -s "http://localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" || (echo "Elasticsearch not healthy" && exit 1)
8686
8787
8888
- name: Run RSpec
89-
if: (matrix.rails == '7.2.2.2') || steps.update.outcome == 'success'
89+
if: (matrix.rails == '8.0.3') || steps.update.outcome == 'success'
9090
env:
9191
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
9292
run: |

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gem 'pundit-resources', '~> 1.1.4', github: 'better-together-org/pundit-resource
2727

2828
# Core Rails gem
2929
gem 'rack-protection'
30-
gem 'rails', ENV.fetch('RAILS_VERSION', '7.2.2.2')
30+
gem 'rails', ENV.fetch('RAILS_VERSION', '8.0.3')
3131

3232
# Redis for ActionCable and background jobs
3333
gem 'redis', '~> 5.4'

Gemfile.lock

Lines changed: 65 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -69,46 +69,45 @@ PATH
6969
GEM
7070
remote: https://rubygems.org/
7171
specs:
72-
actioncable (7.2.2.2)
73-
actionpack (= 7.2.2.2)
74-
activesupport (= 7.2.2.2)
72+
actioncable (8.0.3)
73+
actionpack (= 8.0.3)
74+
activesupport (= 8.0.3)
7575
nio4r (~> 2.0)
7676
websocket-driver (>= 0.6.1)
7777
zeitwerk (~> 2.6)
78-
actionmailbox (7.2.2.2)
79-
actionpack (= 7.2.2.2)
80-
activejob (= 7.2.2.2)
81-
activerecord (= 7.2.2.2)
82-
activestorage (= 7.2.2.2)
83-
activesupport (= 7.2.2.2)
78+
actionmailbox (8.0.3)
79+
actionpack (= 8.0.3)
80+
activejob (= 8.0.3)
81+
activerecord (= 8.0.3)
82+
activestorage (= 8.0.3)
83+
activesupport (= 8.0.3)
8484
mail (>= 2.8.0)
85-
actionmailer (7.2.2.2)
86-
actionpack (= 7.2.2.2)
87-
actionview (= 7.2.2.2)
88-
activejob (= 7.2.2.2)
89-
activesupport (= 7.2.2.2)
85+
actionmailer (8.0.3)
86+
actionpack (= 8.0.3)
87+
actionview (= 8.0.3)
88+
activejob (= 8.0.3)
89+
activesupport (= 8.0.3)
9090
mail (>= 2.8.0)
9191
rails-dom-testing (~> 2.2)
92-
actionpack (7.2.2.2)
93-
actionview (= 7.2.2.2)
94-
activesupport (= 7.2.2.2)
92+
actionpack (8.0.3)
93+
actionview (= 8.0.3)
94+
activesupport (= 8.0.3)
9595
nokogiri (>= 1.8.5)
96-
racc
97-
rack (>= 2.2.4, < 3.2)
96+
rack (>= 2.2.4)
9897
rack-session (>= 1.0.1)
9998
rack-test (>= 0.6.3)
10099
rails-dom-testing (~> 2.2)
101100
rails-html-sanitizer (~> 1.6)
102101
useragent (~> 0.16)
103-
actiontext (7.2.2.2)
104-
actionpack (= 7.2.2.2)
105-
activerecord (= 7.2.2.2)
106-
activestorage (= 7.2.2.2)
107-
activesupport (= 7.2.2.2)
102+
actiontext (8.0.3)
103+
actionpack (= 8.0.3)
104+
activerecord (= 8.0.3)
105+
activestorage (= 8.0.3)
106+
activesupport (= 8.0.3)
108107
globalid (>= 0.6.0)
109108
nokogiri (>= 1.8.5)
110-
actionview (7.2.2.2)
111-
activesupport (= 7.2.2.2)
109+
actionview (8.0.3)
110+
activesupport (= 8.0.3)
112111
builder (~> 3.1)
113112
erubi (~> 1.11)
114113
rails-dom-testing (~> 2.2)
@@ -121,27 +120,27 @@ GEM
121120
activestorage (>= 6.1.4)
122121
activesupport (>= 6.1.4)
123122
marcel (>= 1.0.3)
124-
activejob (7.2.2.2)
125-
activesupport (= 7.2.2.2)
123+
activejob (8.0.3)
124+
activesupport (= 8.0.3)
126125
globalid (>= 0.3.6)
127-
activemodel (7.2.2.2)
128-
activesupport (= 7.2.2.2)
129-
activerecord (7.2.2.2)
130-
activemodel (= 7.2.2.2)
131-
activesupport (= 7.2.2.2)
126+
activemodel (8.0.3)
127+
activesupport (= 8.0.3)
128+
activerecord (8.0.3)
129+
activemodel (= 8.0.3)
130+
activesupport (= 8.0.3)
132131
timeout (>= 0.4.0)
133132
activerecord-import (2.2.0)
134133
activerecord (>= 4.2)
135-
activerecord-postgis-adapter (10.0.1)
136-
activerecord (~> 7.2.0)
134+
activerecord-postgis-adapter (11.0.0)
135+
activerecord (~> 8.0.0)
137136
rgeo-activerecord (~> 8.0.0)
138-
activestorage (7.2.2.2)
139-
actionpack (= 7.2.2.2)
140-
activejob (= 7.2.2.2)
141-
activerecord (= 7.2.2.2)
142-
activesupport (= 7.2.2.2)
137+
activestorage (8.0.3)
138+
actionpack (= 8.0.3)
139+
activejob (= 8.0.3)
140+
activerecord (= 8.0.3)
141+
activesupport (= 8.0.3)
143142
marcel (~> 1.0)
144-
activesupport (7.2.2.2)
143+
activesupport (8.0.3)
145144
base64
146145
benchmark (>= 0.3)
147146
bigdecimal
@@ -153,6 +152,7 @@ GEM
153152
minitest (>= 5.1)
154153
securerandom (>= 0.3)
155154
tzinfo (~> 2.0, >= 2.0.5)
155+
uri (>= 0.13.1)
156156
addressable (2.8.7)
157157
public_suffix (>= 2.0.2, < 7.0)
158158
asset_sync (2.19.2)
@@ -358,7 +358,7 @@ GEM
358358
geocoder (1.8.6)
359359
base64 (>= 0.1.0)
360360
csv (>= 3.0.0)
361-
globalid (1.2.1)
361+
globalid (1.3.0)
362362
activesupport (>= 6.1)
363363
google-protobuf (4.30.2-aarch64-linux)
364364
bigdecimal
@@ -451,7 +451,7 @@ GEM
451451
net-imap
452452
net-pop
453453
net-smtp
454-
marcel (1.0.4)
454+
marcel (1.1.0)
455455
matrix (0.4.2)
456456
memory_profiler (1.1.0)
457457
method_source (1.1.0)
@@ -533,7 +533,7 @@ GEM
533533
activesupport (>= 3.0.0)
534534
raabro (1.4.0)
535535
racc (1.8.1)
536-
rack (3.1.16)
536+
rack (3.2.1)
537537
rack-attack (6.7.0)
538538
rack (>= 1.0, < 4)
539539
rack-cors (3.0.0)
@@ -552,20 +552,20 @@ GEM
552552
rack (>= 1.3)
553553
rackup (2.2.1)
554554
rack (>= 3)
555-
rails (7.2.2.2)
556-
actioncable (= 7.2.2.2)
557-
actionmailbox (= 7.2.2.2)
558-
actionmailer (= 7.2.2.2)
559-
actionpack (= 7.2.2.2)
560-
actiontext (= 7.2.2.2)
561-
actionview (= 7.2.2.2)
562-
activejob (= 7.2.2.2)
563-
activemodel (= 7.2.2.2)
564-
activerecord (= 7.2.2.2)
565-
activestorage (= 7.2.2.2)
566-
activesupport (= 7.2.2.2)
555+
rails (8.0.3)
556+
actioncable (= 8.0.3)
557+
actionmailbox (= 8.0.3)
558+
actionmailer (= 8.0.3)
559+
actionpack (= 8.0.3)
560+
actiontext (= 8.0.3)
561+
actionview (= 8.0.3)
562+
activejob (= 8.0.3)
563+
activemodel (= 8.0.3)
564+
activerecord (= 8.0.3)
565+
activestorage (= 8.0.3)
566+
activesupport (= 8.0.3)
567567
bundler (>= 1.15.0)
568-
railties (= 7.2.2.2)
568+
railties (= 8.0.3)
569569
rails-controller-testing (1.0.5)
570570
actionpack (>= 5.0.1.rc1)
571571
actionview (>= 5.0.1.rc1)
@@ -577,16 +577,17 @@ GEM
577577
rails-html-sanitizer (1.6.2)
578578
loofah (~> 2.21)
579579
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-
rails-i18n (7.0.10)
580+
rails-i18n (8.0.2)
581581
i18n (>= 0.7, < 2)
582-
railties (>= 6.0.0, < 8)
583-
railties (7.2.2.2)
584-
actionpack (= 7.2.2.2)
585-
activesupport (= 7.2.2.2)
582+
railties (>= 8.0.0, < 9)
583+
railties (8.0.3)
584+
actionpack (= 8.0.3)
585+
activesupport (= 8.0.3)
586586
irb (~> 1.13)
587587
rackup (>= 1.0.0)
588588
rake (>= 12.2)
589589
thor (~> 1.0, >= 1.2.2)
590+
tsort (>= 0.2)
590591
zeitwerk (~> 2.6)
591592
rainbow (3.1.1)
592593
rake (13.3.0)
@@ -787,6 +788,7 @@ GEM
787788
trailblazer-option (0.1.2)
788789
translate_enum (0.2.0)
789790
activesupport
791+
tsort (0.2.0)
790792
turbo-rails (2.0.16)
791793
actionpack (>= 7.1.0)
792794
railties (>= 7.1.0)
@@ -865,7 +867,7 @@ DEPENDENCIES
865867
pundit-resources (~> 1.1.4)!
866868
rack-mini-profiler
867869
rack-protection
868-
rails (= 7.2.2.2)
870+
rails (= 8.0.3)
869871
rails-controller-testing
870872
rb-readline
871873
rbtrace

0 commit comments

Comments
 (0)