From: Go MAEDA Date: Wed, 14 Aug 2019 05:23:46 +0000 (+0000) Subject: Update Rouge to 3.8.0 (#31556). X-Git-Tag: 4.1.0~703 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=489a563ece48e9363b50a3c57dc78c0c9571bd1b;p=redmine.git 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 --- 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|