Casks/r/readyapi.rb
cask "readyapi" do
arch arm: "arm64", intel: "x64"
version "3.54.0"
sha256 arm: "b555d187039b4a812493fd9472660c8bb43f8eddf5f6fdd336f9a9cb8e042001",
intel: "adb2e6bea19a121ee789aaddc5811ccfb675ce001f8aa393fabbcf289fcf0ad6"
url "https://dl.eviware.com/ready-api/#{version}/ReadyAPI-#{arch}-#{version}.dmg",
verified: "dl.eviware.com/ready-api/"
name "ReadyAPI Desktop"
desc "Automated API testing platform"
homepage "https://smartbear.com/product/ready-api/overview/"
livecheck do
url "https://support.smartbear.com/readyapi/docs/general-info/whats-new.html"
regex(/(\d+(?:\.\d+)+)\s\(latest\sversion\)/i)
end
installer script: {
executable: "ReadyAPI #{version} Installer.app/Contents/MacOS/JavaApplicationStub",
args: ["-q"],
}
uninstall delete: [
"/Applications/ReadyAPI-#{version}.app",
"~/Desktop/ReadyAPI #{version}",
]
zap trash: [
"~/Library/Application Support/ReadyAPI-#{version}",
"~/Library/Preferences/com.smartbear.ready.plist",
]
end