From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS63949 64.71.152.0/24 X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RDNS_NONE,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from 80x24.org (unknown [64.71.152.64]) by dcvr.yhbt.net (Postfix) with ESMTP id C7AE11F406 for ; Sun, 31 Dec 2017 22:53:52 +0000 (UTC) From: Eric Wong To: msgthr-public@80x24.org Subject: [PATCH] various URL updates Date: Sun, 31 Dec 2017 22:53:52 +0000 Message-Id: <20171231225352.14230-1-e@80x24.org> List-Id: .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 -- EW