18 lines
538 B
Ruby
18 lines
538 B
Ruby
cask "hubstaff" do
|
|
version "1.5.15,2652"
|
|
sha256 "abea6948da97884d2f9890ffca45a75408d2a750681eae0212f79a202c77b429"
|
|
|
|
url "https://app.hubstaff.com/download/#{version.after_comma}-mac-os-x-#{version.before_comma.dots_to_hyphens}-release"
|
|
name "Hubstaff"
|
|
homepage "https://hubstaff.com/"
|
|
|
|
livecheck do
|
|
url "https://app.hubstaff.com/appcast.xml"
|
|
strategy :sparkle do |item|
|
|
"#{item.short_version.split("-").first},#{item.url[%r{/(\d+)-mac-os-x-(?:\d(?:-\d+)*)-release}i, 1]}"
|
|
end
|
|
end
|
|
|
|
app "Hubstaff.app"
|
|
end
|