Skip to content

Commit

Permalink
Merge pull request #114 from orien/gem-metadata
Browse files Browse the repository at this point in the history
Add project metadata to the gemspec
  • Loading branch information
dewski committed Oct 2, 2019
2 parents 852934f + 712240a commit d6c1374
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions peek.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ Gem::Specification.new do |gem|
gem.homepage = 'https://github.com/peek/peek'
gem.license = 'MIT'

gem.metadata = {
'bug_tracker_uri' => 'https://github.com/peek/peek/issues',
'changelog_uri' => "https://github.com/peek/peek/blob/v#{gem.version}/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/peek/#{gem.version}",
'source_code_uri' => "https://github.com/peek/peek/tree/v#{gem.version}",
}

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
Expand Down

0 comments on commit d6c1374

Please sign in to comment.