about summary refs log tree commit homepage
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
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.
-rw-r--r--.olddoc.yml2
-rw-r--r--README2
-rw-r--r--msgthr.gemspec8
3 files changed, 10 insertions, 2 deletions
diff --git a/.olddoc.yml b/.olddoc.yml
index 40a2c22..757a2c5 100644
--- a/.olddoc.yml
+++ b/.olddoc.yml
@@ -1,6 +1,6 @@
 ---
 cgit_url: https://80x24.org/msgthr.git
 git_url: git://80x24.org/msgthr.git
-rdoc_url: https://80x24.org/msgthr/rdoc/
+rdoc_url: https://80x24.org/msgthr/
 ml_url: https://80x24.org/msgthr-public/
 public_email: msgthr-public@80x24.org
diff --git a/README b/README
index 326c5a6..3e68d72 100644
--- a/README
+++ b/README
@@ -76,7 +76,7 @@ because CSS/JS/images are all too complicated for us.
 
 RDoc API documentation in simple HTML is available at:
 
-        https://80x24.org/msgthr/rdoc/
+        https://80x24.org/msgthr/rdoc/Msgthr.html
 
 Copyright
 ---------
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