Ruby 4.0 support (#43650).

Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@24367 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2026-01-26 02:02:07 +00:00
parent 1dfd165cbd
commit 3d1610ee5e
3 changed files with 5 additions and 4 deletions

View File

@@ -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.

View File

@@ -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'
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]

View File

@@ -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)