diff --git a/.github/autobump.txt b/.github/autobump.txt index ab349ebaf8b7d..1ea7c1005b0da 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -524,10 +524,6 @@ supernotes superproductivity surge swiftformat-for-xcode -tableau -tableau-prep -tableau-public -tableau-reader tableflip tableplus tageditor diff --git a/Casks/t/tableau-prep.rb b/Casks/t/tableau-prep.rb index 644f7fb66f70e..f24003deb35d7 100644 --- a/Casks/t/tableau-prep.rb +++ b/Casks/t/tableau-prep.rb @@ -1,17 +1,18 @@ cask "tableau-prep" do - version "2024.1.1" - sha256 "1e6469dee815c69bc8fd8ce02feb89029ba6f0c3b1f988346447abc2f11cc2b6" + version "2024.1.2" + sha256 "c4eecb1d8dc2330aefd093324b73e01102ecf5e2db8750791081652bf7424dac" - url "https://downloads.tableau.com/esdalt/tableau_prep/#{version}/TableauPrep-#{version.dots_to_hyphens}.dmg" + url "https://downloads.tableau.com/esdalt/tableau_prep/#{version}/TableauPrep-#{version.dots_to_hyphens}.dmg", + user_agent: "curl/8.7.1" name "Tableau Prep" name "Tableau Prep Builder" desc "Combine, shape, and clean your data for analysis" homepage "https://www.tableau.com/support/releases/prep" livecheck do - url "https://www.tableau.com/downloads/prep/mac" - strategy :header_match do |headers| - headers["location"][/TableauPrep[._-]v?(\d+(?:-\d+)+)\.dmg/i, 1].tr("-", ".") + url "https://downloads.tableau.com/TableauAutoUpdate.xml" + strategy :xml do |xml| + xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] } end end diff --git a/Casks/t/tableau-public.rb b/Casks/t/tableau-public.rb index 995d9b2c7c460..f21be8114bc89 100644 --- a/Casks/t/tableau-public.rb +++ b/Casks/t/tableau-public.rb @@ -1,16 +1,17 @@ cask "tableau-public" do - version "2024.1.1" - sha256 "25e001e99acc0892ca1365693bcbf5e4aea1034ffe8d6111f2b6301a4fc6aa20" + version "2024.1.2" + sha256 "88fabddc5564994ad617807662e128a29a0e4b8e3a5e589f750761f56fd775d2" - url "https://downloads.tableau.com/public/TableauPublic-#{version.dots_to_hyphens}.dmg" + url "https://downloads.tableau.com/public/TableauPublic-#{version.dots_to_hyphens}.dmg", + user_agent: "curl/8.7.1" name "Tableau Public" desc "Explore, create and publicly share data visualisations online" homepage "https://public.tableau.com/s/" livecheck do - url "https://www.tableau.com/downloads/public/mac" - strategy :header_match do |headers| - headers["location"][/TableauPublic[._-]v?(\d+(?:-\d+)+)\.dmg/i, 1].tr("-", ".") + url "https://downloads.tableau.com/TableauAutoUpdate.xml" + strategy :xml do |xml| + xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] } end end diff --git a/Casks/t/tableau-reader.rb b/Casks/t/tableau-reader.rb index 63b26c412a9da..3276907529449 100644 --- a/Casks/t/tableau-reader.rb +++ b/Casks/t/tableau-reader.rb @@ -1,19 +1,17 @@ cask "tableau-reader" do - version "2024.1.1" - sha256 "d4f57fe4005e93a6f080a3321628a0c5d454d15e7e0a46b32c6012effd983ae3" + version "2024.1.2" + sha256 "196298aa2a671319d852f399bcb65561639fc4ce296a6de5d4c1bc3ec3ac21eb" - url "https://downloads.tableau.com/tssoftware/TableauReader-#{version.dots_to_hyphens}.dmg" + url "https://downloads.tableau.com/tssoftware/TableauReader-#{version.dots_to_hyphens}.dmg", + user_agent: "curl/8.7.1" name "Tableau Reader" desc "Open and interact with data visualisations built in Tableau Desktop" homepage "https://www.tableau.com/products/reader" livecheck do - url "https://www.tableau.com/downloads/reader/mac" - regex(/-(\d+(?:-\d+)+)\.dmg/i) - strategy :header_match do |headers, regex| - headers["location"].scan(regex).map do |match| - match[0].tr("-", ".").to_s - end + url "https://downloads.tableau.com/TableauAutoUpdate.xml" + strategy :xml do |xml| + xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] } end end diff --git a/Casks/t/tableau.rb b/Casks/t/tableau.rb index ab822d054618c..70330ebeb378a 100644 --- a/Casks/t/tableau.rb +++ b/Casks/t/tableau.rb @@ -1,16 +1,17 @@ cask "tableau" do - version "2024.1.1" - sha256 "823e74c090b8d38bf0114caba84ba1d7c848429dc2ba4f1cc241b705ece7191c" + version "2024.1.2" + sha256 "a61feab30c47f4ed6502895eb97ef5b84aa0615ffb2f646c58ad5be7e836c61c" - url "https://downloads.tableau.com/tssoftware/TableauDesktop-#{version.dots_to_hyphens}.dmg" + url "https://downloads.tableau.com/tssoftware/TableauDesktop-#{version.dots_to_hyphens}.dmg", + user_agent: "curl/8.7.1" name "Tableau Desktop" desc "Data visualization software" homepage "https://www.tableau.com/products/desktop" livecheck do - url "https://www.tableau.com/downloads/desktop/mac" - strategy :header_match do |headers| - headers["location"][/TableauDesktop[._-]v?(\d+(?:-\d+)+)\.dmg/i, 1].tr("-", ".") + url "https://downloads.tableau.com/TableauAutoUpdate.xml" + strategy :xml do |xml| + xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] } end end