diff --git a/Casks/a/aria2d.rb b/Casks/a/aria2d.rb index e8e8638c0f..51d41d43c3 100644 --- a/Casks/a/aria2d.rb +++ b/Casks/a/aria2d.rb @@ -1,6 +1,6 @@ cask "aria2d" do - version "1.3.6" - sha256 "1840ce5b25571925cfec67635e3e48ce38306b856b509861f2ecfdfd0470cd7b" + version "1.3.8" + sha256 "f541b792ed813fa38ec72a87f42e8283383c781d0c9deac421bbc1cdababbb65" url "https://raw.githubusercontent.com/xjbeta/AppUpdaterAppcasts/master/Aria2D/Aria2D%20#{version}.dmg", verified: "githubusercontent.com/xjbeta/" @@ -8,12 +8,16 @@ cask "aria2d" do desc "Aria2 GUI" homepage "https://github.com/xjbeta/Aria2D" + # Older items in the Sparkle feed may have a newer pubDate, so it's necessary + # to work with all of the items in the feed (not just the newest one). livecheck do url "https://raw.githubusercontent.com/xjbeta/AppUpdaterAppcasts/master/Aria2D/Appcast.xml" - strategy :sparkle, &:short_version + strategy :sparkle do |items| + items.map(&:short_version) + end end - depends_on macos: ">= :sierra" + depends_on macos: ">= :high_sierra" app "Aria2D.app"