forked from asciidoctor/docbookrx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docbookrx.gemspec
28 lines (25 loc) · 1007 Bytes
/
docbookrx.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
# -*- encoding: utf-8 -*-
require File.expand_path '../lib/docbookrx/identity', __FILE__
Gem::Specification.new do |s|
s.name = Docbookrx::Identity.name
s.version = Docbookrx::Identity.version
s.authors = ['Dan Allen']
s.email = ['[email protected]']
s.homepage = 'https://github.com/asciidoctor/docbookrx'
s.summary = 'A DocBook to AsciiDoc converter'
s.description = 'The prescription for all your DocBook pain. Converts DocBook XML to AsciiDoc.'
s.license = 'MIT'
files = begin
IO.popen('git ls-files -z') {|io| io.read }.split "\0"
rescue
Dir['**/*']
end
s.files = files.grep(/^(?:(?:bin|lib|tasks|spec)\/.+|Rakefile|LICENSE|(?:README|WORKLOG)\.adoc)$/)
s.executables = ['docbookrx']
s.test_files = s.files.grep(/^spec\//)
s.extra_rdoc_files = Dir['README.adoc', 'LICENSE']
s.require_paths = ['lib']
s.add_runtime_dependency 'nokogiri', '~> 1.6.7'
s.add_development_dependency 'rake', '~> 10.4.0'
s.add_development_dependency 'rspec', '~> 3.4.0'
end