From c214d8824168d045575152aa85a8cab087c51ffb Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Tue, 24 Nov 2026 13:30:20 -0500 Subject: [PATCH] Bump to Ruby 4.0.10 Ruby 4.0.10 is the current patched release in the 4.0 series and includes the fixes for the Regexp and String case conversion CVEs announced on 2026-11-18. Also bumps ffi from 1.16.3 to 1.17.4. ffi 1.16.3 fails to build its native extension on recent macOS toolchains, and 1.17.x ships precompiled platform gems. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/tests-next.yml | 2 +- .github/workflows/tests.yml | 2 +- Dockerfile | 2 +- Gemfile | 2 +- Gemfile.lock | 7 +++++-- Gemfile.next.lock | 9 +++++++-- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests-next.yml b/.github/workflows/tests-next.yml index 3a194ffa..6db23eb6 100644 --- a/.github/workflows/tests-next.yml +++ b/.github/workflows/tests-next.yml @@ -35,7 +35,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.4.13" + ruby-version: "4.0.10" - name: Build App run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a42ecae..d7ebf421 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.4.13" + ruby-version: "4.0.10" bundler-cache: true - name: Build App diff --git a/Dockerfile b/Dockerfile index 86c96188..36e47a61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM cimg/ruby:3.4.13-browsers +FROM cimg/ruby:4.0.10-browsers ARG BUNDLE_GEMFILE=Gemfile diff --git a/Gemfile b/Gemfile index 39707b2b..d67e0bf5 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ def next? File.basename(__FILE__) == "Gemfile.next" end -ruby "3.4.13" +ruby "4.0.10" git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") diff --git a/Gemfile.lock b/Gemfile.lock index a96c046f..45595737 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -159,7 +159,10 @@ GEM logger faraday-net_http (3.4.4) net-http (~> 0.5) - ffi (1.16.3) + ffi (1.17.4) + ffi (1.17.4-arm64-darwin) + ffi (1.17.4-x86_64-darwin) + ffi (1.17.4-x86_64-linux-gnu) globalid (1.4.0) activesupport (>= 6.1) hashie (5.1.0) @@ -577,7 +580,7 @@ DEPENDENCIES webdrivers RUBY VERSION - ruby 3.4.13p195 + ruby 4.0.10 BUNDLED WITH 4.1.0 diff --git a/Gemfile.next.lock b/Gemfile.next.lock index 0559e85d..f63b2c9e 100644 --- a/Gemfile.next.lock +++ b/Gemfile.next.lock @@ -160,6 +160,7 @@ GEM logger faraday-net_http (3.4.2) net-http (~> 0.5) + ffi (1.17.4) ffi (1.17.4-aarch64-linux-gnu) ffi (1.17.4-aarch64-linux-musl) ffi (1.17.4-arm-linux-gnu) @@ -229,6 +230,7 @@ GEM nokogiri (~> 1) rake mini_mime (1.1.5) + mini_portile2 (2.8.9) minitest (6.0.6) drb (~> 2.0) prism (~> 1.5) @@ -251,6 +253,9 @@ GEM next_rails (1.5.0) rainbow (>= 3) nio4r (2.7.5) + nokogiri (1.19.3) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) nokogiri (1.19.3-aarch64-linux-gnu) racc (~> 1.4) nokogiri (1.19.3-aarch64-linux-musl) @@ -604,7 +609,7 @@ DEPENDENCIES webdrivers RUBY VERSION - ruby 3.4.13p195 + ruby 4.0.10 BUNDLED WITH - 4.1.0 + 4.1.0