about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-20 01:11:57 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-20 01:11:57 -0700
commit2e5f49904a95647c5355e4c21a4976660c63185a (patch)
tree21d6fb375ab63ca66c9584645268083ee2a9b4c1 /Rakefile
parent5531ceb42a993ef8a68ed557fc77d052b89bccfb (diff)
downloadrainbows-2e5f49904a95647c5355e4c21a4976660c63185a.tar.gz
While we're at it, remove trailing whitespace for
author names, too.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index e32d2b2..8198df9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -12,8 +12,8 @@ def tags
       body ||= "initial"
       {
         :time => Time.at(tagger.split(/ /)[-2].to_i).utc.strftime(timefmt),
-        :tagger_name => %r{^tagger ([^<]+)}.match(tagger)[1],
-        :tagger_email => %r{<([^>]+)>}.match(tagger)[1],
+        :tagger_name => %r{^tagger ([^<]+)}.match(tagger)[1].strip,
+        :tagger_email => %r{<([^>]+)>}.match(tagger)[1].strip,
         :id => `git rev-parse refs/tags/#{tag}`.chomp!,
         :tag => tag,
         :subject => subject,
@@ -49,7 +49,7 @@ task :news_atom do
           url = "#{cgit_url}/tag/?id=#{tag[:tag]}"
           link! :rel => "alternate", :type => "text/html", :href =>url
           id! url
-          content(:type => 'text') { tag[:body] }
+          content({:type => 'text'}, tag[:body])
         end
       end
     end