From 0668cdd61728caee3648cc01bb837fb0feafa64b Mon Sep 17 00:00:00 2001 From: miccal Date: Tue, 30 Apr 2024 08:22:04 +0800 Subject: [PATCH 1/2] rstudio 2024.04.0 --- Casks/r/rstudio.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/r/rstudio.rb b/Casks/r/rstudio.rb index 29cf5adb7004..f722139d413a 100644 --- a/Casks/r/rstudio.rb +++ b/Casks/r/rstudio.rb @@ -1,6 +1,6 @@ cask "rstudio" do - version "2023.12.1,402" - sha256 "c8d9185df7205a51a00dc953cd504f329657192d44fab3cb7017bc135b1f1700" + version "2024.04.0,735" + sha256 "be94cf08d38665c3bc1b981d1b612484b27436f818655aedd214eb124d0dfadd" url "https://download1.rstudio.org/electron/macos/RStudio-#{version.csv.first}-#{version.csv.second}.dmg", verified: "download1.rstudio.org/electron/macos/" From 858cc13bacf24c1636e8d42c99d8e15c184c7e31 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Tue, 30 Apr 2024 08:23:49 +0800 Subject: [PATCH 2/2] Update rstudio.rb --- Casks/r/rstudio.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Casks/r/rstudio.rb b/Casks/r/rstudio.rb index f722139d413a..33132cbac95a 100644 --- a/Casks/r/rstudio.rb +++ b/Casks/r/rstudio.rb @@ -11,15 +11,15 @@ livecheck do url "https://posit.co/download/rstudio-desktop/" strategy :page_match do |page| - match = page.match(/RStudio-(\d+(?:\.\d+)+)-(\d+)\.dmg/i) + match = page.match(/RStudio[._-]v?(\d+(?:\.\d+)+)[._-](\d+)\.dmg/i) next if match.blank? "#{match[1]},#{match[2]}" end end - conflicts_with cask: "homebrew/cask-versions/rstudio-daily" - depends_on macos: ">= :high_sierra" + conflicts_with cask: "rstudio-daily" + depends_on macos: ">= :monterey" app "RStudio.app"