From c0b4585262e85bb81e9b127af401f4d570269f98 Mon Sep 17 00:00:00 2001 From: Justin Roberson Date: Tue, 14 Nov 2023 10:33:33 -0500 Subject: [PATCH 1/3] Add Hoppscotch cask Hoppscotch now has an official desktop version, so this is adding the first release. Note: `brew audit` complains about the `releases` repository not being notable enough, however the main repository where all of the development happens has 56.5k stars and 3.9k forks at this time of writing. --- Casks/h/hoppscotch.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Casks/h/hoppscotch.rb diff --git a/Casks/h/hoppscotch.rb b/Casks/h/hoppscotch.rb new file mode 100644 index 0000000000..a57eb93e3b --- /dev/null +++ b/Casks/h/hoppscotch.rb @@ -0,0 +1,23 @@ +cask "hoppscotch" do + arch arm: "aarch64", intel: "x64" + + version "23.8.3-1" + sha256 arm: "10844de40383483c83e2572b65ac0ae079e079dfdadcd611b464aaff5321a119", + intel: "4578ed90780ad93a88f54100386264df7e4b4d70f40f5812705dca842742bc7d" + + url "https://github.com/hoppscotch/releases/releases/download/v#{version}/Hoppscotch_mac_#{arch}.dmg" + name "Hoppscotch" + desc "Open source API development ecosystem" + homepage "https://github.com/hoppscotch/hoppscotch" + + depends_on macos: ">= :high_sierra" + + app "Hoppscotch.app" + + zap trash: [ + "~/Library/Application Support/io.hoppscotch.desktop", + "~/Library/Saved Application State/io.hoppscotch.desktop.savedState", + "~/Library/WebKit/io.hoppscotch.desktop", + "~/Library/Caches/io.hoppscotch.desktop", + ] +end From f0f9d301a97bfcdd2ad2eef1c470f5c3a9ae0587 Mon Sep 17 00:00:00 2001 From: Justin Roberson Date: Tue, 14 Nov 2023 15:26:43 -0500 Subject: [PATCH 2/3] hoppscotch 23.8.4-1 --- Casks/h/hoppscotch.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Casks/h/hoppscotch.rb b/Casks/h/hoppscotch.rb index a57eb93e3b..72d9c2bee6 100644 --- a/Casks/h/hoppscotch.rb +++ b/Casks/h/hoppscotch.rb @@ -1,9 +1,9 @@ cask "hoppscotch" do arch arm: "aarch64", intel: "x64" - version "23.8.3-1" - sha256 arm: "10844de40383483c83e2572b65ac0ae079e079dfdadcd611b464aaff5321a119", - intel: "4578ed90780ad93a88f54100386264df7e4b4d70f40f5812705dca842742bc7d" + version "23.8.4-1" + sha256 arm: "7e58a5aa6cbcf7d1381181f7f9bfd44d69f4213229e69097356baed530be4ff9", + intel: "d17a6981bc900811d01327c526101f568514183c83d870582710f28b9e242b01" url "https://github.com/hoppscotch/releases/releases/download/v#{version}/Hoppscotch_mac_#{arch}.dmg" name "Hoppscotch" From 152dc18da6ac1f2ef377906f70074695582f4f9c Mon Sep 17 00:00:00 2001 From: Justin Krehel <39449589+krehel@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:38:59 -0500 Subject: [PATCH 3/3] hoppscotch: reorder `zap` --- Casks/h/hoppscotch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/h/hoppscotch.rb b/Casks/h/hoppscotch.rb index 72d9c2bee6..9793a44554 100644 --- a/Casks/h/hoppscotch.rb +++ b/Casks/h/hoppscotch.rb @@ -16,8 +16,8 @@ cask "hoppscotch" do zap trash: [ "~/Library/Application Support/io.hoppscotch.desktop", + "~/Library/Caches/io.hoppscotch.desktop", "~/Library/Saved Application State/io.hoppscotch.desktop.savedState", "~/Library/WebKit/io.hoppscotch.desktop", - "~/Library/Caches/io.hoppscotch.desktop", ] end