From 729378121f789632acd4fc84badf11dd1f66d0a5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 31 Dec 2017 22:36:21 +0000 Subject: various URL updates .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. --- .olddoc.yml | 2 +- README | 2 +- msgthr.gemspec | 8 ++++++++ 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 -- cgit v1.2.3-24-ge0c7