-
Notifications
You must be signed in to change notification settings - Fork 38
/
pdf-core.gemspec
48 lines (45 loc) · 1.89 KB
/
pdf-core.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
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = 'pdf-core'
spec.version = '0.10.0'
spec.platform = Gem::Platform::RUBY
spec.summary = 'Low level PDF generator.'
spec.description = 'PDF::Core is used by Prawn to render PDF documents. It provides low-level format support.'
spec.files =
Dir.glob('lib/**/**/*') +
%w[COPYING GPLv2 GPLv3 LICENSE] +
['pdf-core.gemspec']
spec.require_path = 'lib'
spec.required_ruby_version = '>= 2.7'
spec.required_rubygems_version = '>= 1.3.6'
if File.basename($PROGRAM_NAME) == 'gem' && ARGV.include?('build')
signing_key = File.expand_path('~/.gem/gem-private_key.pem')
if File.exist?(signing_key)
spec.cert_chain = ['certs/pointlessone.pem']
spec.signing_key = signing_key
else
warn 'WARNING: Signing key is missing. The gem is not signed and its authenticity can not be verified.'
end
end
spec.authors = [
'Alexander Mankuta', 'Gregory Brown', 'Brad Ediger', 'Daniel Nelson',
'Jonathan Greenberg', 'James Healy',
]
spec.email = [
]
spec.licenses = %w[Nonstandard GPL-2.0-only GPL-3.0-only]
spec.homepage = 'http://prawnpdf.org/'
spec.metadata = {
'rubygems_mfa_required' => 'true',
'homepage_uri' => spec.homepage,
'changelog_uri' => "https://github.com/prawnpdf/pdf-core/blob/#{spec.version}/CHANGELOG.md",
'source_code_uri' => 'https://github.com/prawnpdf/pdf-core',
'documentation_uri' => "https://prawnpdf.org/docs/pdf-core/#{spec.version}/",
'bug_tracker_uri' => 'https://github.com/prawnpdf/pdf-core/issues',
}
spec.add_development_dependency('pdf-inspector', '~> 1.1.0')
spec.add_development_dependency('pdf-reader', '~>1.2')
spec.add_development_dependency('prawn-dev', '~> 0.4.0')
end