lib/motion/project/appcast.rb in motion-sparkle-0.0.4 vs lib/motion/project/appcast.rb in motion-sparkle-0.0.5
- old
+ new
@@ -49,12 +49,12 @@
item.add_element('title').text = "#{@config.name} #{@config.version}"
item.add_element('pubDate').text = Time.now.strftime("%a, %d %b %Y %H:%M:%S %z")
guid = item.add_element('guid')
guid.text = "#{@config.name}-#{@config.version}"
guid.attributes['isPermaLink'] = false
- item.add_element('sparkle:releaseNotesLink').text = "#{appcast.notes_url}/#{appcast.notes_filename}"
+ item.add_element('sparkle:releaseNotesLink').text = "#{appcast.notes_url}"
enclosure = item.add_element('enclosure')
- enclosure.attributes['url'] = "#{appcast.package_url}/#{@package_file}"
+ enclosure.attributes['url'] = "#{appcast.package_url}"
enclosure.attributes['length'] = "#{@package_size}"
enclosure.attributes['type'] = "application/octet-stream"
enclosure.attributes['sparkle:version'] = @config.version
enclosure.attributes['sparkle:dsaSignature'] = @package_signature
rss