-
Notifications
You must be signed in to change notification settings - Fork 271
/
pdf-reader.gemspec
43 lines (40 loc) · 1.9 KB
/
pdf-reader.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
# RSpec files aren't included, as they depend on the PDF files,
# which will make the gem filesize irritatingly large
Gem::Specification.new do |spec|
spec.name = "pdf-reader"
spec.version = "2.13.0"
spec.summary = "A library for accessing the content of PDF files"
spec.description = "The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe"
spec.license = "MIT"
spec.files = Dir.glob("{examples,lib,rbi}/**/**/*") + ["Rakefile"]
spec.executables << "pdf_object"
spec.executables << "pdf_text"
spec.executables << "pdf_callbacks"
spec.extra_rdoc_files = %w{README.md TODO CHANGELOG MIT-LICENSE }
spec.rdoc_options << '--title' << 'PDF::Reader Documentation' <<
'--main' << 'README.md' << '-q'
spec.authors = ["James Healy"]
spec.email = ["james@yob.id.au"]
spec.homepage = "https://github.com/yob/pdf-reader"
spec.required_ruby_version = ">=2.0"
if spec.respond_to?(:metadata)
spec.metadata = {
"bug_tracker_uri" => "https://github.com/yob/pdf-reader/issues",
"changelog_uri" => "https://github.com/yob/pdf-reader/blob/v#{spec.version}/CHANGELOG",
"documentation_uri" => "https://www.rubydoc.info/gems/pdf-reader/#{spec.version}",
"source_code_uri" => "https://github.com/yob/pdf-reader/tree/v#{spec.version}",
}
end
spec.add_development_dependency("rake", "< 13.0")
spec.add_development_dependency("rspec", "~> 3.5")
spec.add_development_dependency("cane", "~> 3.0")
spec.add_development_dependency("morecane", "~> 0.2")
spec.add_development_dependency("pry")
spec.add_development_dependency("rdoc")
# v2.0.0 has some encoding issues with binary data
spec.add_dependency('Ascii85', '>= 1.0', '< 3.0', '!= 2.0.0')
spec.add_dependency('ruby-rc4')
spec.add_dependency('hashery', '~> 2.0')
spec.add_dependency('ttfunk')
spec.add_dependency('afm', '~> 0.2.1')
end