Match Sparkle appcasts with HTTPS namespace.
This commit is contained in:
parent
82535696fa
commit
5ae726e2b4
@ -32,7 +32,7 @@ module Homebrew
|
|||||||
return false unless xml
|
return false unless xml
|
||||||
|
|
||||||
contents = Strategy.page_contents(url)
|
contents = Strategy.page_contents(url)
|
||||||
contents.include?("http://www.andymatuschak.org/xml-namespaces/sparkle")
|
contents.match?(%r{https?://www.andymatuschak.org/xml-namespaces/sparkle})
|
||||||
end
|
end
|
||||||
|
|
||||||
# Checks the content at the URL for new versions.
|
# Checks the content at the URL for new versions.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user