From f2508f19f013b66fcd5767c33b60531c42900877 Mon Sep 17 00:00:00 2001 From: Philipp Jetschina Date: Thu, 14 Sep 2023 21:06:53 +0200 Subject: [PATCH] bookmacster 3.0.12 update bookmacster to 3.0.12 and update livecheck to use a strategy block with the magic items argument to work with all of the appcast items in such a way that it ignores the strategy's default pubDate sorting. --- Casks/b/bookmacster.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Casks/b/bookmacster.rb b/Casks/b/bookmacster.rb index 23a5be9746..0d95d877bf 100644 --- a/Casks/b/bookmacster.rb +++ b/Casks/b/bookmacster.rb @@ -1,15 +1,18 @@ cask "bookmacster" do - version "3.0.8" - sha256 "b743b550c4fa3d7667823bfad5052dc636ec0e3cf2ac49f334d8ce26c0bb0cb6" + version "3.0.12" + sha256 "0b79ed601d82648ce212166e7cda278d54a1914058ed81ad465bd47a8d47f485" url "https://sheepsystems.com/bookmacster/BookMacster_#{version}.zip" name "BookMacster" desc "Bookmarks manager" homepage "https://sheepsystems.com/products/bookmacster.html" + # 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://sheepsystems.com/bookmacster/appcast.xml" - strategy :sparkle + strategy :sparkle do |items| + items.map(&:short_version) end auto_updates true