lib/damagecontrol/standard_persister.rb in damagecontrol-0.5.0 vs lib/damagecontrol/standard_persister.rb in damagecontrol-0.5.0.1391
- old
+ new
@@ -31,12 +31,12 @@
RSS::Maker.make("2.0") do |rss|
FileUtils.mkdir_p(File.dirname(project.changesets_rss_file))
File.open(project.changesets_rss_file, "w") do |io|
rss_writer = DamageControl::Visitor::RssWriter.new(
rss,
- "Changesets for #{@name}",
+ "Changesets for #{project.name}",
"http://localhost:4712/", # TODO point to web version of changeset
- project.description,
+ project.name,
project.tracker || Tracker::Null.new,
project.scm_web || SCMWeb::Null.new
)
last_15_changesets.accept(rss_writer)
io.write(rss.to_rss)
\ No newline at end of file