From c981c99b863152149c9439a398a584bb31604c9d Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 13 Sep 2023 14:55:38 -0400 Subject: [PATCH 1/3] bookwright 3.0.0 --- Casks/b/bookwright.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/b/bookwright.rb b/Casks/b/bookwright.rb index f3cc0b2a21e0f..989d82dcddb0d 100644 --- a/Casks/b/bookwright.rb +++ b/Casks/b/bookwright.rb @@ -1,6 +1,6 @@ cask "bookwright" do - version "2.5.4" - sha256 "d2718a2b18d6721ac32a170e04a6ca249e33d149d0cd3a79913769031295268e" + version "3.0.0" + sha256 "a056c56053655d5e86cca301bfeb8ba1f5bd8d4b70959912466d26ddd4fedcb7" url "https://software.blurb.com/bookwright_v#{version.major}/#{version}/BookWright.dmg" name "bookwright" From 7f2fd133fdbf4c7e249216e80b59b415ccfc3305 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Thu, 14 Sep 2023 14:26:01 +0800 Subject: [PATCH 2/3] Update bookwright.rb --- Casks/b/bookwright.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Casks/b/bookwright.rb b/Casks/b/bookwright.rb index 989d82dcddb0d..a74c4281af4a7 100644 --- a/Casks/b/bookwright.rb +++ b/Casks/b/bookwright.rb @@ -2,17 +2,15 @@ version "3.0.0" sha256 "a056c56053655d5e86cca301bfeb8ba1f5bd8d4b70959912466d26ddd4fedcb7" - url "https://software.blurb.com/bookwright_v#{version.major}/#{version}/BookWright.dmg" + url "https://software.blurb.com/bookwright_v2/#{version}/BookWright.dmg" name "bookwright" desc "Make a book with this tool and the Blurb printing service" homepage "https://www.blurb.com/bookwright" - # If this URL only provides information for a specific major version, this - # check will be unable to detect new major versions and these will need to - # be identified manually outside of livecheck. In that scenario, the check - # should theoretically work as expected again after updating the cask version. + # The major version has not yet been updated in + # either the download url or the livecheck url. livecheck do - url "https://www.blurb.com/bookwright_v#{version.major}/versions.json" + url "https://www.blurb.com/bookwright_v2/versions.json" regex(/["']version["']:\s*?["']v?(\d+(?:\.\d+)+)["']/i) end From 52ed805aa3d5fa488add3115f6750d1ea4380196 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Thu, 14 Sep 2023 14:33:59 +0800 Subject: [PATCH 3/3] Update bookwright.rb --- Casks/b/bookwright.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/b/bookwright.rb b/Casks/b/bookwright.rb index a74c4281af4a7..15662523032af 100644 --- a/Casks/b/bookwright.rb +++ b/Casks/b/bookwright.rb @@ -1,6 +1,6 @@ cask "bookwright" do version "3.0.0" - sha256 "a056c56053655d5e86cca301bfeb8ba1f5bd8d4b70959912466d26ddd4fedcb7" + sha256 "2f17ea5af9a08eceb5a6828c405adc67af0e9f947e41958e5f6f4ff49df66a7e" url "https://software.blurb.com/bookwright_v2/#{version}/BookWright.dmg" name "bookwright"