From a774c7ab506e8d70205e18333bf37fb20cc82c85 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 21 May 2024 16:17:41 +0200 Subject: Upgrade to ruby 3.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile | 5 ++++- Gemfile.lock | 6 ++++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.ruby-version b/.ruby-version index ab96aa9..4a85a55 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.2.3 +ruby-3.3.1 diff --git a/Dockerfile b/Dockerfile index a44e495..74c54f1 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.2.3 +ARG RUBY_VERSION=3.3.1 FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base # Rails app lives here diff --git a/Gemfile b/Gemfile index b5c6d36..58de4ef 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' -ruby '3.2.3' +ruby '3.3.1' # Rails itself :) gem 'rails', '~> 7.1.3' @@ -35,6 +35,9 @@ gem 'bootsnap', require: false # Use Active Storage variants. gem 'image_processing', '~> 1.2' +# No longer in the standard library from Ruby 3.4 onwards. +gem 'csv' + group :development, :test do gem 'debug', platforms: %i[mri windows] diff --git a/Gemfile.lock b/Gemfile.lock index bfa432c..4622de0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -105,6 +105,7 @@ GEM concurrent-ruby (1.2.3) connection_pool (2.4.1) crass (1.0.6) + csv (3.3.0) date (3.3.4) debug (1.9.2) irb (~> 1.10) @@ -175,7 +176,7 @@ GEM public_suffix (5.0.5) puma (6.4.2) nio4r (~> 2.0) - racc (1.7.3) + racc (1.8.0) rack (3.0.11) rack-session (2.0.0) rack (>= 3.0.0) @@ -313,6 +314,7 @@ DEPENDENCIES brakeman bundle-audit capybara + csv debug image_processing (~> 1.2) importmap-rails @@ -331,7 +333,7 @@ DEPENDENCIES web-console RUBY VERSION - ruby 3.2.3p157 + ruby 3.3.1p55 BUNDLED WITH 2.5.9 -- cgit v1.2.3