summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-08-11 21:45:07 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-08-11 21:45:07 +0000
commit3417191bc7817a10983fd474a75f9e46e0cbb921 (patch)
treef2726a04359c9260e638b2ea58df31ff03b0eebf /Gemfile
parent9af2ba2c13d2dc706bdf1387110c13b82175a0cf (diff)
downloadredmine-3417191bc7817a10983fd474a75f9e46e0cbb921.tar.gz
redmine-3417191bc7817a10983fd474a75f9e46e0cbb921.zip
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
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
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