From 6a10285c659cfc5e6f35b0aa58b57aeeecbb811d Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 15:33:56 +0900 Subject: [PATCH 1/7] ci: test against Ruby 4.0 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10ed8a9..f41f6f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,12 +5,12 @@ jobs: strategy: fail-fast: false matrix: - ruby: ['3.0', '3.1', '3.2', '3.3', '3.4'] + ruby: ['3.0', '3.1', '3.2', '3.3', '3.4', '4.0'] gemfile: ['active6.0.6', 'active6.1.7.6', 'active7.0.8', 'active7.1.3', 'rails6.0.6', 'rails6.1.7.6', 'rails7.0.8', 'rails7.1.3'] runs-on: ubuntu-latest env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile - BUNDLE_FORCE_RUBY_PLATFORM: ${{ matrix.ruby == '3.4' }} + BUNDLE_FORCE_RUBY_PLATFORM: ${{ matrix.ruby == '3.4' || matrix.ruby == '4.0' }} RUBY_OPT: --disable=did_you_mean services: mongodb: From 2a66907e5ed7cfaeed73c9c6ee222a3b5db4d7b2 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 15:49:27 +0900 Subject: [PATCH 2/7] fix: drop Ruby 3.0, bump minitest to support Ruby 4.0 minitest has no single version supporting both Ruby 3.0 and 4.0 (5.26.x caps at < 4.0, 5.27.0 drops the cap but requires >= 3.1). Ruby 3.0 is EOL, so drop it from the matrix and bump minitest. --- .github/workflows/build.yml | 2 +- Gemfile.lock | 4 ++-- comma.gemspec | 2 +- gemfiles/active6.0.6.gemfile.lock | 4 ++-- gemfiles/active6.1.7.6.gemfile.lock | 4 ++-- gemfiles/active7.0.8.gemfile.lock | 4 ++-- gemfiles/active7.1.3.gemfile.lock | 4 ++-- gemfiles/rails6.0.6.gemfile.lock | 4 ++-- gemfiles/rails6.1.7.6.gemfile.lock | 4 ++-- gemfiles/rails7.0.8.gemfile.lock | 4 ++-- gemfiles/rails7.1.3.gemfile.lock | 4 ++-- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f41f6f8..5fa5842 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ['3.0', '3.1', '3.2', '3.3', '3.4', '4.0'] + ruby: ['3.1', '3.2', '3.3', '3.4', '4.0'] gemfile: ['active6.0.6', 'active6.1.7.6', 'active7.0.8', 'active7.1.3', 'rails6.0.6', 'rails6.1.7.6', 'rails7.0.8', 'rails7.1.3'] runs-on: ubuntu-latest env: diff --git a/Gemfile.lock b/Gemfile.lock index ccad999..5bfbed0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -47,7 +47,7 @@ GEM json (2.7.1) logger (1.7.0) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) parallel (1.24.0) parser (3.3.0.4) @@ -121,7 +121,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/comma.gemspec b/comma.gemspec index 7ef93fd..f63970e 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'base64' s.add_development_dependency 'bigdecimal' s.add_development_dependency 'drb' - s.add_development_dependency 'minitest', '5.14.4' + s.add_development_dependency 'minitest', '5.27.0' s.add_development_dependency 'mutex_m' s.add_development_dependency 'rake', '~> 13.0.1' s.add_development_dependency 'rspec', ['~> 3.5.0'] diff --git a/gemfiles/active6.0.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock index 85db2a0..c2a9d0d 100644 --- a/gemfiles/active6.0.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -41,7 +41,7 @@ GEM concurrent-ruby (~> 1.0) json (2.7.1) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) parallel (1.24.0) parser (3.3.0.4) @@ -122,7 +122,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/active6.1.7.6.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock index 2afff44..0be1867 100644 --- a/gemfiles/active6.1.7.6.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -41,7 +41,7 @@ GEM concurrent-ruby (~> 1.0) json (2.7.1) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) parallel (1.24.0) parser (3.3.0.4) @@ -121,7 +121,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/active7.0.8.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock index 08b458c..7aaa6b6 100644 --- a/gemfiles/active7.0.8.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -40,7 +40,7 @@ GEM concurrent-ruby (~> 1.0) json (2.7.1) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) parallel (1.24.0) parser (3.3.0.4) @@ -119,7 +119,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/active7.1.3.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock index 4b4aaeb..314c325 100644 --- a/gemfiles/active7.1.3.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -47,7 +47,7 @@ GEM concurrent-ruby (~> 1.0) json (2.7.1) mini_portile2 (2.8.5) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) parallel (1.24.0) parser (3.3.0.4) @@ -125,7 +125,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock index 8f9561d..1e4fc00 100644 --- a/gemfiles/rails6.0.6.gemfile.lock +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -102,7 +102,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) net-imap (0.4.9.1) date @@ -251,7 +251,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rails (= 6.0.6) rake (~> 13.0.1) diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock index aab4552..e06dd9b 100644 --- a/gemfiles/rails6.1.7.6.gemfile.lock +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -106,7 +106,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) net-imap (0.4.9.1) date @@ -254,7 +254,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rails (= 6.1.7.6) rake (~> 13.0.1) diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock index afbeb87..ccb21fc 100644 --- a/gemfiles/rails7.0.8.gemfile.lock +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -112,7 +112,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) net-imap (0.4.9.1) date @@ -250,7 +250,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rails (= 7.0.8) rake (~> 13.0.1) diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock index 68c534d..b3846f4 100644 --- a/gemfiles/rails7.1.3.gemfile.lock +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -125,7 +125,7 @@ GEM marcel (1.0.2) mini_mime (1.1.5) mini_portile2 (2.8.5) - minitest (5.14.4) + minitest (5.27.0) mutex_m (0.3.0) net-imap (0.4.9.1) date @@ -273,7 +273,7 @@ DEPENDENCIES comma! coveralls drb - minitest (= 5.14.4) + minitest (= 5.27.0) mutex_m rails (= 7.1.3) rake (~> 13.0.1) From 3ced78aa97df611b98d6252093b66d9b4b383546 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 15:54:54 +0900 Subject: [PATCH 3/7] fix: add ostruct dev dependency for Ruby 4.0 rubocop's html_formatter requires ostruct, which is no longer a default gem as of Ruby 4.0, causing bundle exec rubocop to fail with a LoadError. --- Gemfile.lock | 2 ++ comma.gemspec | 1 + gemfiles/active6.0.6.gemfile.lock | 2 ++ gemfiles/active6.1.7.6.gemfile.lock | 2 ++ gemfiles/active7.0.8.gemfile.lock | 2 ++ gemfiles/active7.1.3.gemfile.lock | 2 ++ gemfiles/rails6.0.6.gemfile.lock | 2 ++ gemfiles/rails6.1.7.6.gemfile.lock | 2 ++ gemfiles/rails7.0.8.gemfile.lock | 2 ++ gemfiles/rails7.1.3.gemfile.lock | 2 ++ 10 files changed, 19 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 5bfbed0..28c53fb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -49,6 +49,7 @@ GEM mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -123,6 +124,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rake (~> 13.0.1) rspec (~> 3.5.0) rspec-activemodel-mocks diff --git a/comma.gemspec b/comma.gemspec index f63970e..873d7e5 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -27,6 +27,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'drb' s.add_development_dependency 'minitest', '5.27.0' s.add_development_dependency 'mutex_m' + s.add_development_dependency 'ostruct' s.add_development_dependency 'rake', '~> 13.0.1' s.add_development_dependency 'rspec', ['~> 3.5.0'] s.add_development_dependency 'rspec-activemodel-mocks' diff --git a/gemfiles/active6.0.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock index c2a9d0d..4fbd126 100644 --- a/gemfiles/active6.0.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -43,6 +43,7 @@ GEM mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -124,6 +125,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rake (~> 13.0.1) rspec (~> 3.5.0) rspec-activemodel-mocks diff --git a/gemfiles/active6.1.7.6.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock index 0be1867..1678726 100644 --- a/gemfiles/active6.1.7.6.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -43,6 +43,7 @@ GEM mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -123,6 +124,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rake (~> 13.0.1) rspec (~> 3.5.0) rspec-activemodel-mocks diff --git a/gemfiles/active7.0.8.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock index 7aaa6b6..211d478 100644 --- a/gemfiles/active7.0.8.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -42,6 +42,7 @@ GEM mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -121,6 +122,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rake (~> 13.0.1) rspec (~> 3.5.0) rspec-activemodel-mocks diff --git a/gemfiles/active7.1.3.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock index 314c325..3c1044f 100644 --- a/gemfiles/active7.1.3.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -49,6 +49,7 @@ GEM mini_portile2 (2.8.5) minitest (5.27.0) mutex_m (0.3.0) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -127,6 +128,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rake (~> 13.0.1) rspec (~> 3.5.0) rspec-activemodel-mocks diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock index 1e4fc00..f3eff85 100644 --- a/gemfiles/rails6.0.6.gemfile.lock +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -121,6 +121,7 @@ GEM racc (~> 1.4) nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -253,6 +254,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rails (= 6.0.6) rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock index e06dd9b..ebefa6a 100644 --- a/gemfiles/rails6.1.7.6.gemfile.lock +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -125,6 +125,7 @@ GEM racc (~> 1.4) nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -256,6 +257,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rails (= 6.1.7.6) rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock index ccb21fc..acf45fc 100644 --- a/gemfiles/rails7.0.8.gemfile.lock +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -131,6 +131,7 @@ GEM racc (~> 1.4) nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -252,6 +253,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rails (= 7.0.8) rake (~> 13.0.1) rspec (~> 3.5.0) diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock index b3846f4..36a91d1 100644 --- a/gemfiles/rails7.1.3.gemfile.lock +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -142,6 +142,7 @@ GEM racc (~> 1.4) nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) + ostruct (0.5.2) parallel (1.24.0) parser (3.3.0.4) ast (~> 2.4.1) @@ -275,6 +276,7 @@ DEPENDENCIES drb minitest (= 5.27.0) mutex_m + ostruct rails (= 7.1.3) rake (~> 13.0.1) rspec (~> 3.5.0) From 5e7824bccd29e5abbd84462ec930952b2b7e7073 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 15:57:41 +0900 Subject: [PATCH 4/7] fix: add benchmark dev dependency for Ruby 4.0 rubocop's exe/rubocop, rake, and activesupport require benchmark, which is no longer a default gem as of Ruby 4.0. --- Gemfile.lock | 1 + comma.gemspec | 1 + gemfiles/active6.0.6.gemfile.lock | 2 ++ gemfiles/active6.1.7.6.gemfile.lock | 2 ++ gemfiles/active7.0.8.gemfile.lock | 2 ++ gemfiles/active7.1.3.gemfile.lock | 2 ++ gemfiles/rails6.0.6.gemfile.lock | 2 ++ gemfiles/rails6.1.7.6.gemfile.lock | 2 ++ gemfiles/rails7.0.8.gemfile.lock | 2 ++ gemfiles/rails7.1.3.gemfile.lock | 2 ++ 10 files changed, 18 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 28c53fb..4292f90 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -118,6 +118,7 @@ PLATFORMS DEPENDENCIES appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/comma.gemspec b/comma.gemspec index 873d7e5..fc40b34 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -23,6 +23,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'appraisal', ['~> 1.0.0'] s.add_development_dependency 'base64' + s.add_development_dependency 'benchmark' s.add_development_dependency 'bigdecimal' s.add_development_dependency 'drb' s.add_development_dependency 'minitest', '5.27.0' diff --git a/gemfiles/active6.0.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock index 4fbd126..eba7c02 100644 --- a/gemfiles/active6.0.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -25,6 +25,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) concurrent-ruby (1.3.6) coveralls (0.8.23) @@ -119,6 +120,7 @@ DEPENDENCIES activesupport (= 6.0.6) appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/active6.1.7.6.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock index 1678726..363329a 100644 --- a/gemfiles/active6.1.7.6.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -25,6 +25,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) concurrent-ruby (1.3.6) coveralls (0.8.23) @@ -118,6 +119,7 @@ DEPENDENCIES activesupport (= 6.1.7.6) appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/active7.0.8.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock index 211d478..c53adbb 100644 --- a/gemfiles/active7.0.8.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -24,6 +24,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) concurrent-ruby (1.3.6) coveralls (0.8.23) @@ -116,6 +117,7 @@ DEPENDENCIES activesupport (= 7.0.8) appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/active7.1.3.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock index 3c1044f..d40ef45 100644 --- a/gemfiles/active7.1.3.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -30,6 +30,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) concurrent-ruby (1.3.6) connection_pool (2.5.5) @@ -122,6 +123,7 @@ DEPENDENCIES activesupport (= 7.1.3) appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock index f3eff85..5fbbe25 100644 --- a/gemfiles/rails6.0.6.gemfile.lock +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -69,6 +69,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) concurrent-ruby (1.3.6) @@ -248,6 +249,7 @@ PLATFORMS DEPENDENCIES appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock index ebefa6a..c2f5461 100644 --- a/gemfiles/rails6.1.7.6.gemfile.lock +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -73,6 +73,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) concurrent-ruby (1.3.6) @@ -251,6 +252,7 @@ PLATFORMS DEPENDENCIES appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock index acf45fc..e9c74c8 100644 --- a/gemfiles/rails7.0.8.gemfile.lock +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -79,6 +79,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) concurrent-ruby (1.3.6) @@ -247,6 +248,7 @@ PLATFORMS DEPENDENCIES appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock index 36a91d1..6988b43 100644 --- a/gemfiles/rails7.1.3.gemfile.lock +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -88,6 +88,7 @@ GEM thor (>= 0.14.0) ast (2.4.2) base64 (0.3.0) + benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) concurrent-ruby (1.3.6) @@ -270,6 +271,7 @@ PLATFORMS DEPENDENCIES appraisal (~> 1.0.0) base64 + benchmark bigdecimal comma! coveralls From 1c32477bb125d8a51226d495ec22329472b92c98 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 16:04:51 +0900 Subject: [PATCH 5/7] fix: bump rspec to ~> 3.13 for Ruby 4.0 compatibility rspec-core 3.5.x calls ERB.new with the deprecated 3-argument signature, which Ruby 4.0 removed entirely, crashing `bundle exec rspec` on startup. rspec-core 3.13.x fixed this. --- Gemfile.lock | 24 ++++++++--------- comma.gemspec | 2 +- gemfiles/active6.0.6.gemfile.lock | 24 ++++++++--------- gemfiles/active6.1.7.6.gemfile.lock | 24 ++++++++--------- gemfiles/active7.0.8.gemfile.lock | 24 ++++++++--------- gemfiles/active7.1.3.gemfile.lock | 24 ++++++++--------- gemfiles/rails6.0.6.gemfile.lock | 40 ++++++++++++++--------------- gemfiles/rails6.1.7.6.gemfile.lock | 40 ++++++++++++++--------------- gemfiles/rails7.0.8.gemfile.lock | 40 ++++++++++++++--------------- gemfiles/rails7.1.3.gemfile.lock | 40 ++++++++++++++--------------- 10 files changed, 141 insertions(+), 141 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4292f90..64d2784 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,26 +59,26 @@ GEM rake (13.0.1) regexp_parser (2.9.0) rexml (3.4.2) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.1.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.2) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.2.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -127,7 +127,7 @@ DEPENDENCIES mutex_m ostruct rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rubocop (~> 1.30.0) diff --git a/comma.gemspec b/comma.gemspec index fc40b34..9ea8f50 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'mutex_m' s.add_development_dependency 'ostruct' s.add_development_dependency 'rake', '~> 13.0.1' - s.add_development_dependency 'rspec', ['~> 3.5.0'] + s.add_development_dependency 'rspec', ['~> 3.13'] s.add_development_dependency 'rspec-activemodel-mocks' s.add_development_dependency 'rspec-its' end diff --git a/gemfiles/active6.0.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock index eba7c02..7c43fef 100644 --- a/gemfiles/active6.0.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -54,26 +54,26 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -129,7 +129,7 @@ DEPENDENCIES mutex_m ostruct rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rubocop (~> 1.30.0) diff --git a/gemfiles/active6.1.7.6.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock index 363329a..63d1391 100644 --- a/gemfiles/active6.1.7.6.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -54,26 +54,26 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -128,7 +128,7 @@ DEPENDENCIES mutex_m ostruct rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rubocop (~> 1.30.0) diff --git a/gemfiles/active7.0.8.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock index c53adbb..becc7f2 100644 --- a/gemfiles/active7.0.8.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -53,26 +53,26 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -126,7 +126,7 @@ DEPENDENCIES mutex_m ostruct rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rubocop (~> 1.30.0) diff --git a/gemfiles/active7.1.3.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock index d40ef45..99f47c4 100644 --- a/gemfiles/active7.1.3.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -60,26 +60,26 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -132,7 +132,7 @@ DEPENDENCIES mutex_m ostruct rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rubocop (~> 1.30.0) diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock index 5fbbe25..a8d71b0 100644 --- a/gemfiles/rails6.0.6.gemfile.lock +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -164,34 +164,34 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.8) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-rails (5.1.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + railties (>= 5.2) + rspec-core (~> 3.10) + rspec-expectations (~> 3.10) + rspec-mocks (~> 3.10) + rspec-support (~> 3.10) + rspec-support (3.13.7) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -259,7 +259,7 @@ DEPENDENCIES ostruct rails (= 6.0.6) rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rspec-rails diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock index c2f5461..13edf42 100644 --- a/gemfiles/rails6.1.7.6.gemfile.lock +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -168,34 +168,34 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-rails (6.1.5) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -262,7 +262,7 @@ DEPENDENCIES ostruct rails (= 6.1.7.6) rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rspec-rails diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock index e9c74c8..f664a52 100644 --- a/gemfiles/rails7.0.8.gemfile.lock +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -173,34 +173,34 @@ GEM rake (13.0.6) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-rails (6.1.5) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -258,7 +258,7 @@ DEPENDENCIES ostruct rails (= 7.0.8) rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rspec-rails diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock index 6988b43..02d3c8c 100644 --- a/gemfiles/rails7.1.3.gemfile.lock +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -196,34 +196,34 @@ GEM reline (0.4.2) io-console (~> 0.5) rexml (3.2.6) - rspec (3.5.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.5.4) - rspec-support (~> 3.5.0) - rspec-expectations (3.5.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) + rspec-support (~> 3.13.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.5.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.5.0) - rspec-rails (3.5.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.5.0) - rspec-expectations (~> 3.5.0) - rspec-mocks (~> 3.5.0) - rspec-support (~> 3.5.0) - rspec-support (3.5.0) + rspec-support (~> 3.13.0) + rspec-rails (6.1.5) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) rubocop (1.30.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -281,7 +281,7 @@ DEPENDENCIES ostruct rails (= 7.1.3) rake (~> 13.0.1) - rspec (~> 3.5.0) + rspec (~> 3.13) rspec-activemodel-mocks rspec-its rspec-rails From c940bebad124e7232676e33c65a5a0cec7a72eb3 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 16:07:27 +0900 Subject: [PATCH 6/7] fix: add logger dev dependency for Ruby 4.0 activesupport, rake, and comma's own lib/comma.rb require logger, which is no longer a default gem as of Ruby 4.0. --- Gemfile.lock | 1 + comma.gemspec | 1 + gemfiles/active6.0.6.gemfile.lock | 2 ++ gemfiles/active6.1.7.6.gemfile.lock | 2 ++ gemfiles/active7.0.8.gemfile.lock | 2 ++ gemfiles/active7.1.3.gemfile.lock | 2 ++ gemfiles/rails6.0.6.gemfile.lock | 2 ++ gemfiles/rails6.1.7.6.gemfile.lock | 2 ++ gemfiles/rails7.0.8.gemfile.lock | 2 ++ gemfiles/rails7.1.3.gemfile.lock | 2 ++ 10 files changed, 18 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 64d2784..f88a578 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -123,6 +123,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/comma.gemspec b/comma.gemspec index 9ea8f50..da75669 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -26,6 +26,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'benchmark' s.add_development_dependency 'bigdecimal' s.add_development_dependency 'drb' + s.add_development_dependency 'logger' s.add_development_dependency 'minitest', '5.27.0' s.add_development_dependency 'mutex_m' s.add_development_dependency 'ostruct' diff --git a/gemfiles/active6.0.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock index 7c43fef..bebb877 100644 --- a/gemfiles/active6.0.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -41,6 +41,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) @@ -125,6 +126,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/active6.1.7.6.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock index 63d1391..0551681 100644 --- a/gemfiles/active6.1.7.6.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -41,6 +41,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) @@ -124,6 +125,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/active7.0.8.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock index becc7f2..4b08740 100644 --- a/gemfiles/active7.0.8.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -40,6 +40,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) mini_portile2 (2.8.9) minitest (5.27.0) mutex_m (0.3.0) @@ -122,6 +123,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/active7.1.3.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock index 99f47c4..6b02904 100644 --- a/gemfiles/active7.1.3.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -47,6 +47,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) mini_portile2 (2.8.5) minitest (5.27.0) mutex_m (0.3.0) @@ -128,6 +129,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock index a8d71b0..fe8235b 100644 --- a/gemfiles/rails6.0.6.gemfile.lock +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -91,6 +91,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -254,6 +255,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock index 13edf42..92f16e2 100644 --- a/gemfiles/rails6.1.7.6.gemfile.lock +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -95,6 +95,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -257,6 +258,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock index f664a52..4203b36 100644 --- a/gemfiles/rails7.0.8.gemfile.lock +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -101,6 +101,7 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) json (2.7.1) + logger (1.7.0) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -253,6 +254,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock index 02d3c8c..9530cfd 100644 --- a/gemfiles/rails7.1.3.gemfile.lock +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -115,6 +115,7 @@ GEM rdoc reline (>= 0.4.2) json (2.7.1) + logger (1.7.0) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -276,6 +277,7 @@ DEPENDENCIES comma! coveralls drb + logger minitest (= 5.27.0) mutex_m ostruct From d63436c0cb6537c8e0279f34028d5e3c4ca30220 Mon Sep 17 00:00:00 2001 From: Eito Katagiri Date: Sat, 8 Aug 2026 16:11:03 +0900 Subject: [PATCH 7/7] fix: add cgi dev dependency for Ruby 4.0 Old rack (used by the rails6/7 appraisal gemfiles) requires cgi/cookie, which is no longer bundled with Ruby 4.0. --- Gemfile.lock | 2 ++ comma.gemspec | 1 + gemfiles/active6.0.6.gemfile.lock | 2 ++ gemfiles/active6.1.7.6.gemfile.lock | 2 ++ gemfiles/active7.0.8.gemfile.lock | 2 ++ gemfiles/active7.1.3.gemfile.lock | 2 ++ gemfiles/rails6.0.6.gemfile.lock | 2 ++ gemfiles/rails6.1.7.6.gemfile.lock | 2 ++ gemfiles/rails7.0.8.gemfile.lock | 2 ++ gemfiles/rails7.1.3.gemfile.lock | 2 ++ 10 files changed, 19 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index f88a578..dacc8af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,6 +30,7 @@ GEM base64 (0.3.0) benchmark (0.5.0) bigdecimal (4.1.2) + cgi (0.3.6) concurrent-ruby (1.3.7) connection_pool (3.0.2) coveralls (0.8.23) @@ -120,6 +121,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/comma.gemspec b/comma.gemspec index da75669..ee2ca80 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -25,6 +25,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'base64' s.add_development_dependency 'benchmark' s.add_development_dependency 'bigdecimal' + s.add_development_dependency 'cgi' s.add_development_dependency 'drb' s.add_development_dependency 'logger' s.add_development_dependency 'minitest', '5.27.0' diff --git a/gemfiles/active6.0.6.gemfile.lock b/gemfiles/active6.0.6.gemfile.lock index bebb877..568137a 100644 --- a/gemfiles/active6.0.6.gemfile.lock +++ b/gemfiles/active6.0.6.gemfile.lock @@ -27,6 +27,7 @@ GEM base64 (0.3.0) benchmark (0.5.0) bigdecimal (4.1.2) + cgi (0.3.6) concurrent-ruby (1.3.6) coveralls (0.8.23) json (>= 1.8, < 3) @@ -123,6 +124,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/active6.1.7.6.gemfile.lock b/gemfiles/active6.1.7.6.gemfile.lock index 0551681..534c7cf 100644 --- a/gemfiles/active6.1.7.6.gemfile.lock +++ b/gemfiles/active6.1.7.6.gemfile.lock @@ -27,6 +27,7 @@ GEM base64 (0.3.0) benchmark (0.5.0) bigdecimal (4.1.2) + cgi (0.3.6) concurrent-ruby (1.3.6) coveralls (0.8.23) json (>= 1.8, < 3) @@ -122,6 +123,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/active7.0.8.gemfile.lock b/gemfiles/active7.0.8.gemfile.lock index 4b08740..72d27bb 100644 --- a/gemfiles/active7.0.8.gemfile.lock +++ b/gemfiles/active7.0.8.gemfile.lock @@ -26,6 +26,7 @@ GEM base64 (0.3.0) benchmark (0.5.0) bigdecimal (4.1.2) + cgi (0.3.6) concurrent-ruby (1.3.6) coveralls (0.8.23) json (>= 1.8, < 3) @@ -120,6 +121,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/active7.1.3.gemfile.lock b/gemfiles/active7.1.3.gemfile.lock index 6b02904..ee7406a 100644 --- a/gemfiles/active7.1.3.gemfile.lock +++ b/gemfiles/active7.1.3.gemfile.lock @@ -32,6 +32,7 @@ GEM base64 (0.3.0) benchmark (0.5.0) bigdecimal (4.1.2) + cgi (0.3.6) concurrent-ruby (1.3.6) connection_pool (2.5.5) coveralls (0.8.23) @@ -126,6 +127,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/rails6.0.6.gemfile.lock b/gemfiles/rails6.0.6.gemfile.lock index fe8235b..1898ef1 100644 --- a/gemfiles/rails6.0.6.gemfile.lock +++ b/gemfiles/rails6.0.6.gemfile.lock @@ -72,6 +72,7 @@ GEM benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) + cgi (0.3.6) concurrent-ruby (1.3.6) coveralls (0.8.23) json (>= 1.8, < 3) @@ -252,6 +253,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/rails6.1.7.6.gemfile.lock b/gemfiles/rails6.1.7.6.gemfile.lock index 92f16e2..e4d6a30 100644 --- a/gemfiles/rails6.1.7.6.gemfile.lock +++ b/gemfiles/rails6.1.7.6.gemfile.lock @@ -76,6 +76,7 @@ GEM benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) + cgi (0.3.6) concurrent-ruby (1.3.6) coveralls (0.8.23) json (>= 1.8, < 3) @@ -255,6 +256,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/rails7.0.8.gemfile.lock b/gemfiles/rails7.0.8.gemfile.lock index 4203b36..a48561f 100644 --- a/gemfiles/rails7.0.8.gemfile.lock +++ b/gemfiles/rails7.0.8.gemfile.lock @@ -82,6 +82,7 @@ GEM benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) + cgi (0.3.6) concurrent-ruby (1.3.6) coveralls (0.8.23) json (>= 1.8, < 3) @@ -251,6 +252,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb diff --git a/gemfiles/rails7.1.3.gemfile.lock b/gemfiles/rails7.1.3.gemfile.lock index 9530cfd..2857778 100644 --- a/gemfiles/rails7.1.3.gemfile.lock +++ b/gemfiles/rails7.1.3.gemfile.lock @@ -91,6 +91,7 @@ GEM benchmark (0.5.0) bigdecimal (4.1.2) builder (3.2.4) + cgi (0.3.6) concurrent-ruby (1.3.6) connection_pool (2.5.5) coveralls (0.8.23) @@ -274,6 +275,7 @@ DEPENDENCIES base64 benchmark bigdecimal + cgi comma! coveralls drb