-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathrpub.gemspec
54 lines (48 loc) · 1.71 KB
/
rpub.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rpub/version', __FILE__)
Gem::Specification.new do |s|
# Metadata
s.name = 'rpub'
s.version = Rpub::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Arjan van der Gaag']
s.email = %q{arjan@arjanvandergaag.nl}
s.description = %q{an ePub generation library in Ruby}
s.homepage = %q{http://avdgaag.github.com/rpub}
s.summary = <<-EOS
rPub is a command-line tool that generates a collection of plain text input
files into an eBook in ePub format. It provides several related functions to
make working with ePub files a little easier:
* Generation of table of contents
* Packaging your eBook in an archive with additional README file
* Embedding fonts
* Easy previewing as you write
EOS
# Files
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
# Rdoc
s.rdoc_options = ['--charset=UTF-8']
s.extra_rdoc_files = [
'LICENSE',
'README.md',
'HISTORY.md'
]
# Dependencies
s.add_runtime_dependency 'typogruby'
s.add_runtime_dependency 'kramdown'
s.add_runtime_dependency 'rubyzip'
s.add_runtime_dependency 'builder'
s.add_runtime_dependency 'nokogiri'
s.add_runtime_dependency 'textstats'
s.add_runtime_dependency 'commander'
s.add_development_dependency 'yard'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'cucumber'
s.add_development_dependency 'aruba'
s.add_development_dependency 'coveralls'
end