]> source.dussan.org Git - redmine.git/commitdiff
Update Rouge to 3.8.0 (#31556).
authorGo MAEDA <maeda@farend.jp>
Wed, 14 Aug 2019 05:23:46 +0000 (05:23 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 14 Aug 2019 05:23:46 +0000 (05:23 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18369 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile
test/unit/lib/redmine/syntax_highlighting/rouge_test.rb

diff --git a/Gemfile b/Gemfile
index 4dc35ee837e614e0c630dccf5c3e048ad12ebe52..e7ba3f4aefd66612980373176294bf0d99017ac9 100644 (file)
--- 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"
index 16387966c6c7174e19ba1c2a26d298d000624fff..7df35ca6427879577b3936f1110b1ae964bc20a4 100644 (file)
@@ -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|