25 lines
755 B
Ruby
25 lines
755 B
Ruby
cask "inso" do
|
|
version "8.1.0"
|
|
sha256 "b1fc1c0e4156e20d92d433ce545be0886d07f8e735a789319e1cb3962af94db5"
|
|
|
|
url "https://github.com/Kong/insomnia/releases/download/lib%40#{version}/inso-macos-#{version}.zip",
|
|
verified: "github.com/Kong/insomnia/"
|
|
name "inso"
|
|
desc "CLI HTTP and GraphQL Client"
|
|
homepage "https://insomnia.rest/products/inso"
|
|
|
|
# Upstream previously used a date-based version scheme (e.g., `2023.5.8`)
|
|
# before switching to a typical `8.1.0` format. The date-based versions are
|
|
# numerically higher, so we have to avoid matching them.
|
|
livecheck do
|
|
url :url
|
|
regex(/^lib@v?(\d{1,3}(?:\.\d+)+)$/i)
|
|
end
|
|
|
|
conflicts_with cask: "homebrew/cask-versions/inso-beta"
|
|
|
|
binary "inso"
|
|
|
|
# No zap stanza required
|
|
end
|