forked from asciidoctor/asciidoctor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
41 lines (35 loc) · 1.34 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# frozen_string_literal: true
source 'https://rubygems.org'
# Look in asciidoctor.gemspec for runtime and development dependencies
gemspec
group :development do
# 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'
gem 'open-uri-cached', '~> 1.0.0'
# 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'
# rouge is needed for testing source highlighting; Asciidoctor supports rouge >= 2
gem 'rouge', (ENV.fetch 'ROUGE_VERSION', '~> 3.0')
if RUBY_ENGINE == 'truffleruby'
gem 'nokogiri', '~> 1.10.0'
elsif (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.6.0')
gem 'nokogiri', '~> 1.12.0'
elsif (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.7.0')
gem 'nokogiri', '~> 1.13.0'
end
end
group :docs do
gem 'yard'
gem 'yard-tomdoc'
end
group :lint do
gem 'rubocop', '~> 1.24.0', require: false
gem 'rubocop-minitest', '~> 0.17.0', require: false
gem 'rubocop-rake', '~> 0.6.0', require: false
end
group :coverage do
gem 'simplecov', '~> 0.16.0'
end