]> source.dussan.org Git - redmine.git/commitdiff
Update Rouge gem version to 4.5 (#41728).
authorMarius Balteanu <marius.balteanu@zitec.com>
Mon, 11 Nov 2024 19:58:42 +0000 (19:58 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Mon, 11 Nov 2024 19:58:42 +0000 (19:58 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@23252 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/Gemfile b/Gemfile
index 1afed558d6d8df186e7ffa318a994f72e92c3550..cd3e1d0d307efa7c82e8361f0b59b25a45b88656 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
 ruby '>= 3.1.0', '< 3.4.0'
 
 gem 'rails', '7.2.2'
-gem 'rouge', '~> 4.2'
+gem 'rouge', '~> 4.5'
 gem 'mini_mime', '~> 1.1.0'
 gem "actionpack-xml_parser"
 gem 'roadie-rails', '~> 3.3.0'
index baa616d108b09db9f2bdb821cc4f403ee76ab657..8d8218548a8125d57bd680c9cd8102bef88da2c9 100644 (file)
@@ -24,7 +24,7 @@ class Redmine::SyntaxHighlighting::RougeTest < ActiveSupport::TestCase
     to_test = {
       'application.js' => true,
       'Gemfile' => true,
-      'HELLO.CBL' => false,  # Rouge does not support COBOL
+      'HELLO.abc' => false,
       'HELLO.C' => true
     }
     to_test.each do |filename, expected|