Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Upgrade Ruby to 3.4.13 (GHSA-34m4-m9fh-gqp5) (#5361)

0xmarty_2dd5aeb4fc08
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index fcbe5cb76d..70229c530f 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,4 +1,4 @@
-ARG RUBY_VERSION=3.4.9
+ARG RUBY_VERSION=3.4.13
FROM ruby:${RUBY_VERSION}-slim-bookworm
ENV DEBIAN_FRONTEND=noninteractive
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e021e13e5e..51abaa0464 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
@@ -39,7 +39,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
@@ -75,7 +75,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
@@ -150,7 +150,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
@@ -273,7 +273,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
diff --git a/.github/workflows/llm-evals.yml b/.github/workflows/llm-evals.yml
index cbbe5a981f..b390098c33 100644
--- a/.github/workflows/llm-evals.yml
+++ b/.github/workflows/llm-evals.yml
@@ -107,7 +107,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
@@ -212,7 +212,7 @@ jobs:
persist-credentials: false
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
bundler-cache: true
diff --git a/.github/workflows/llm-pricing.yml b/.github/workflows/llm-pricing.yml
index e66b9a38fc..c0c2a6091b 100644
--- a/.github/workflows/llm-pricing.yml
+++ b/.github/workflows/llm-pricing.yml
@@ -31,7 +31,7 @@ jobs:
ref: main
- name: Set up Ruby
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
with:
ruby-version: .ruby-version
diff --git a/.ruby-version b/.ruby-version
index 7bcbb3808b..618659f09f 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-3.4.9
+3.4.13
diff --git a/Dockerfile b/Dockerfile
index b2547216d4..3ca6d9158b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
-ARG RUBY_VERSION=3.4.9
+ARG RUBY_VERSION=3.4.13
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base
# Rails app lives here
diff --git a/Gemfile.lock b/Gemfile.lock
index 0a9b4b3aa4..a0bec6c373 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1041,7 +1041,7 @@ DEPENDENCIES
websocket-driver (~> 0.8)
RUBY VERSION
- ruby 3.4.9p82
+ ruby 3.4.13p195
BUNDLED WITH
2.6.7