From 4b464be51e80d84a89dd5aa9157f03ebdc9144c4 Mon Sep 17 00:00:00 2001 From: Masato Nakamura Date: Tue, 28 May 2024 13:52:39 +0900 Subject: [PATCH] Support for Ruby 3.4.0-preview1 (#929) * default to 7.1 when unset --------- Co-authored-by: Mathieu Jobin <99191+mathieujobin@users.noreply.github.com> --- .github/workflows/build.yml | 2 ++ Gemfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f1d59b8..aa36be4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ jobs: rails: ["7.1", "7.0", "6.1", "6.0"] ruby: ["3.3", "3.2", "3.1", "3.0", "2.7"] include: + - rails: "7.1" + ruby: "3.4.0-preview1" - rails: "5.2" ruby: "2.7.8" - rails: "5.1" diff --git a/Gemfile b/Gemfile index 813bfcd2..75b40981 100644 --- a/Gemfile +++ b/Gemfile @@ -5,8 +5,8 @@ source 'https://rubygems.org' gemspec path: '.' # use ENV vars, with default value as fallback for local setup -gem 'actionpack', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0" -gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0" +gem 'actionpack', "~> #{ENV['RAILS_VERSION'] || '7.1'}.0" +gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.1'}.0" gem 'mime-types' # , '~> 3.0' gem 'rails-controller-testing'