summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-07-09 23:59:14 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-07-30 03:44:44 -0600
commit02fe12308863b67dcf14c6c18b34fc756f8762dd (patch)
tree2a5f581ae698e5578a61f5bd31ee807861ff4477 /Gemfile
parent3fc37aec6202b6bd9cb80b59f612adbee3c9f942 (diff)
move asciimath dependency declaration to Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 1edef004..37339965 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,12 +6,14 @@ source 'https://rubygems.org'
gemspec
group :development do
- gem 'asciimath', ENV['ASCIIMATH_VERSION'] if ENV.key? 'ASCIIMATH_VERSION'
- # coderay is needed for testing syntax highlighting
+ # asciimath is needed for testing AsciiMath in DocBook backend; Asciidoctor supports asciimath >= 1.0.0
+ gem 'asciimath', (ENV.fetch 'ASCIIMATH_VERSION', '~> 2.0')
+ # coderay is needed for testing source highlighting
gem 'coderay', '~> 1.1.0'
gem 'haml', '~> 4.0' if RUBY_ENGINE == 'truffleruby'
+ # pygments.rb is needed for testing source highlighting; Asciidoctor supports pygments.rb >= 1.2.0
gem 'pygments.rb', ENV['PYGMENTS_VERSION'] if ENV.key? 'PYGMENTS_VERSION'
- # Asciidoctor supports Rouge >= 2
+ # rouge is needed for testing source highlighting; Asciidoctor supports rouge >= 2
gem 'rouge', (ENV.fetch 'ROUGE_VERSION', '~> 3.0')
end