Feature #36594

Relax rouge version dependency in Gemfile

Added by Holger Just 10 months ago. Updated 10 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution:

Description

The rouge gem claims to follow Semantic Versioning 2.0.0. As such, most releases of the gem in the past bumped the minor version.

I think it is not necessary to bump every minor release in our Gemfile, thereby forcing users on older Redmine releases to stay on an older rouge version unnecessarily.

As such, I think we should relax the rouge dependency to something like

gem "rouge", "~> 3.28" 

As with this change, people might have different languages available (as different rouge versions support different languages). Accordingly, I propose we also dynamically generate the list of highlighted languages (currently in public/help/code_highlighting_languages.html) with a controller action.


Related issues

Related to Redmine - Feature #33859: Add a list of supported languages by the code highlighter... Closed
Related to Redmine - Patch #36325: Update Rouge to 3.28 Closed

History

#1 Updated by Holger Just 10 months ago

  • Category set to Text formatting

#2 Updated by Holger Just 10 months ago

  • Related to Feature #33859: Add a list of supported languages by the code highlighter to the help added

#3 Updated by Holger Just 10 months ago

Also available in: Atom PDF