プロジェクト

全般

プロフィール

Vote #80137

完了

Update Rouge to 3.12.0

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Gems support_45
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
45
version_id:
127
issue_org_id:
31556
author_id:
107353
assigned_to_id:
332
comments:
17
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]


journals

There is a failing test: https://gitlab.com/redmine-org/redmine/-/jobs/229555710

--------------------------------------------------------------------------------
Same fail with 3.4.1: https://gitlab.com/redmine-org/redmine/-/jobs/230187783
--------------------------------------------------------------------------------
This is due to the change https://github.com/rouge-ruby/rouge/pull/1165/. Rouge changed the CSS class for quotation marks in 3.4.0, so we can simply update the test.

By the way, how about delivering this in 4.1.0 instead of 4.2.0?
--------------------------------------------------------------------------------
Go MAEDA wrote:
> This is due to the change https://github.com/rouge-ruby/rouge/pull/1165/. Rouge changed the CSS class for quotation marks in 3.4.0, so we can simply update the test.
>
> By the way, how about delivering this in 4.1.0 instead of 4.2.0?

Now that 3.4.1 is out with a hot fix, I think it is safe.
--------------------------------------------------------------------------------
Setting the target version to 4.1.0.
--------------------------------------------------------------------------------
Committed the patch. Thanks.
--------------------------------------------------------------------------------
Rouge 3.5.1 has been released on July 25th.

It passed all the tests. I think we can update Rouge to 3.5.1.

<pre><code class="diff">
diff --git a/Gemfile b/Gemfile
index ecd3bd150..4b7350e40 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.4.1"
+gem "rouge", "~> 3.5.1"
gem "request_store", "1.0.5"
gem "mini_mime", "~> 1.0.1"
gem "actionpack-xml_parser"
</code></pre>

--------------------------------------------------------------------------------
Updated Rouge to 3.5.1 in r18319.
--------------------------------------------------------------------------------
Rouge 3.6.0 and 3.7.0 Changelog: https://github.com/rouge-ruby/rouge/blob/master/README.md

Tests pass: https://gitlab.com/redmine-org/redmine/pipelines/74619202
--------------------------------------------------------------------------------
Marius BALTEANU wrote:
> Rouge 3.6.0 and 3.7.0 Changelog: https://github.com/rouge-ruby/rouge/blob/master/README.md
>
> Tests pass: https://gitlab.com/redmine-org/redmine/pipelines/74619202

Committed the patch. Thanks.

--------------------------------------------------------------------------------
Rouge 3.8.0 has been released on 2019-08-07.
https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md#version-380-2019-08-07

<pre><code class="diff">
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|
</code></pre>
--------------------------------------------------------------------------------
Updated Rouge to 3.8.0 in r18369.
--------------------------------------------------------------------------------
Updated Rouge to 3.9.0 in r18382.
--------------------------------------------------------------------------------
Updated Rouge to 3.10.0 in r18424.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Updated Rouge to 3.11.0 in r18482.
--------------------------------------------------------------------------------
Updated Rouge to 3.12.0 in r18710.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリGems support_45 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0