Rakefile in kgio-2.0.0pre1 vs Rakefile in kgio-2.0.0
- old
+ new
@@ -3,11 +3,11 @@
# most tasks are in the GNUmakefile which offers better parallelism
def tags
timefmt = '%Y-%m-%dT%H:%M:%SZ'
@tags ||= `git tag -l`.split(/\n/).map do |tag|
- if %r{\Av[\d\.]+\z} =~ tag
+ if %r{\Av[\d\.]+} =~ tag
header, subject, body = `git cat-file tag #{tag}`.split(/\n\n/, 3)
header = header.split(/\n/)
tagger = header.grep(/\Atagger /).first
body ||= "initial"
{
@@ -23,10 +23,10 @@
end.compact.sort { |a,b| b[:time] <=> a[:time] }
end
cgit_url = "http://git.bogomips.org/cgit/kgio.git"
git_url = ENV['GIT_URL'] || 'git://git.bogomips.org/kgio.git'
-web_url = "http://unicorn.bogomips.org/kgio"
+web_url = "http://bogomips.org/kgio"
desc 'prints news as an Atom feed'
task :news_atom do
require 'nokogiri'
new_tags = tags[0,10]