lib/chocbomb/tools/feed.rb in chocbomb-0.0.0 vs lib/chocbomb/tools/feed.rb in chocbomb-0.0.1
- old
+ new
@@ -32,10 +32,11 @@
xml.instruct!
xml_string = xml.rss('xmlns:atom' => "http://www.w3.org/2005/Atom",
'xmlns:sparkle' => "http://www.andymatuschak.org/xml-namespaces/sparkle",
:version => "2.0") do
xml.channel do
- xml.title(@name)
+ xml.title(chocbomb.name)
+ xml.tag! "sparkle:minimumSystemVersion", chocbomb.minimum_osx_version unless chocbomb.minimum_osx_version.nil?
xml.description("#{chocbomb.name} updates")
xml.link(chocbomb.base_url)
xml.language('en')
xml.pubDate( Time.now.strftime("%a, %d %b %Y %H:%M:%S %z") )
# xml.lastBuildDate(Time.now.rfc822)
\ No newline at end of file