From 771b443873994e2c5b69ecf44415eec6acd1c441 Mon Sep 17 00:00:00 2001 From: ishikawa999 <14245262+ishikawa999@users.noreply.github.com> Date: Thu, 22 Jan 2026 08:08:40 +0000 Subject: [PATCH] Add Ruby 4.0 to supported Ruby versions --- .github/workflows/tests.yml | 4 ++-- Gemfile | 3 ++- doc/INSTALL | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e980899d6..53b9a180c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: - ruby: ['3.2', '3.3', '3.4'] + ruby: ['3.2', '3.3', '3.4', '4.0'] db: ['postgresql', 'mysql2', 'sqlite3'] fail-fast: false @@ -79,7 +79,7 @@ jobs: uses: ./.github/actions/setup-redmine with: db-type: sqlite3 - ruby-version: '3.4' + ruby-version: '4.0' # System tests use Chrome and ChromeDriver installed on the GitHub Actions Ubuntu image. # They are generally updated to the latest stable versions. diff --git a/Gemfile b/Gemfile index 06ff99259..4efa77475 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -ruby '>= 3.2.0', '< 3.5.0' +ruby '>= 3.2.0', '< 4.1.0' gem 'rails', '8.1.2' gem 'rouge', '~> 4.5' @@ -29,6 +29,7 @@ gem 'csv', '~> 3.3.2' gem 'net-imap', '~> 0.5.7' gem 'net-pop', '~> 0.1.2' gem 'net-smtp', '~> 0.5.0' +gem 'ostruct', '~> 0.6.3' # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin] diff --git a/doc/INSTALL b/doc/INSTALL index c381d1a86..6d70f683a 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -7,7 +7,7 @@ https://www.redmine.org/ == Requirements -* Ruby 3.2, 3.3, 3.4 +* Ruby 3.2, 3.3, 3.4, 4,0 * A database: * MySQL (tested with MySQL 8) -- 2.52.0