]> source.dussan.org Git - redmine.git/commitdiff
Pin commonmarker to 0.22 if Ruby version is greater than 2.5 (#32424).
authorMarius Balteanu <marius.balteanu@zitec.com>
Wed, 11 Aug 2021 21:45:07 +0000 (21:45 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Wed, 11 Aug 2021 21:45:07 +0000 (21:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21157 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 08879c5a132a37d0dc5ebe925b922b27ec9f6470..b004a6e97018e39175c4569f40c6c43f1b17a880 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -50,7 +50,7 @@ end
 # Optional CommonMark support, not for JRuby
 group :common_mark do
   gem "html-pipeline", "~> 2.12"
-  gem "commonmarker", "~> 0.20"
+  gem "commonmarker", (RUBY_VERSION < '2.6' ? '0.21.0' : '~> 0.22')
   gem "sanitize", "~> 5.1"
 end