From 8520c401b1f8c220a56a2c9e4ffa52285cae7f40 Mon Sep 17 00:00:00 2001 From: louis-antonopoulos Date: Wed, 13 Nov 2024 12:36:33 -0500 Subject: [PATCH] Update Ruby to 3.3.5 and Bundler to 2.5.22 (#377) **This PR:** - Updates Ruby to `3.3.5` - Updates Bundler to `2.5.22` - Adds [ostruct](https://github.com/ruby/ostruct) to `Gemfile` to address warning when running tests or starting the Rails console --- .circleci/config.yml | 2 +- .tool-versions | 2 +- .travis.yml | 2 +- Gemfile | 3 ++- Gemfile.lock | 6 ++++-- spec/example_app/.ruby-version | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5533fe5f..4dfd81e8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: build: docker: - - image: cimg/ruby:3.3.4-browsers + - image: cimg/ruby:3.3.5-browsers environment: BUNDLE_JOBS: 3 BUNDLE_RETRY: 3 diff --git a/.tool-versions b/.tool-versions index 642749b5..a78afc46 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -ruby 3.3.4 +ruby 3.3.5 nodejs 22.6.0 diff --git a/.travis.yml b/.travis.yml index 9a39eaf2..b5a6e328 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,5 @@ sudo: false language: ruby cache: bundler rvm: - - 3.3.4 + - 3.3.5 before_install: gem install bundler -v 2.3.27 diff --git a/Gemfile b/Gemfile index bb36f0aa..9203173b 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source "https://rubygems.org" # Specify your gem"s dependencies in yuri-ita.gemspec gemspec -ruby "3.3.4" +ruby "3.3.5" gem "rails" @@ -20,6 +20,7 @@ group :test, :development do gem "byebug", platforms: [:mri, :mingw, :x64_mingw] gem "dotenv-rails" gem "factory_bot_rails" + gem "ostruct" gem "rspec-rails" end diff --git a/Gemfile.lock b/Gemfile.lock index be5a437f..91c5e4f8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -173,6 +173,7 @@ GEM racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) + ostruct (0.6.0) pg (1.5.9) pry (0.14.2) coderay (~> 1.1) @@ -324,6 +325,7 @@ DEPENDENCIES factory_bot_rails jsbundling-rails listen (>= 3.0.5) + ostruct pg (>= 0.18, < 2.0) pry-rails (~> 0.3.7) puma (~> 6.4) @@ -340,7 +342,7 @@ DEPENDENCIES yuri-ita! RUBY VERSION - ruby 3.3.4p94 + ruby 3.3.5p100 BUNDLED WITH - 2.3.27 + 2.5.22 diff --git a/spec/example_app/.ruby-version b/spec/example_app/.ruby-version index 6d5369b9..f13c6f45 100644 --- a/spec/example_app/.ruby-version +++ b/spec/example_app/.ruby-version @@ -1 +1 @@ -ruby-3.3.4 +ruby-3.3.5