Skip to content

Commit

Permalink
Update gem metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
pointlessone committed Mar 5, 2024
1 parent acbc53b commit d7010dd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions ttfunk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ Gem::Specification.new do |spec|
spec.summary = 'TrueType Font Metrics Parser'
spec.description = 'Font Metrics Parser for the Prawn PDF generator'

spec.homepage = 'https://prawnpdf.org'
spec.metadata = {
'rubygems_mfa_required' => 'true',
}
spec.files = Dir.glob('lib/**/*') +
['CHANGELOG.md', 'README.md', 'COPYING', 'LICENSE', 'GPLv2', 'GPLv3']

if File.basename($PROGRAM_NAME) == 'gem' && ARGV.include?('build')
signing_key = File.expand_path('~/.gem/gem-private_key.pem')
Expand Down Expand Up @@ -41,9 +39,16 @@ Gem::Specification.new do |spec|
'camertron@gmail.com',
]
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/ttfunk/blob/#{spec.version}/CHANGELOG.md",
'source_code_uri' => 'https://github.com/prawnpdf/ttfunk',
'documentation_uri' => "https://prawnpdf.org/docs/ttfunk/#{spec.version}/",
'bug_tracker_uri' => 'https://github.com/prawnpdf/ttfunk/issues',
}

spec.files = Dir.glob('lib/**/*') +
['CHANGELOG.md', 'README.md', 'COPYING', 'LICENSE', 'GPLv2', 'GPLv3']
spec.required_ruby_version = '>= 2.7'
spec.add_runtime_dependency('bigdecimal', '~> 3.1')
spec.add_development_dependency('prawn-dev', '~> 0.4.0')
Expand Down

0 comments on commit d7010dd

Please sign in to comment.