]> source.dussan.org Git - redmine.git/commitdiff
Update Nokogiri to 1.15.2 in 5.0-stable (#38539).
authorGo MAEDA <maeda@farend.jp>
Thu, 22 Jun 2023 01:40:40 +0000 (01:40 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 22 Jun 2023 01:40:40 +0000 (01:40 +0000)
Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22259 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 25471f18fd3eb47752c933b28f2a04a86380c3f6..1748522984383fff2469513f760ac4dad5c8c61e 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -13,7 +13,13 @@ gem 'roadie-rails', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 2.2.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.10')
+gem 'nokogiri', (if Gem.ruby_version < Gem::Version.new('2.6.0')
+                   '~> 1.12.5'
+                 elsif Gem.ruby_version < Gem::Version.new('2.7.0')
+                   '~> 1.13.10'
+                 else
+                   '~> 1.15.2'
+                 end)
 gem "rexml", require: false if Gem.ruby_version >= Gem::Version.new('3.0')
 gem 'i18n', '~> 1.10.0'
 gem 'rbpdf', '~> 1.21.0'