-
Notifications
You must be signed in to change notification settings - Fork 33
/
pdf-inspector.gemspec
46 lines (38 loc) · 1.55 KB
/
pdf-inspector.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
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = 'pdf-inspector'
spec.version = '1.3.0'
spec.platform = Gem::Platform::RUBY
spec.summary = 'A tool for analyzing PDF output'
spec.homepage = 'https://github.com/prawnpdf/pdf-inspector'
spec.cert_chain = ['certs/pointlessone.pem']
if $PROGRAM_NAME.end_with? 'gem'
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
end
spec.files = Dir.glob('{lib}/**/**/*') +
%w[CHANGELOG.md README.md COPYING LICENSE GPLv2 GPLv3]
spec.extra_rdoc_files = %w[CHANGELOG.md README.md]
spec.rdoc_options += %w[--title PDF::Inspector --main README.md -q]
spec.authors = [
'Gregory Brown', 'Brad Ediger', 'Daniel Nelson',
'Jonathan Greenberg', 'James Healy'
]
spec.email = [
]
spec.licenses = %w[PRAWN GPL-2.0 GPL-3.0]
spec.required_ruby_version = '>= 2.6'
spec.add_dependency('pdf-reader', '>=1.0', '< 3.0.a')
spec.add_development_dependency('prawn-dev', '~> 0.3.0')
spec.description = <<~END_DESC
This library provides a number of PDF::Reader[0] based tools for use in testing
PDF output. Presently, the primary purpose of this tool is to support the
tests found in Prawn[1], a pure Ruby PDF generation library.
However, it may be useful to others, so we have made it available as a gem in
its own right.
[0] https://github.com/yob/pdf-reader
[1] https://github.com/prawnpdf/prawn
END_DESC
end