-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathebookbinder.gemspec
37 lines (30 loc) · 1.41 KB
/
ebookbinder.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
33
34
35
36
37
# encoding: utf-8
require_relative 'lib/ebookbinder/version'
Gem::Specification.new do |s|
s.name = 'ebookbinder'
s.version = Ebookbinder::VERSION
s.authors = 'Jan Friedrich'
s.email = '[email protected]'
s.summary = 'This library should help to make ebooks as easy as possible. It interprets an XHTML structure and generate a corresponding ebook on base of easy asumptions.'
s.homepage = 'https://github.com/janfri/ebookbinder'
s.licenses = 'MIT'
s.require_paths = ['lib']
s.files = %w[Changelog LICENSE README.md] + Dir['lib/**/*'] + Dir['examples/**/*'].reject {|fn| fn =~ %r(/build/)}
s.post_install_message = <<~END
+-----------------------------------------------------------------------+
| To run rake check you need epubcheck installed and accessible via |
| `epubcheck` on the command line. |
| |
| https://www.w3.org/publishing/epubcheck/ |
+-----------------------------------------------------------------------+
END
s.required_ruby_version = '>= 2.3'
s.metadata = {
'homepage_uri' => s.homepage,
'source_code_uri' => s.homepage
}
s.add_dependency('nokogiri', '~> 1.16')
s.add_development_dependency('rake', '>= 13.0')
s.add_development_dependency('rim', '~> 3.0')
s.add_development_dependency('regtest', '~> 2.4')
end