From c4952024639c000ddafacad37db4ef3a6a8a20da Mon Sep 17 00:00:00 2001 From: Marco Simonelli Date: Sat, 2 Oct 2021 22:47:59 +1000 Subject: [PATCH 1/5] Add "Ricochet Refresh.app" v3.0.10 --- Casks/ricochet-refresh.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Casks/ricochet-refresh.rb diff --git a/Casks/ricochet-refresh.rb b/Casks/ricochet-refresh.rb new file mode 100644 index 000000000000..120c27553abf --- /dev/null +++ b/Casks/ricochet-refresh.rb @@ -0,0 +1,12 @@ +cask "ricochet-refresh" do + version "3.0.10" + sha256 "c9751b6f78365777f083d619aa36947bc83ae9043b4b74f099f884b70d8398ef" + + url "https://github.com/blueprint-freespeech/ricochet-refresh/releases/download/v#{version}-release/ricochet-refresh-#{version}-macos-x86_64.dmg", + verified: "github.com/blueprint-freespeech/ricochet-refresh/" + name "ricochet-refresh" + desc "Private and anonymous instant messaging over tor" + homepage "ricochetrefresh.net" + + app "Ricochet Refresh.app" +end From 7f81c8de75f8066a4f5c11f319a8cfa71b33e824 Mon Sep 17 00:00:00 2001 From: Marco Simonelli Date: Sat, 2 Oct 2021 23:13:03 +1000 Subject: [PATCH 2/5] Add zap in Ricochet Refresh v3.0.10 --- Casks/ricochet-refresh.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Casks/ricochet-refresh.rb b/Casks/ricochet-refresh.rb index 120c27553abf..a1d37631d036 100644 --- a/Casks/ricochet-refresh.rb +++ b/Casks/ricochet-refresh.rb @@ -9,4 +9,6 @@ homepage "ricochetrefresh.net" app "Ricochet Refresh.app" + + zap trash: "~/Library/Application Support/Ricochet-Refresh" end From 6c114487e48a63f7c87889a6e15307f66cd94a48 Mon Sep 17 00:00:00 2001 From: Marco Simonelli Date: Sat, 2 Oct 2021 23:15:06 +1000 Subject: [PATCH 3/5] Fix audit in Ricochet-Refresh v3.0.10 --- Casks/ricochet-refresh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/ricochet-refresh.rb b/Casks/ricochet-refresh.rb index a1d37631d036..4ece558b5d25 100644 --- a/Casks/ricochet-refresh.rb +++ b/Casks/ricochet-refresh.rb @@ -6,7 +6,7 @@ verified: "github.com/blueprint-freespeech/ricochet-refresh/" name "ricochet-refresh" desc "Private and anonymous instant messaging over tor" - homepage "ricochetrefresh.net" + homepage "https://www.ricochetrefresh.net" app "Ricochet Refresh.app" From b7cf9cdf1e65be0f6f1a73de2917ac601c3f0773 Mon Sep 17 00:00:00 2001 From: Marco Simonelli Date: Sat, 2 Oct 2021 23:18:33 +1000 Subject: [PATCH 4/5] Fix homepage link Ricochet Refresh v3.0.10 --- Casks/ricochet-refresh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/ricochet-refresh.rb b/Casks/ricochet-refresh.rb index 4ece558b5d25..56d8a92e3742 100644 --- a/Casks/ricochet-refresh.rb +++ b/Casks/ricochet-refresh.rb @@ -6,7 +6,7 @@ verified: "github.com/blueprint-freespeech/ricochet-refresh/" name "ricochet-refresh" desc "Private and anonymous instant messaging over tor" - homepage "https://www.ricochetrefresh.net" + homepage "https://www.ricochetrefresh.net/" app "Ricochet Refresh.app" From afab9b03b32d956d669e2825f1e27a5c2dbbe1eb Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Mon, 4 Oct 2021 12:29:36 +0800 Subject: [PATCH 5/5] Update ricochet-refresh.rb --- Casks/ricochet-refresh.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Casks/ricochet-refresh.rb b/Casks/ricochet-refresh.rb index 56d8a92e3742..2f11a04dd867 100644 --- a/Casks/ricochet-refresh.rb +++ b/Casks/ricochet-refresh.rb @@ -4,10 +4,16 @@ url "https://github.com/blueprint-freespeech/ricochet-refresh/releases/download/v#{version}-release/ricochet-refresh-#{version}-macos-x86_64.dmg", verified: "github.com/blueprint-freespeech/ricochet-refresh/" - name "ricochet-refresh" + name "Ricochet Refresh" desc "Private and anonymous instant messaging over tor" homepage "https://www.ricochetrefresh.net/" + livecheck do + url "https://github.com/blueprint-freespeech/ricochet-refresh/releases" + strategy :page_match + regex(/ricochet[._-]refresh[._-]v?(\d+(?:\.\d+)*)[._-]macos[._-]x86[._-]64\.dmg/i) + end + app "Ricochet Refresh.app" zap trash: "~/Library/Application Support/Ricochet-Refresh"