summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-11-11 20:47:37 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-11-11 20:47:37 +0000
commit32bcc5903e5b3dbd4eb7957108a394f38c584504 (patch)
tree1c70dca35a78c2134d3a09380b6a97589fa878ba
parent16524b7f36e6a986c50860e491ff9e0a9165d662 (diff)
downloadredmine-32bcc5903e5b3dbd4eb7957108a394f38c584504.tar.gz
redmine-32bcc5903e5b3dbd4eb7957108a394f38c584504.zip
Merged r23252 from trunk to 6.0-stable (#41728).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23253 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 0dda8f0d3..e5890b082 100644
--- 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.2.0'
diff --git a/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb b/test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
index baa616d10..8d8218548 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,
- 'HELLO.CBL' => false, # Rouge does not support COBOL
+ 'HELLO.abc' => false,
'HELLO.C' => true
}
to_test.each do |filename, expected|