]> source.dussan.org Git - redmine.git/commitdiff
Ruby 2.4: Fixed "Fixnum is deprecated" warning of nokogiri (#25048).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 2 Mar 2017 22:47:36 +0000 (22:47 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 2 Mar 2017 22:47:36 +0000 (22:47 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16353 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index f99d79a6aeea19711e84f3b8a28d71a2562cbb48..83e44626cdb7200d14d834cb03da1686a4a24221 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -15,7 +15,7 @@ gem "actionpack-xml_parser"
 gem "roadie-rails"
 gem "mimemagic"
 
-gem "nokogiri", "~> 1.6.8"
+gem "nokogiri", (RUBY_VERSION >= "2.1" ? ">= 1.7.0" : "~> 1.6.8")
 gem "i18n", "~> 0.7.0"
 
 # Request at least rails-html-sanitizer 1.0.3 because of security advisories