From 61a279420f3de97d08a8b4370ea982c5dd950bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Wed, 24 Apr 2019 09:59:44 +1000 Subject: [PATCH] Add links to gemspec This publishes the direct links on rubygems website. Also allows easier automation around gem updates. --- unf_ext.gemspec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/unf_ext.gemspec b/unf_ext.gemspec index 41398ce..78cc226 100644 --- a/unf_ext.gemspec +++ b/unf_ext.gemspec @@ -39,4 +39,13 @@ Gem::Specification.new do |gem| gem.add_development_dependency("bundler", [">= 1.2"]) gem.add_development_dependency("rake-compiler", [">= 0.7.9"]) gem.add_development_dependency("rake-compiler-dock", ["~> 0.7.0"]) + + if gem.respond_to?(:metadata) + gem.metadata = { + "bug_tracker_uri" => "https://github.com/knu/ruby-unf_ext/issues", + "changelog_uri" => "https://github.com/knu/ruby-unf_ext/blob/master/CHANGELOG.md", + "homepage_uri" => "https://github.com/knu/ruby-unf_ext", + "source_code_uri" => "https://github.com/knu/ruby-unf_ext" + } + end end