diff --git a/Casks/l/latest.rb b/Casks/l/latest.rb index b339b92852..af5bc7c527 100644 --- a/Casks/l/latest.rb +++ b/Casks/l/latest.rb @@ -1,15 +1,19 @@ cask "latest" do - version "0.10.2" - sha256 "4382a2e2c923334cefa5fc7f749021e4b7e0dc158011ad9ee509efc4c532c8ca" + version "0.10.3" + sha256 "26e72a8a1555f1f352f4c09189d2feb7c8073f1a4a798fe4beb0e8fa86a7c649" url "https://max.codes/latest/#{version}.zip" name "Latest" desc "Utility that shows the latest app updates" homepage "https://max.codes/latest" + # Older versions may have a more recent `pubDate` than newer versions, so we + # have to check all the items in the appcast. livecheck do url "https://max.codes/latest/update.xml" - strategy :sparkle, &:short_version + strategy :sparkle do |items| + items.map(&:short_version) + end end auto_updates true