-
Notifications
You must be signed in to change notification settings - Fork 49
/
docbookrx.gemspec
30 lines (27 loc) · 1.17 KB
/
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
29
30
# -*- 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'
# NOTE required ruby version is informational only; it's not enforced since it can't be overridden and can cause builds to break
#s.required_ruby_version = '>= 2.3.0'
begin
(files = `git ls-files -z`.split ?\0).empty? && (files = Dir['**/*'])
rescue
files = 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.15.0'
s.add_development_dependency 'rake', '~> 13.0.0'
s.add_development_dependency 'rspec', '~> 3.9.0'
end