summaryrefslogtreecommitdiff
path: root/Gemfile
blob: 87e6b96ae6a0bf0126b6fd5b30fe903df5318e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
source 'https://rubygems.org'
gemspec

unless ENV.fetch('ASCIIDOCTOR_VERSION', '').empty?
  if (match = ENV['ASCIIDOCTOR_VERSION'].match(/^git:(\w+)/))
    gem 'asciidoctor', github: 'asciidoctor/asciidoctor', ref: match[1]
  else
    gem 'asciidoctor', ENV['ASCIIDOCTOR_VERSION']
  end
end

group :development do
  # Keep in sync with version used in opal-node-runtime <- asciidoctor.js.
  # TODO: Maybe replace with JS version after
  #   https://github.com/Mogztter/opal-node-compiler/issues/6 is resolved.
  gem 'opal', github: 'opal/opal', ref: '31d26d69'
end

group :ci do
  gem 'codacy-coverage', '~> 2.2', require: false
end