-
Notifications
You must be signed in to change notification settings - Fork 1
/
asciidoctor-revealjs.gemspec
32 lines (26 loc) · 1.2 KB
/
asciidoctor-revealjs.gemspec
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
# -*- encoding: utf-8 -*-
require File.expand_path '../lib/asciidoctor-revealjs/version', __FILE__
Gem::Specification.new do |s|
s.name = 'asciidoctor-revealjs'
s.version = Asciidoctor::Revealjs::VERSION
s.authors = ['Olivier Bilodeau']
s.email = ['olivier@bottomlesspit.org']
s.homepage = 'https://github.com/asciidoctor/asciidoctor-reveal.js'
s.summary = 'Converts AsciiDoc to HTML for a Reveal.js presentation'
s.description = 'Reveal.JS back-end for Asciidoctor and Asciidoctor.js. Write slides in AsciiDoc!'
s.license = 'MIT'
s.required_ruby_version = '>= 1.9.3'
files = begin
(result = Open3.popen3('git ls-files -z') {|_, out| out.read }.split %(\0)).empty? ? Dir['**/*'] : result
rescue
Dir['**/*']
end
s.files = files.grep %r/^(?:(?:lib|templates)\/.+|Gemfile|Rakefile|(?:CHANGELOG|LICENSE|README)\.adoc|#{s.name}\.gemspec)$/
s.executables = ['asciidoctor-revealjs']
s.extra_rdoc_files = Dir['README.adoc', 'LICENSE.adoc', 'HACKING.adoc']
s.require_paths = ['lib']
s.add_runtime_dependency 'asciidoctor', '~> 1.5.4'
s.add_runtime_dependency 'slim', '~> 3.0.6'
s.add_runtime_dependency 'thread_safe', '~> 0.3.5'
s.add_development_dependency 'rake', '~> 10.4.2'
end