summaryrefslogtreecommitdiff
path: root/Gemfile
blob: 3a7083464356037d635f56f07b0778825bfb3f3a (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', '~> 1.1', require: false
end