about summary refs log tree commit homepage
path: root/msgthr.gemspec
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-12-31 22:36:21 +0000
committerEric Wong <e@80x24.org>2017-12-31 22:50:30 +0000
commit729378121f789632acd4fc84badf11dd1f66d0a5 (patch)
tree3626060f2310f02a8362c7f78e02394ed2c03225 /msgthr.gemspec
parentd06d8c221be5b82d00da821323fb6d1889e58105 (diff)
downloadmsgthr-729378121f789632acd4fc84badf11dd1f66d0a5.tar.gz
.olddoc.yml requires the rdoc_url to point to the top-level
for NEWS, unfortunately; but attempt to reduce the indirection
in the main README.  While we're at it, attempt to use the
metadata field in newer Rubygems.
Diffstat (limited to 'msgthr.gemspec')
-rw-r--r--msgthr.gemspec8
1 files changed, 8 insertions, 0 deletions
diff --git a/msgthr.gemspec b/msgthr.gemspec
index 810af92..90d6b7e 100644
--- a/msgthr.gemspec
+++ b/msgthr.gemspec
@@ -14,4 +14,12 @@ Gem::Specification.new do |s|
   s.files = manifest
   s.licenses = 'GPL-2.0+'
   s.required_ruby_version = '>= 1.9.3'
+
+  if s.respond_to?(:metadata=)
+    s.metadata = {
+      'source_code_uri' => 'https://80x24.org/msgthr.git',
+      'mailing_list_uri' => 'https://80x24.org/msgthr-public/',
+      'bug_tracker_uri' => 'https://80x24.org/msgthr-public/',
+    }
+  end
 end