diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2020-01-20 12:50:58 +0300 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2020-01-20 02:50:58 -0700 |
| commit | 58256160b05e61644f740771e8cd2179c62ce6c2 (patch) | |
| tree | 8edc1b221e3a8b75d74b1c8613a094e1ec406cef /Gemfile | |
| parent | 234e7afbe2c038941e288ad4ba7b4fe7478a1841 (diff) | |
Handle ASCIIDOCTOR_VERSION env variable in Gemfile (PR #227)
Commit cead09c881199388bca86dfa30df43ca2c83a175 attempted to test against asciidoctor-1.5.3 (oldest supported) on Travis.
However, unlike asciidoctor-pdf, asciidoctor-epub3 didn't have any logic for ASCIIDOCTOR_VERSION.
Diffstat (limited to 'Gemfile')
| -rw-r--r-- | Gemfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,8 @@ source 'https://rubygems.org' # Look in asciidoctor-epub3.gemspec for runtime and development dependencies. gemspec +gem 'asciidoctor', ENV['ASCIIDOCTOR_VERSION'], require: false if ENV.key? 'ASCIIDOCTOR_VERSION' + group :optional do gem 'epubcheck-ruby', '4.1.1.0' gem 'kindlegen', (Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.4.0') ? '3.0.3' : '3.0.5' |
