summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-03-15 12:02:43 +0100
committerAlex Legler <alex@a3li.li>2015-03-15 12:02:43 +0100
commitbd3d99c203f1f2eeef4faa8b700ae29522ce7928 (patch)
treefe273758db0efa0eeddc55193dd051273ecdd921
parentImplement yaml dump (diff)
downloadsecurity-bd3d99c203f1f2eeef4faa8b700ae29522ce7928.tar.gz
security-bd3d99c203f1f2eeef4faa8b700ae29522ce7928.tar.bz2
security-bd3d99c203f1f2eeef4faa8b700ae29522ce7928.zip
Dump URI as well
-rw-r--r--lib/helpers.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/helpers.rb b/lib/helpers.rb
index ab90435..5ad9e82 100644
--- a/lib/helpers.rb
+++ b/lib/helpers.rb
@@ -49,7 +49,8 @@ helpers do
{
'id' => item.id,
'title' => item.title,
- 'severity' => item.severity
+ 'severity' => item.severity,
+ 'uri' => BASE_URL + 'glsa/' + item.id
}
end.to_yaml
end