Redmine 4.2 on Ruby 2.4 is not compatible with Loofah 2.21 or higher (#38617).

Patch by Anton Nekrasov.


git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@22255 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2023-06-11 07:58:34 +00:00
parent f1211b2a12
commit 497762a0ee

View File

@@ -26,6 +26,7 @@ gem 'rbpdf', '~> 1.21.0'
gem 'addressable'
gem 'rubyzip', '~> 2.3.0'
gem 'psych', '~> 3.1' if Gem.ruby_version < Gem::Version.new('2.6.0')
gem 'loofah', '<= 2.20.0' if Gem.ruby_version < Gem::Version.new('2.5.0')
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]