mirror of
https://github.com/redmine/redmine.git
synced 2026-01-27 09:49:57 +01:00
Drop support for Ruby 2.5 (#37159).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21610 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
inherit_from: .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.5
|
||||
TargetRubyVersion: 2.6
|
||||
TargetRailsVersion: 6.1
|
||||
|
||||
NewCops: enable
|
||||
@@ -198,6 +198,9 @@ Style/NegatedIfElseCondition:
|
||||
Style/RaiseArgs:
|
||||
Enabled: false
|
||||
|
||||
Style/SlicingWithRange:
|
||||
Enabled: false
|
||||
|
||||
Style/TrailingCommaInArrayLiteral:
|
||||
Enabled: false
|
||||
|
||||
|
||||
11
Gemfile
11
Gemfile
@@ -1,19 +1,18 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
ruby '>= 2.5.0', '< 3.2.0'
|
||||
ruby '>= 2.6.0', '< 3.2.0'
|
||||
gem 'bundler', '>= 1.12.0'
|
||||
|
||||
gem 'rails', '6.1.6'
|
||||
gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
|
||||
gem 'rouge', '~> 3.28.0'
|
||||
gem 'request_store', '~> 1.5.0'
|
||||
gem 'mini_mime', '~> 1.1.0'
|
||||
gem "actionpack-xml_parser"
|
||||
gem 'roadie-rails', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 2.2.0' : '~> 3.0.0')
|
||||
gem 'roadie-rails', '~> 3.0.0'
|
||||
gem 'marcel'
|
||||
gem "mail", "~> 2.7.1"
|
||||
gem 'csv', '~> 3.2.0'
|
||||
gem 'nokogiri', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 1.12.5' : '~> 1.13.6')
|
||||
gem 'nokogiri', '~> 1.13.6'
|
||||
gem 'i18n', '~> 1.10.0'
|
||||
gem "rbpdf", "~> 1.20.0"
|
||||
gem 'addressable'
|
||||
@@ -46,7 +45,7 @@ gem 'redcarpet', '~> 3.5.1', groups: [:markdown, :common_mark]
|
||||
# Optional CommonMark support, not for JRuby
|
||||
group :common_mark do
|
||||
gem "html-pipeline", "~> 2.13.2"
|
||||
gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '0.23.1')
|
||||
gem "commonmarker", '0.23.1'
|
||||
gem "sanitize", "~> 6.0"
|
||||
gem 'deckar01-task_list', '2.3.2'
|
||||
end
|
||||
@@ -95,7 +94,7 @@ group :test do
|
||||
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
|
||||
# For running system tests
|
||||
gem 'puma'
|
||||
gem 'capybara', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 3.35.3' : '~> 3.36.0')
|
||||
gem 'capybara', '~> 3.36.0'
|
||||
gem "selenium-webdriver", "~> 3.142.7"
|
||||
gem 'webdrivers', '4.6.1', require: false
|
||||
# RuboCop
|
||||
|
||||
@@ -7,7 +7,7 @@ http://www.redmine.org/
|
||||
|
||||
== Requirements
|
||||
|
||||
* Ruby 2.5, 2.6, 2.7, 3.0, 3.1
|
||||
* Ruby 2.6, 2.7, 3.0, 3.1
|
||||
* Bundler >= 1.12.0
|
||||
|
||||
* A database:
|
||||
|
||||
Reference in New Issue
Block a user