From 864e2f59ac4e4aadf8c5a4bf97e35facaaea6883 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 26 Jul 2020 01:59:30 +0000 Subject: allow multiple rdoc_url and cgit_url values Might as well, since domain name ownership is a shaky thing and ICANN may try to screw the world over once again. --- lib/olddoc/news_atom.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/olddoc/news_atom.rb') diff --git a/lib/olddoc/news_atom.rb b/lib/olddoc/news_atom.rb index ed01197..39f9bb8 100644 --- a/lib/olddoc/news_atom.rb +++ b/lib/olddoc/news_atom.rb @@ -32,9 +32,9 @@ module Olddoc::NewsAtom # :nodoc: def news_atom_xml project_name, short_desc, _ = readme_metadata new_tags = tags[0,10] - atom_uri = @rdoc_uri.dup + atom_uri = @rdoc_uri[0].dup atom_uri.path += "NEWS.atom.xml" - news_uri = @rdoc_uri.dup + news_uri = @rdoc_uri[0].dup news_uri.path += "NEWS.html" dst = '' -- cgit v1.2.3-24-ge0c7