From e6c1ba40e32baa535093e101fc268a434e2ecb60 Mon Sep 17 00:00:00 2001 From: dadachi Date: Fri, 3 Apr 2026 08:27:33 +0900 Subject: [PATCH 1/2] update ruby 4.0.2, madmin gem source, and gem version constraints - Bump Ruby from 4.0.1 to 4.0.2 - Switch madmin from GitHub source to rubygems ~> 2.0 - Update gem version constraints (jbuilder, devise_token_auth, after_commit_everywhere, inline_svg) - Fix CLAUDE.md: Ruby 4.0.2 Co-Authored-By: Claude Opus 4.6 (1M context) --- .ruby-version | 2 +- CLAUDE.md | 2 +- Gemfile | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.ruby-version b/.ruby-version index 1454f6e..4d54dad 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -4.0.1 +4.0.2 diff --git a/CLAUDE.md b/CLAUDE.md index 121bfac..21213b2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project Overview -This is a Rails 8.1 API application that serves as the backend for NativeAppTemplate iOS/Android mobile applications. It's a multi-tenant SaaS application with token-based authentication, role-based authorization, and RESTful API endpoints. Ruby 4.0.1, PostgreSQL, Solid Queue/Cable/Cache. +This is a Rails 8.1 API application that serves as the backend for NativeAppTemplate iOS/Android mobile applications. It's a multi-tenant SaaS application with token-based authentication, role-based authorization, and RESTful API endpoints. Ruby 4.0.2, PostgreSQL, Solid Queue/Cable/Cache. ## Development Commands diff --git a/Gemfile b/Gemfile index 67ecc6e..3abaad7 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,7 @@ gem "turbo-rails", "~> 2.0.3" gem "stimulus-rails", "~> 1.0", ">= 1.0.2" # Build JSON APIs with ease [https://github.com/rails/jbuilder] -gem "jbuilder", "~> 2.12" +gem "jbuilder", "~> 2.14" # Solid adapters for queue, cache, and cable (database-backed, no Redis needed) gem "solid_queue" @@ -41,19 +41,19 @@ gem "image_processing", "~> 1.12" # Security update gem "nokogiri", ">= 1.12.5" -gem "devise_token_auth", "~> 1.2", ">= 1.2.2" +gem "devise_token_auth", "~> 1.2", ">= 1.2.6" gem "jsonapi-serializer" gem "pundit" gem "aasm" # https://github.com/aasm/aasm -gem "after_commit_everywhere", "~> 1.4" +gem "after_commit_everywhere", "~> 1.6" gem "config" gem "acts_as_tenant" -gem "inline_svg", "~> 1.6" +gem "inline_svg", "~> 1.10" gem "pagy", "~> 43" gem "seed-fu", "~> 2.3" gem "whenever", require: false -gem "madmin", github: "excid3/madmin" +gem "madmin", "~> 2.0" gem "valid_email2" gem "importmap-rails" gem "tailwindcss-rails", "~> 3.0" From 10e0061f529baf935f08afbb86a587f5a99704a9 Mon Sep 17 00:00:00 2001 From: dadachi Date: Fri, 3 Apr 2026 08:30:00 +0900 Subject: [PATCH 2/2] update Gemfile.lock for ruby 4.0.2 and gem changes Co-Authored-By: Claude Opus 4.6 (1M context) --- Gemfile.lock | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c466afe..0537584 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,15 +1,3 @@ -GIT - remote: https://github.com/excid3/madmin.git - revision: ddfac1771a476183965fcb675e502fd9fbbed752 - specs: - madmin (2.3.2) - importmap-rails - pagy (>= 3.5) - propshaft - rails (>= 7.0.0) - stimulus-rails - turbo-rails - GEM remote: https://rubygems.org/ specs: @@ -215,6 +203,13 @@ GEM loofah (2.25.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) + madmin (2.3.2) + importmap-rails + pagy (>= 3.5) + propshaft + rails (>= 7.0.0) + stimulus-rails + turbo-rails mail (2.9.0) logger mini_mime (>= 0.1.1) @@ -487,7 +482,7 @@ PLATFORMS DEPENDENCIES aasm acts_as_tenant - after_commit_everywhere (~> 1.4) + after_commit_everywhere (~> 1.6) bootsnap (>= 1.4.2) brakeman bundler-audit @@ -495,14 +490,14 @@ DEPENDENCIES config csv (~> 3.3) debug - devise_token_auth (~> 1.2, >= 1.2.2) + devise_token_auth (~> 1.2, >= 1.2.6) erb_lint image_processing (~> 1.12) importmap-rails - inline_svg (~> 1.6) - jbuilder (~> 2.12) + inline_svg (~> 1.10) + jbuilder (~> 2.14) jsonapi-serializer - madmin! + madmin (~> 2.0) mailbin minitest-mock mission_control-jobs @@ -532,7 +527,7 @@ DEPENDENCIES whenever RUBY VERSION - ruby 4.0.1 + ruby 4.0.2 BUNDLED WITH 4.0.3