billymeltdown-choctop 0.11.0.7 → 0.11.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/choctop/appcast.rb +3 -3
  2. metadata +2 -2
@@ -23,11 +23,11 @@ module ChocTop::Appcast
23
23
  xml.channel do
24
24
  xml.title(app_name)
25
25
  xml.description("#{app_name} updates")
26
- xml.link(base_url)
26
+ xml.link(URI.escape(base_url))
27
27
  xml.language('en')
28
28
  xml.pubDate( Time.now.strftime("%a, %d %b %Y %H:%M:%S %z") )
29
29
  # xml.lastBuildDate(Time.now.rfc822)
30
- xml.atom(:link, :href => "#{base_url}/#{appcast_filename}",
30
+ xml.atom(:link, :href => URI.escape("#{base_url}/#{appcast_filename}"),
31
31
  :rel => "self", :type => "application/rss+xml")
32
32
 
33
33
  xml.item do
@@ -35,7 +35,7 @@ module ChocTop::Appcast
35
35
  xml.tag! "sparkle:releaseNotesLink", "#{base_url}/#{release_notes}"
36
36
  xml.pubDate Time.now.strftime("%a, %d %b %Y %H:%M:%S %z")
37
37
  xml.guid("#{name}-#{version}", :isPermaLink => "false")
38
- xml.enclosure(:url => "#{base_url}/#{pkg_name}",
38
+ xml.enclosure(:url => "#{base_url}/#{URI.escape(pkg_name)}",
39
39
  :length => "#{File.size(pkg)}",
40
40
  :type => "application/dmg",
41
41
  :"sparkle:version" => version,
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 11
8
8
  - 0
9
- - 7
10
- version: 0.11.0.7
9
+ - 8
10
+ version: 0.11.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dr Nic Williams