aboutsummaryrefslogtreecommitdiff
path: root/gen
diff options
context:
space:
mode:
Diffstat (limited to 'gen')
-rw-r--r--gen6
1 files changed, 3 insertions, 3 deletions
diff --git a/gen b/gen
index 4d8fff4..cf86865 100644
--- a/gen
+++ b/gen
@@ -7,7 +7,7 @@ require 'nokogiri'
require 'open-uri'
REPOSITORIES_XML = 'https://api.gentoo.org/overlays/repositories.xml'.freeze
-$xml = Nokogiri::XML(open(REPOSITORIES_XML))
+$xml = Nokogiri::XML(URI.open(REPOSITORIES_XML))
def render_table
r = ''
@@ -64,7 +64,7 @@ renderer = ERB.new(DATA.read)
puts renderer.result
__END__
-<h1 class="first-header">Gentoo Repositories</h1>
+<h1 class="first-header">Gentoo repositories</h1>
<p>
<a href="https://wiki.gentoo.org/wiki/Overlay">Ebuild repositories</a> contain additional packages for your Gentoo system.
@@ -91,7 +91,7 @@ __END__
<table class="table">
<tr>
- <th>Repository Name</th>
+ <th>Repository name</th>
<th>Description</th>
<th>Contact</th>
</tr>