summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-06-15 00:26:31 -0600
committerGitHub <noreply@github.com>2019-06-15 00:26:31 -0600
commit10d14a3353e949de464864ca0bdd2c3f51187e6f (patch)
treedc81fbf7a671706a86356a7c4fcc6c7c48442bf6 /Gemfile
parent6e4a1c499769e9ed509c1a40729d296953a0f64e (diff)
resolves #3336 fix how options are passed to the Rouge lexer (PR #3339)
* restore compatibility with Rouge >= 3.4 * eagerly instantiate lexer if not using find_fancy * pass options to constructor of Rouge lexer instead of #lex method * don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer * add tests for passing options to the Rouge lexer * upgrade Rouge to 3.4.0 (for development); also test against Rouge 2.0.7 in CI
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 2cabd9d0..ecffc678 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,6 +5,7 @@ gemspec
group :development do
gem 'pygments.rb', ENV['PYGMENTS_VERSION'] if ENV.key? 'PYGMENTS_VERSION'
+ gem 'rouge', ENV['ROUGE_VERSION'] if ENV.key? 'ROUGE_VERSION'
end
group :doc do