Skip to content

Commit 5c29d4a

Browse files
Copilotjonrohan
andauthored
Update to Rails 7.2 (#3625)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com> Co-authored-by: Jon Rohan <rohan@github.com> Co-authored-by: Jon Rohan <yes@jonrohan.codes>
1 parent e52b1d7 commit 5c29d4a

6 files changed

Lines changed: 49 additions & 42 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
fail-fast: false
5353
matrix:
5454
include:
55-
- rails_version: "7.1.3"
55+
- rails_version: "7.2.2.1"
5656
ruby_version: "3.2"
57-
- rails_version: "7.1.3"
57+
- rails_version: "7.2.2.1"
5858
ruby_version: "3.3"
5959
- rails_version: "main"
6060
ruby_version: "3.3"
@@ -94,9 +94,9 @@ jobs:
9494
fail-fast: false
9595
matrix:
9696
include:
97-
- rails_version: "7.1.3"
97+
- rails_version: "7.2.2.1"
9898
ruby_version: "3.2"
99-
- rails_version: "7.1.3"
99+
- rails_version: "7.2.2.1"
100100
ruby_version: "3.3"
101101
- rails_version: "main"
102102
ruby_version: "3.3"
@@ -136,9 +136,9 @@ jobs:
136136
fail-fast: false
137137
matrix:
138138
include:
139-
- rails_version: "7.1.3"
139+
- rails_version: "7.2.2.1"
140140
ruby_version: "3.2"
141-
- rails_version: "7.1.3"
141+
- rails_version: "7.2.2.1"
142142
ruby_version: "3.3"
143143
- rails_version: "main"
144144
ruby_version: "3.3"

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PATH
22
remote: .
33
specs:
44
primer_view_components (0.43.6)
5-
actionview (>= 7.1.0)
6-
activesupport (>= 7.1.0)
5+
actionview (>= 7.2.0)
6+
activesupport (>= 7.2.0)
77
octicons (>= 18.0.0)
88
view_component (>= 3.1, < 5.0)
99

demo/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
rails_version = (ENV["RAILS_VERSION"] || "7.1.3.2").to_s
5+
rails_version = (ENV["RAILS_VERSION"] || "7.2.2.1").to_s
66

77
gem "rake", "~> 13.3"
88
gem "rack-cors"

demo/Gemfile.lock

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,57 @@ PATH
22
remote: ..
33
specs:
44
primer_view_components (0.43.6)
5-
actionview (>= 7.1.0)
6-
activesupport (>= 7.1.0)
5+
actionview (>= 7.2.0)
6+
activesupport (>= 7.2.0)
77
octicons (>= 18.0.0)
88
view_component (>= 3.1, < 5.0)
99

1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
actioncable (7.1.3.2)
14-
actionpack (= 7.1.3.2)
15-
activesupport (= 7.1.3.2)
13+
actioncable (7.2.2.1)
14+
actionpack (= 7.2.2.1)
15+
activesupport (= 7.2.2.1)
1616
nio4r (~> 2.0)
1717
websocket-driver (>= 0.6.1)
1818
zeitwerk (~> 2.6)
19-
actionpack (7.1.3.2)
20-
actionview (= 7.1.3.2)
21-
activesupport (= 7.1.3.2)
19+
actionpack (7.2.2.1)
20+
actionview (= 7.2.2.1)
21+
activesupport (= 7.2.2.1)
2222
nokogiri (>= 1.8.5)
2323
racc
24-
rack (>= 2.2.4)
24+
rack (>= 2.2.4, < 3.2)
2525
rack-session (>= 1.0.1)
2626
rack-test (>= 0.6.3)
2727
rails-dom-testing (~> 2.2)
2828
rails-html-sanitizer (~> 1.6)
29-
actionview (7.1.3.2)
30-
activesupport (= 7.1.3.2)
29+
useragent (~> 0.16)
30+
actionview (7.2.2.1)
31+
activesupport (= 7.2.2.1)
3132
builder (~> 3.1)
3233
erubi (~> 1.11)
3334
rails-dom-testing (~> 2.2)
3435
rails-html-sanitizer (~> 1.6)
35-
activemodel (7.1.3.2)
36-
activesupport (= 7.1.3.2)
37-
activesupport (7.1.3.2)
36+
activemodel (7.2.2.1)
37+
activesupport (= 7.2.2.1)
38+
activesupport (7.2.2.1)
3839
base64
40+
benchmark (>= 0.3)
3941
bigdecimal
40-
concurrent-ruby (~> 1.0, >= 1.0.2)
42+
concurrent-ruby (~> 1.0, >= 1.3.1)
4143
connection_pool (>= 2.2.5)
4244
drb
4345
i18n (>= 1.6, < 2)
46+
logger (>= 1.4.2)
4447
minitest (>= 5.1)
45-
mutex_m
46-
tzinfo (~> 2.0)
48+
securerandom (>= 0.3)
49+
tzinfo (~> 2.0, >= 2.0.5)
4750
addressable (2.8.7)
4851
public_suffix (>= 2.0.2, < 7.0)
4952
azure_mgmt_container_service (0.22.0)
5053
ms_rest_azure (~> 0.12.0)
5154
base64 (0.3.0)
55+
benchmark (0.4.1)
5256
bigdecimal (3.2.2)
5357
bootsnap (1.18.6)
5458
msgpack (~> 1.2)
@@ -70,7 +74,7 @@ GEM
7074
dry-cli (1.2.0)
7175
dry-inflector (0.3.0)
7276
ejson (1.5.3)
73-
erb (5.0.1)
77+
erb (5.0.2)
7478
erubi (1.13.1)
7579
faraday (1.10.4)
7680
faraday-em_http (~> 1.0)
@@ -142,7 +146,7 @@ GEM
142146
http-form_data (2.3.0)
143147
i18n (1.14.7)
144148
concurrent-ruby (~> 1.0)
145-
io-console (0.8.0)
149+
io-console (0.8.1)
146150
irb (1.15.2)
147151
pp (>= 0.6.0)
148152
rdoc (>= 4.0.0)
@@ -241,7 +245,6 @@ GEM
241245
msgpack (1.8.0)
242246
multi_json (1.15.0)
243247
multipart-post (2.4.1)
244-
mutex_m (0.3.0)
245248
netrc (0.11.0)
246249
nio4r (2.7.4)
247250
nokogiri (1.18.9-arm64-darwin)
@@ -292,10 +295,10 @@ GEM
292295
rails-html-sanitizer (1.6.2)
293296
loofah (~> 2.21)
294297
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)
295-
railties (7.1.3.2)
296-
actionpack (= 7.1.3.2)
297-
activesupport (= 7.1.3.2)
298-
irb
298+
railties (7.2.2.1)
299+
actionpack (= 7.2.2.1)
300+
activesupport (= 7.2.2.1)
301+
irb (~> 1.13)
299302
rackup (>= 1.0.0)
300303
rake (>= 12.2)
301304
thor (~> 1.0, >= 1.2.2)
@@ -304,13 +307,13 @@ GEM
304307
rb-fsevent (0.11.2)
305308
rb-inotify (0.11.1)
306309
ffi (~> 1.0)
307-
rdoc (6.14.0)
310+
rdoc (6.14.2)
308311
erb
309312
psych (>= 4.0.0)
310313
recursive-open-struct (1.3.1)
311314
ostruct
312315
redcarpet (3.6.1)
313-
reline (0.6.1)
316+
reline (0.6.2)
314317
io-console (~> 0.5)
315318
rest-client (2.1.0)
316319
http-accept (>= 1.7.0, < 2.0)
@@ -319,6 +322,7 @@ GEM
319322
netrc (~> 0.8)
320323
rouge (3.30.0)
321324
ruby2_keywords (0.0.5)
325+
securerandom (0.4.1)
322326
signet (0.19.0)
323327
addressable (~> 2.8)
324328
faraday (>= 0.17.5, < 3.a)
@@ -347,6 +351,7 @@ GEM
347351
railties (>= 7.1.0)
348352
tzinfo (2.0.6)
349353
concurrent-ruby (~> 1.0)
354+
useragent (0.16.11)
350355
view_component (4.0.0.rc5)
351356
activesupport (>= 7.1.0, < 8.1)
352357
concurrent-ruby (~> 1)
@@ -376,10 +381,10 @@ PLATFORMS
376381
x86_64-linux
377382

378383
DEPENDENCIES
379-
actioncable (= 7.1.3.2)
380-
actionview (= 7.1.3.2)
381-
activemodel (= 7.1.3.2)
382-
activesupport (= 7.1.3.2)
384+
actioncable (= 7.2.2.1)
385+
actionview (= 7.2.2.1)
386+
activemodel (= 7.2.2.1)
387+
activesupport (= 7.2.2.1)
383388
bootsnap (>= 1.4.2)
384389
cssbundling-rails (~> 1.4)
385390
foreman
@@ -394,7 +399,7 @@ DEPENDENCIES
394399
pry-byebug
395400
puma (~> 6.6.0)
396401
rack-cors
397-
railties (= 7.1.3.2)
402+
railties (= 7.2.2.1)
398403
rake (~> 13.3)
399404
spring (~> 4.2)
400405
spring-watcher-listen (~> 2.1)

demo/config/application.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class Application < Rails::Application
2323
config.load_defaults 8.1
2424
elsif Rails.version.to_f >= 8.0
2525
config.load_defaults 8.0
26+
elsif Rails.version.to_f >= 7.2
27+
config.load_defaults 7.2
2628
elsif Rails.version.to_f >= 7.1
2729
config.load_defaults 7.1
2830
end

primer_view_components.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
2020
spec.files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md", "lib/**/*", "app/**/*", "static/**/*", "previews/**/*", "config/**/*"] - Dir["lib/**/*.rake"]
2121
spec.require_paths = ["lib"]
2222

23-
spec.add_runtime_dependency "actionview", ">= 7.1.0"
24-
spec.add_runtime_dependency "activesupport", ">= 7.1.0"
23+
spec.add_runtime_dependency "actionview", ">= 7.2.0"
24+
spec.add_runtime_dependency "activesupport", ">= 7.2.0"
2525
spec.add_runtime_dependency "octicons", ">= 18.0.0"
2626
spec.add_runtime_dependency "view_component", [">= 3.1", "< 5.0"]
2727
end

0 commit comments

Comments
 (0)