mirror of
https://github.com/redmine/redmine.git
synced 2026-05-08 23:37:46 +02:00
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:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -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.
|
||||
|
||||
3
Gemfile
3
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'
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user