forked from yob/pdf-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pdf-reader.gemspec
49 lines (39 loc) · 1.86 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
44
45
46
47
48
49
# 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 = "1.0.0.beta2"
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.files = Dir.glob("{examples,lib}/**/**/*") + ["Rakefile"]
spec.executables << "pdf_object"
spec.executables << "pdf_text"
spec.executables << "pdf_list_callbacks"
spec.executables << "pdf_callbacks"
spec.has_rdoc = true
spec.extra_rdoc_files = %w{README.rdoc TODO CHANGELOG MIT-LICENSE }
spec.rdoc_options << '--title' << 'PDF::Reader Documentation' <<
'--main' << 'README.rdoc' << '-q'
spec.authors = ["James Healy"]
spec.email = ["[email protected]"]
spec.homepage = "http://github.com/yob/pdf-reader"
spec.required_ruby_version = ">=1.8.7"
spec.add_development_dependency("rake")
spec.add_development_dependency("roodi")
spec.add_development_dependency("rspec", "~>2.3")
spec.add_development_dependency("ZenTest", "~>4.4.2")
spec.add_dependency('Ascii85', '~> 1.0.0')
spec.add_dependency('ruby-rc4')
spec.post_install_message = <<END_DESC
********************************************
This is a beta release of PDF::Reader to gather feedback on the proposed
API changes.
The old API is marked as deprecated but will continue to work with no
visible warnings for now.
The new API is documented in the README and in rdoc for the PDF::Reader,
PDF::Reader::Page and PDF::Reader::ObjectHash classes.
Do not use this in production, stick to stable releases for that. If you do
take the new API for a spin, please send any feedback my way.
********************************************
END_DESC
end