Skip to content

Commit c653292

Browse files
committed
chore: upgrade to Rails 8
1 parent 42b9d5f commit c653292

File tree

4 files changed

+69
-69
lines changed

4 files changed

+69
-69
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source "https://rubygems.org"
33
ruby "3.4.4"
44

55
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
6-
gem "rails", "~> 7.2.1"
6+
gem "rails", "~> 8.0.2"
77

88
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
99
gem "sprockets-rails"
@@ -76,7 +76,7 @@ end
7676
# gem 'maglevcms', path: '/Users/did/Documents/NoCoffee/Maglev/maglev-mit', require: false
7777
# gem 'maglevcms-pro', path: '/Users/did/Documents/NoCoffee/Maglev/maglev-pro', require: 'maglev/pro'
7878
# gem "maglevcms-pro", git: "https://github.com/maglevhq/maglev-pro.git", branch: 'master', require: 'maglev/pro'
79-
# gem "ncuikit", path: "/Users/didier/Documents/NoCoffee/OSS/ncuikit"
79+
# gem "ncuikit", path: "/Users/did/Documents/NoCoffee/OSS/ncuikit"
8080

8181
# 🚨 PRODUCTION
8282
gem 'maglevcms', github: 'maglevhq/maglev-core', branch: 'master', require: false
@@ -90,7 +90,7 @@ source 'https://packages.nocoffee.fr/private' do
9090
# gem 'maglevcms-pro', '~> 0.5.0', require: 'maglev/pro'
9191

9292
# NoCoffee UIKit to build sleek and consistent UI
93-
gem 'ncuikit', '~> 0.2.1'
93+
gem 'ncuikit', '~> 0.3.2'
9494
end
9595

9696
gem "redcarpet", "~> 3.6"

Gemfile.lock

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/maglevhq/maglev-core.git
3-
revision: 568837917dd8e3d1c6430d4215d74b9587ffd449
3+
revision: 22b8e53f2ccecd7ad2326dfa5269fc31f7272e94
44
branch: master
55
specs:
66
maglevcms (2.0.0)
@@ -28,75 +28,74 @@ GIT
2828
GEM
2929
remote: https://packages.nocoffee.fr/private/
3030
specs:
31-
ncuikit (0.2.1)
31+
ncuikit (0.3.2)
3232
importmap-rails (~> 2.0, >= 2.0.1)
33-
rails (>= 7.1.3.2)
34-
stimulus-rails (~> 1.2)
35-
view_component (~> 3.12.1)
33+
rails (>= 8.0.0, < 9)
34+
stimulus-rails (~> 1.3)
35+
view_component (~> 3.20.0)
3636

3737
GEM
3838
remote: https://rubygems.org/
3939
specs:
40-
actioncable (7.2.2.1)
41-
actionpack (= 7.2.2.1)
42-
activesupport (= 7.2.2.1)
40+
actioncable (8.0.2)
41+
actionpack (= 8.0.2)
42+
activesupport (= 8.0.2)
4343
nio4r (~> 2.0)
4444
websocket-driver (>= 0.6.1)
4545
zeitwerk (~> 2.6)
46-
actionmailbox (7.2.2.1)
47-
actionpack (= 7.2.2.1)
48-
activejob (= 7.2.2.1)
49-
activerecord (= 7.2.2.1)
50-
activestorage (= 7.2.2.1)
51-
activesupport (= 7.2.2.1)
46+
actionmailbox (8.0.2)
47+
actionpack (= 8.0.2)
48+
activejob (= 8.0.2)
49+
activerecord (= 8.0.2)
50+
activestorage (= 8.0.2)
51+
activesupport (= 8.0.2)
5252
mail (>= 2.8.0)
53-
actionmailer (7.2.2.1)
54-
actionpack (= 7.2.2.1)
55-
actionview (= 7.2.2.1)
56-
activejob (= 7.2.2.1)
57-
activesupport (= 7.2.2.1)
53+
actionmailer (8.0.2)
54+
actionpack (= 8.0.2)
55+
actionview (= 8.0.2)
56+
activejob (= 8.0.2)
57+
activesupport (= 8.0.2)
5858
mail (>= 2.8.0)
5959
rails-dom-testing (~> 2.2)
60-
actionpack (7.2.2.1)
61-
actionview (= 7.2.2.1)
62-
activesupport (= 7.2.2.1)
60+
actionpack (8.0.2)
61+
actionview (= 8.0.2)
62+
activesupport (= 8.0.2)
6363
nokogiri (>= 1.8.5)
64-
racc
65-
rack (>= 2.2.4, < 3.2)
64+
rack (>= 2.2.4)
6665
rack-session (>= 1.0.1)
6766
rack-test (>= 0.6.3)
6867
rails-dom-testing (~> 2.2)
6968
rails-html-sanitizer (~> 1.6)
7069
useragent (~> 0.16)
71-
actiontext (7.2.2.1)
72-
actionpack (= 7.2.2.1)
73-
activerecord (= 7.2.2.1)
74-
activestorage (= 7.2.2.1)
75-
activesupport (= 7.2.2.1)
70+
actiontext (8.0.2)
71+
actionpack (= 8.0.2)
72+
activerecord (= 8.0.2)
73+
activestorage (= 8.0.2)
74+
activesupport (= 8.0.2)
7675
globalid (>= 0.6.0)
7776
nokogiri (>= 1.8.5)
78-
actionview (7.2.2.1)
79-
activesupport (= 7.2.2.1)
77+
actionview (8.0.2)
78+
activesupport (= 8.0.2)
8079
builder (~> 3.1)
8180
erubi (~> 1.11)
8281
rails-dom-testing (~> 2.2)
8382
rails-html-sanitizer (~> 1.6)
84-
activejob (7.2.2.1)
85-
activesupport (= 7.2.2.1)
83+
activejob (8.0.2)
84+
activesupport (= 8.0.2)
8685
globalid (>= 0.3.6)
87-
activemodel (7.2.2.1)
88-
activesupport (= 7.2.2.1)
89-
activerecord (7.2.2.1)
90-
activemodel (= 7.2.2.1)
91-
activesupport (= 7.2.2.1)
86+
activemodel (8.0.2)
87+
activesupport (= 8.0.2)
88+
activerecord (8.0.2)
89+
activemodel (= 8.0.2)
90+
activesupport (= 8.0.2)
9291
timeout (>= 0.4.0)
93-
activestorage (7.2.2.1)
94-
actionpack (= 7.2.2.1)
95-
activejob (= 7.2.2.1)
96-
activerecord (= 7.2.2.1)
97-
activesupport (= 7.2.2.1)
92+
activestorage (8.0.2)
93+
actionpack (= 8.0.2)
94+
activejob (= 8.0.2)
95+
activerecord (= 8.0.2)
96+
activesupport (= 8.0.2)
9897
marcel (~> 1.0)
99-
activesupport (7.2.2.1)
98+
activesupport (8.0.2)
10099
base64
101100
benchmark (>= 0.3)
102101
bigdecimal
@@ -108,6 +107,7 @@ GEM
108107
minitest (>= 5.1)
109108
securerandom (>= 0.3)
110109
tzinfo (~> 2.0, >= 2.0.5)
110+
uri (>= 0.13.1)
111111
addressable (2.8.7)
112112
public_suffix (>= 2.0.2, < 7.0)
113113
base64 (0.3.0)
@@ -278,30 +278,30 @@ GEM
278278
rack (>= 1.3)
279279
rackup (2.2.1)
280280
rack (>= 3)
281-
rails (7.2.2.1)
282-
actioncable (= 7.2.2.1)
283-
actionmailbox (= 7.2.2.1)
284-
actionmailer (= 7.2.2.1)
285-
actionpack (= 7.2.2.1)
286-
actiontext (= 7.2.2.1)
287-
actionview (= 7.2.2.1)
288-
activejob (= 7.2.2.1)
289-
activemodel (= 7.2.2.1)
290-
activerecord (= 7.2.2.1)
291-
activestorage (= 7.2.2.1)
292-
activesupport (= 7.2.2.1)
281+
rails (8.0.2)
282+
actioncable (= 8.0.2)
283+
actionmailbox (= 8.0.2)
284+
actionmailer (= 8.0.2)
285+
actionpack (= 8.0.2)
286+
actiontext (= 8.0.2)
287+
actionview (= 8.0.2)
288+
activejob (= 8.0.2)
289+
activemodel (= 8.0.2)
290+
activerecord (= 8.0.2)
291+
activestorage (= 8.0.2)
292+
activesupport (= 8.0.2)
293293
bundler (>= 1.15.0)
294-
railties (= 7.2.2.1)
294+
railties (= 8.0.2)
295295
rails-dom-testing (2.3.0)
296296
activesupport (>= 5.0.0)
297297
minitest
298298
nokogiri (>= 1.6)
299299
rails-html-sanitizer (1.6.2)
300300
loofah (~> 2.21)
301301
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)
302-
railties (7.2.2.1)
303-
actionpack (= 7.2.2.1)
304-
activesupport (= 7.2.2.1)
302+
railties (8.0.2)
303+
actionpack (= 8.0.2)
304+
activesupport (= 8.0.2)
305305
irb (~> 1.13)
306306
rackup (>= 1.0.0)
307307
rake (>= 12.2)
@@ -366,8 +366,8 @@ GEM
366366
concurrent-ruby (~> 1.0)
367367
uri (1.0.3)
368368
useragent (0.16.11)
369-
view_component (3.12.1)
370-
activesupport (>= 5.2.0, < 8.0)
369+
view_component (3.20.0)
370+
activesupport (>= 5.2.0, < 8.1)
371371
concurrent-ruby (~> 1.0)
372372
method_source (~> 1.0)
373373
vite_rails (3.0.19)
@@ -418,10 +418,10 @@ DEPENDENCIES
418418
kamal (= 1.9.3)
419419
maglevcms!
420420
maglevcms-pro!
421-
ncuikit (~> 0.2.1)!
421+
ncuikit (~> 0.3.2)!
422422
pg (~> 1.1)
423423
puma (>= 5.0)
424-
rails (~> 7.2.1)
424+
rails (~> 8.0.2)
425425
redcarpet (~> 3.6)
426426
redis (>= 4.0.1)
427427
selenium-webdriver

app/views/sites/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<%= render_ncuikit_button :primary_link, label: 'Create site', url: new_site_path, icon: 'ri-add-line' %>
1010
<% end %>
1111
<% else %>
12-
<%= render_ncuikit :grid_list do %>
12+
<%= render_ncuikit_list :grid_list do %>
1313
<%= render @sites %>
1414
<% end %>
1515
<% end %>

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
module SiteBuilderDemo
1010
class Application < Rails::Application
1111
# Initialize configuration defaults for originally generated Rails version.
12-
config.load_defaults 7.1
12+
config.load_defaults 8.0
1313

1414
# Please, add to the `ignore` list any other `lib` subdirectories that do
1515
# not contain `.rb` files, or that should not be reloaded or eager loaded.

0 commit comments

Comments
 (0)