Skip to content

Commit e675eb8

Browse files
committed
Cleanup
1 parent b2172ba commit e675eb8

File tree

15 files changed

+165
-264
lines changed

15 files changed

+165
-264
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN apt-get update -qq && \
3434
rm -rf /var/lib/apt/lists /var/cache/apt/archives
3535

3636
# Install JavaScript dependencies
37-
ARG NODE_VERSION=22.13.1
37+
ARG NODE_VERSION=22.18.0
3838
ENV PATH=/usr/local/node/bin:$PATH
3939
RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && \
4040
/tmp/node-build-master/bin/node-build "${NODE_VERSION}" /usr/local/node && \

Dockerfile-ssr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update -qq && \
2020
rm -rf /var/lib/apt/lists /var/cache/apt/archives
2121

2222
# Install JavaScript dependencies
23-
ARG NODE_VERSION=22.13.1
23+
ARG NODE_VERSION=22.18.0
2424
ENV PATH=/usr/local/node/bin:$PATH
2525
RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && \
2626
/tmp/node-build-master/bin/node-build "${NODE_VERSION}" /usr/local/node && \

Gemfile.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ GEM
112112
ed25519 (1.4.0)
113113
erb (5.0.2)
114114
erubi (1.13.1)
115-
et-orbi (1.2.11)
115+
et-orbi (1.3.0)
116116
tzinfo
117117
factory_bot (6.5.4)
118118
activesupport (>= 6.1.0)
@@ -133,9 +133,9 @@ GEM
133133
pp (>= 0.6.0)
134134
rdoc (>= 4.0.0)
135135
reline (>= 0.4.2)
136-
jbuilder (2.13.0)
137-
actionview (>= 5.0.0)
138-
activesupport (>= 5.0.0)
136+
jbuilder (2.14.0)
137+
actionview (>= 7.0.0)
138+
activesupport (>= 7.0.0)
139139
js-routes (2.3.5)
140140
railties (>= 5)
141141
sorbet-runtime
@@ -268,7 +268,7 @@ GEM
268268
rdoc (6.14.2)
269269
erb
270270
psych (>= 4.0.0)
271-
regexp_parser (2.10.0)
271+
regexp_parser (2.11.1)
272272
reline (0.6.2)
273273
io-console (~> 0.5)
274274
rexml (3.4.1)
@@ -289,7 +289,7 @@ GEM
289289
rspec-mocks (~> 3.13)
290290
rspec-support (~> 3.13)
291291
rspec-support (3.13.4)
292-
rubocop (1.79.1)
292+
rubocop (1.79.2)
293293
json (~> 2.3)
294294
language_server-protocol (~> 3.17.0.2)
295295
lint_roller (~> 1.1.0)
@@ -342,7 +342,7 @@ GEM
342342
fugit (~> 1.11.0)
343343
railties (>= 7.1)
344344
thor (>= 1.3.1)
345-
sorbet-runtime (0.5.12368)
345+
sorbet-runtime (0.5.12383)
346346
sqlite3 (2.7.3-aarch64-linux-gnu)
347347
sqlite3 (2.7.3-aarch64-linux-musl)
348348
sqlite3 (2.7.3-arm-linux-gnu)
@@ -359,10 +359,10 @@ GEM
359359
ostruct
360360
stringio (3.1.7)
361361
thor (1.4.0)
362-
thruster (0.1.14)
363-
thruster (0.1.14-aarch64-linux)
364-
thruster (0.1.14-arm64-darwin)
365-
thruster (0.1.14-x86_64-linux)
362+
thruster (0.1.15)
363+
thruster (0.1.15-aarch64-linux)
364+
thruster (0.1.15-arm64-darwin)
365+
thruster (0.1.15-x86_64-linux)
366366
timeout (0.4.3)
367367
tzinfo (2.0.6)
368368
concurrent-ruby (~> 1.0)

app/controllers/application_controller.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ class ApplicationController < ActionController::Base
44
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
55
allow_browser versions: :modern
66

7-
inertia_share flash: -> { flash.to_hash }
8-
97
before_action :set_current_request_details
108
before_action :authenticate
119

app/controllers/identity/email_verifications_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def create
2020
def set_user
2121
@user = User.find_by_token_for!(:email_verification, params[:sid])
2222
rescue StandardError
23-
redirect_to edit_identity_email_path, alert: "That email verification link is invalid"
23+
redirect_to settings_email_path, alert: "That email verification link is invalid"
2424
end
2525

2626
def send_email_verification

app/controllers/identity/emails_controller.rb

Lines changed: 0 additions & 39 deletions
This file was deleted.

app/controllers/inertia_rails/static_controller.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/controllers/sessions_controller.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ class SessionsController < InertiaController
55
before_action :require_no_authentication, only: %i[ new create ]
66
before_action :set_session, only: :destroy
77

8-
def index
9-
@sessions = Current.user.sessions.order(created_at: :desc)
10-
end
11-
128
def new
139
end
1410

app/controllers/users_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def destroy
2929
Current.session = nil
3030
redirect_to root_path, notice: "Your account has been deleted", inertia: {clear_history: true}
3131
else
32-
redirect_to settings_profile_path, inertia: {errors: {password_challenge: ["Password challenge is invalid"]}}
32+
redirect_to settings_profile_path, inertia: {errors: {password_challenge: "Password challenge is invalid"}}
3333
end
3434
end
3535

app/frontend/components/AppHeader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ const mainNavItems: NavItem[] = [
6868
const rightNavItems: NavItem[] = [
6969
{
7070
title: "Repository",
71-
href: "https://github.com/laravel/vue-starter-kit",
71+
href: "https://github.com/inertia-rails/vue-starter-kit",
7272
icon: Folder,
7373
},
7474
{
7575
title: "Documentation",
76-
href: "https://laravel.com/docs/starter-kits#vue",
76+
href: "https://inertia-rails.dev",
7777
icon: BookOpen,
7878
},
7979
]

0 commit comments

Comments
 (0)