From 3417191bc7817a10983fd474a75f9e46e0cbb921 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 11 Aug 2021 21:45:07 +0000 Subject: [PATCH] Pin commonmarker to 0.22 if Ruby version is greater than 2.5 (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21157 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 08879c5a1..b004a6e97 100644 --- 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 -- 2.39.5