From 71582564014917e24d1bb8ae4a0868037bbff4e8 Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Wed, 24 Apr 2024 09:21:24 -0700 Subject: [PATCH] Upgrade Ruby to v3.2.4 (#1110) This resolves some security vulnerabilities. Release notes: https://github.com/ruby/ruby/releases/tag/v3_2_4 --- .circleci/config.yml | 2 +- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile | 2 +- Gemfile.lock | 18 ++++++++++-------- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2eb1f681..247e6a3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ executors: rails_executor: working_directory: ~/web-monitoring-db docker: - - image: cimg/ruby:3.2.2-node + - image: cimg/ruby:3.2.4-node environment: RAILS_ENV: test RACK_ENV: test diff --git a/.ruby-version b/.ruby-version index be94e6f5..351227fc 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.2 +3.2.4 diff --git a/Dockerfile b/Dockerfile index 71e7ac59..d934562b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # https://docs.docker.com/engine/userguide/eng-image/multistage-build ### BASE ENVIRONMENT STAGE ### -FROM ruby:3.2.2-slim as base +FROM ruby:3.2.4-slim as base LABEL maintainer="enviroDGI@gmail.com" # Install apt based dependencies required to run Rails as diff --git a/Gemfile b/Gemfile index f9a0cdae..1974fe41 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ git_source(:github) do |repo_name| "https://github.com/#{repo_name}.git" end -ruby '3.2.2' +ruby '3.2.4' gem 'aws-sdk-s3', '~> 1.119' gem 'concurrent-ruby', '~> 1.2' diff --git a/Gemfile.lock b/Gemfile.lock index afba869d..deda4a40 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -210,9 +210,10 @@ GEM oj (3.13.23) orm_adapter (0.5.0) os (1.1.4) - parallel (1.22.1) - parser (3.2.0.0) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) + racc pg (1.4.5) postmark (1.22.1) json @@ -296,8 +297,8 @@ GEM rubocop-ast (>= 1.24.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.24.1) - parser (>= 3.1.1.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) rubocop-performance (1.15.2) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) @@ -305,7 +306,7 @@ GEM activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) rubyzip (2.3.2) sassc (2.4.0) @@ -350,7 +351,7 @@ GEM uber (0.1.0) uglifier (4.2.0) execjs (>= 0.3.0, < 3) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) warden (1.2.9) rack (>= 2.0.9) web-console (4.2.0) @@ -373,6 +374,7 @@ GEM PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-linux DEPENDENCIES @@ -416,7 +418,7 @@ DEPENDENCIES webmock (~> 3.18) RUBY VERSION - ruby 3.2.2p53 + ruby 3.2.4p170 BUNDLED WITH - 2.3.21 + 2.5.9