From: Go MAEDA Date: Sun, 10 Feb 2019 15:42:22 +0000 (+0000) Subject: Use xpath < 3.2 for Ruby < 2.3 (#30114). X-Git-Tag: 3.4.9~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=521004b70e1f2dd11a241d0d8b11a6005fbd4051;p=redmine.git Use xpath < 3.2 for Ruby < 2.3 (#30114). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17855 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/Gemfile b/Gemfile index 43fc63d43..37e6b268f 100644 --- a/Gemfile +++ b/Gemfile @@ -21,6 +21,7 @@ gem "mail", "~> 2.6.4" gem "nokogiri", (RUBY_VERSION >= "2.1" ? "~> 1.8.1" : "~> 1.6.8") gem "i18n", "~> 0.7.0" gem "ffi", "1.9.14", :platforms => :mingw if RUBY_VERSION < "2.0" +gem "xpath", "< 3.2.0" if RUBY_VERSION < "2.3" # Request at least rails-html-sanitizer 1.0.3 because of security advisories gem "rails-html-sanitizer", ">= 1.0.3"