Skip to content

Commit

Permalink
add metadata with urls to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Aug 14, 2018
1 parent 7faff35 commit 39bb2f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions image_optim.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Gem::Specification.new do |s|

s.rubyforge_project = s.name

s.metadata = {
'bug_tracker_uri' => "https://github.com/toy/#{s.name}/issues",
'changelog_uri' => "https://github.com/toy/#{s.name}/CHANGELOG.markdown",
'documentation_uri' => "https://www.rubydoc.info/gems/#{s.name}/#{s.version}",
'source_code_uri' => "https://github.com/toy/#{s.name}",
}

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
Expand Down

0 comments on commit 39bb2f4

Please sign in to comment.