summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-14 05:23:46 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-14 05:23:46 +0000
commit489a563ece48e9363b50a3c57dc78c0c9571bd1b (patch)
treec36df19c4305e2be452c7ca5dcbef9c7e543e513
parentd2e10064a481303f7a920e6d982e839120d78643 (diff)
downloadredmine-489a563ece48e9363b50a3c57dc78c0c9571bd1b.tar.gz
redmine-489a563ece48e9363b50a3c57dc78c0c9571bd1b.zip
Update Rouge to 3.8.0 (#31556).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18369 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--Gemfile2
-rw-r--r--test/unit/lib/redmine/syntax_highlighting/rouge_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index 4dc35ee83..e7ba3f4ae 100644
--- a/Gemfile
+++ b/Gemfile
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
gem "bundler", ">= 1.5.0"
gem "rails", "5.2.3"
-gem "rouge", "~> 3.7.0"
+gem "rouge", "~> 3.8.0"
gem "request_store", "1.0.5"
gem "mini_mime", "~> 1.0.1"
gem "actionpack-xml_parser"
diff --git a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
index 16387966c..7df35ca64 100644
--- a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
+++ b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
@@ -24,7 +24,7 @@ class Redmine::SyntaxHighlighting::RougeTest < ActiveSupport::TestCase
to_test = {
'application.js' => true,
'Gemfile' => true,
- 'AUTOEXEC.BAT' => false, # Rouge does not support BAT files
+ 'HELLO.CBL' => false, # Rouge does not support COBOL
'HELLO.C' => true
}
to_test.each do |filename, expected|