From 6a7f5e63c63f175d7316ba06fb7f680a3e194daf Mon Sep 17 00:00:00 2001 From: Chris Zetter <253059100+zetter-rpf@users.noreply.github.com> Date: Thu, 19 Nov 2026 08:07:45 +0000 Subject: [PATCH] Upgrade ruby to fix security issues --- .github/workflows/ci.yml | 4 ++-- .tool-versions | 2 +- Dockerfile | 2 +- Gemfile.lock | 6 +----- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae2529d1c..20e3897c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Ruby and bundle cache - uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 + uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0 with: ruby-version: .tool-versions bundler-cache: true @@ -132,7 +132,7 @@ jobs: uses: browser-actions/setup-firefox@0bc507ddf224827e3b1af68e014d5e42ab93e795 # v1.7.2 - name: Set up Ruby and bundle cache - uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 + uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0 with: ruby-version: .tool-versions bundler-cache: true diff --git a/.tool-versions b/.tool-versions index df8599074..09b5e2474 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 4.0.9 +ruby 4.0.10 diff --git a/Dockerfile b/Dockerfile index 692bef6bc..3bc1f2682 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:4.0.9-slim-trixie AS base +FROM ruby:4.0.10-slim-trixie AS base RUN gem install bundler \ && apt-get update \ && apt-get upgrade --yes \ diff --git a/Gemfile.lock b/Gemfile.lock index ed5900447..4022be1a5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -277,7 +277,6 @@ GEM matrix (0.4.3) method_source (1.1.0) mini_mime (1.1.5) - mini_portile2 (2.8.9) minitest (6.1.0) drb (~> 2.0) prism (>= 1.5, < 3) @@ -297,9 +296,6 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.19.7) - mini_portile2 (~> 2.8.2) - racc (~> 1.4) nokogiri (1.19.7-aarch64-linux-gnu) racc (~> 1.4) nokogiri (1.19.7-arm64-darwin) @@ -650,7 +646,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 4.0.9 + ruby 4.0.10 BUNDLED WITH 4.0.13