From a6f1be6270700480be2b4bb8befb85460eb37e5b Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 11 Nov 2024 19:58:42 +0000 Subject: [PATCH] Update Rouge gem version to 4.5 (#41728). git-svn-id: https://svn.redmine.org/redmine/trunk@23252 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 2 +- test/unit/lib/redmine/syntax_highlighting/rouge_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 1afed558d..cd3e1d0d3 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.3.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| -- 2.39.5