about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--Rakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 16bcb6b..6585e9f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -37,6 +37,7 @@ cgit_url = "http://git.bogomips.org/cgit/unicorn.git"
 desc 'prints news as an Atom feed'
 task :news_atom do
   require 'nokogiri'
+  new_tags = tags[0,10]
   puts(Nokogiri::XML::Builder.new do
     feed :xmlns => "http://www.w3.org/2005/Atom" do
       id! "http://unicorn.bogomips.org/NEWS.atom.xml"
@@ -44,8 +45,8 @@ task :news_atom do
       subtitle "Rack HTTP server for Unix and fast clients"
       link! :rel => 'alternate', :type => 'text/html',
             :href => 'http://unicorn.bogomips.org/NEWS.html'
-      updated tags.first[:time]
-      tags.each do |tag|
+      updated new_tags.first[:time]
+      new_tags.each do |tag|
         entry do
           title tag[:subject]
           updated tag[:time]