Update Casks/d/deelay.rb
Co-authored-by: Bevan Kay <bevanjkay@gmail.com>
This commit is contained in:
parent
571c345f55
commit
38544a9204
|
@ -9,7 +9,7 @@ cask "deelay" do
|
|||
|
||||
livecheck do
|
||||
url :homepage
|
||||
regex(%r{href=.*?/(\w+)/(\w+)/deelay[._-](\d+(?:\.\d+)+)\.zip}i)
|
||||
regex(%r{href=.*?/(\w+)/(\w+)/deelay[._-]v?(\d+(?:\.\d+)+)\.zip}i)
|
||||
strategy :page_match do |page, regex|
|
||||
page.scan(regex).map { |match| "#{match[2]},#{match[0]},#{match[1]}" }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue