From 0cf25f32b9f6aecd7621c01441afe98c88f7be74 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 1 Apr 2021 16:20:22 +0000 Subject: [PATCH] Drop Ruby < 2.5 support (#31128). git-svn-id: http://svn.redmine.org/redmine/trunk@20902 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 9 ++++----- doc/INSTALL | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index b7e7f9e49..f3c7dae79 100644 --- a/Gemfile +++ b/Gemfile @@ -1,19 +1,18 @@ source 'https://rubygems.org' -ruby '>= 2.4.0', '< 2.8.0' +ruby '>= 2.5.0', '< 2.8.0' gem 'bundler', '>= 1.12.0' gem 'rails', '6.1.3.1' -gem 'sprockets', '~> 3.7.2' if RUBY_VERSION < '2.5' gem 'rouge', '~> 3.26.0' gem 'request_store', '~> 1.5.0' gem "mini_mime", "~> 1.0.1" gem "actionpack-xml_parser" -gem 'roadie-rails', (RUBY_VERSION < '2.5' ? '~> 1.3.0' : '~> 2.2.0') +gem 'roadie-rails', '~> 2.2.0' gem 'marcel' gem "mail", "~> 2.7.1" -gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '~> 3.1.1') -gem 'nokogiri', (RUBY_VERSION < '2.5' ? '~> 1.10.0' : '~> 1.11.1') +gem 'csv', '~> 3.1.1' +gem 'nokogiri', '~> 1.11.1' gem 'i18n', '~> 1.8.2' gem "rbpdf", "~> 1.20.0" gem 'addressable' diff --git a/doc/INSTALL b/doc/INSTALL index 168776c89..48ba41a13 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -7,7 +7,7 @@ http://www.redmine.org/ == Requirements -* Ruby 2.4, 2.5, 2.6, 2.7 (excluding 2.7.0 and 2.7.1) +* Ruby 2.5, 2.6, 2.7 * Bundler >= 1.12.0 * A database: -- 2.39.5