51 lines
1.7 KiB
Ruby
51 lines
1.7 KiB
Ruby
cask "tableau-prep" do
|
|
version "2024.1.3"
|
|
sha256 "d74c5eb931d4ca0eee635a4ceead8f053292e485730fb452cb50d302bdd606ab"
|
|
|
|
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://downloads.tableau.com/TableauAutoUpdate.xml"
|
|
strategy :xml do |xml|
|
|
xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] }
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
pkg "Tableau Prep Builder.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.amazon.redshiftodbc",
|
|
"com.simba.sparkodbc",
|
|
"com.simba.sqlserverodbc",
|
|
"com.tableausoftware.desktopShortcut",
|
|
"com.tableausoftware.FLEXNet.11.*",
|
|
"com.tableausoftware.Maestro.app",
|
|
"com.tableausoftware.oracle",
|
|
"com.tableausoftware.postgresql",
|
|
"com.tableausoftware.telemetry",
|
|
"simba.sparkodbc",
|
|
]
|
|
|
|
zap delete: [
|
|
"/Library/Application Support/Tableau Prep Builder",
|
|
"/Library/Preferences/FLEXnet Publisher",
|
|
],
|
|
trash: [
|
|
"~/Documents/My Tableau Prep Repository",
|
|
"~/Library/Application Support/Tableau Prep Builder #{version}",
|
|
"~/Library/Caches/com.tableau.caching",
|
|
"~/Library/Preferences/com.tableau.Tableau-Prep-tableau-#{version.major}-#{version.minor}.plist",
|
|
"~/Library/Preferences/com.tableausoftware.tableauprep.plist",
|
|
"~/Library/Preferences/com.tableausoftware.tabminerva.plist",
|
|
"~/Library/Saved Application State/com.tableausoftware.tableauprep.savedState",
|
|
"~/Library/Tableau",
|
|
]
|
|
end
|