diff --git a/Formula/unbound-schemas.rb b/Formula/unbound-schemas.rb index fe06057..7f7208c 100644 --- a/Formula/unbound-schemas.rb +++ b/Formula/unbound-schemas.rb @@ -5,20 +5,20 @@ class UnboundSchemas < Formula desc "" homepage "https://schemas.unbound.se/" - version "0.0.7" + version "0.1.0" on_macos do - on_intel do - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_darwin_amd64.tar.gz" - sha256 "a13e5402c21d9cfdb1138e3f68dedcb2115539271faec4292ac0a7012c621725" + if Hardware::CPU.intel? + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.0/downloads/unbound-schemas_0.1.0_darwin_amd64.tar.gz" + sha256 "9e0c3558df4db3ea175ab48c978ec561f7c252c932883214ae06273ad6eb1d50" def install bin.install "schemactl" end end - on_arm do - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_darwin_arm64.tar.gz" - sha256 "12fdd8e1ef04d0c0fa78d1aa2e16e342536df72bc57b3cf06be9f3b48b280e27" + if Hardware::CPU.arm? + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.0/downloads/unbound-schemas_0.1.0_darwin_arm64.tar.gz" + sha256 "7bf1e76f8d86caf2ab8c6a9cb6e581635ef88cee4b9040b7f68d7d4ae2c9dce0" def install bin.install "schemactl" @@ -27,20 +27,20 @@ class UnboundSchemas < Formula end on_linux do - on_intel do + if Hardware::CPU.intel? if Hardware::CPU.is_64_bit? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_linux_amd64.tar.gz" - sha256 "bebb81f3c5ca85a745dcfe62e58a042d6963b7a05174b8b055c9868bba2df1ec" + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.0/downloads/unbound-schemas_0.1.0_linux_amd64.tar.gz" + sha256 "79fbc012be49aedd4cf8cbc5913296abe5b9375f17d7c37c5e0f811c8d8f3b75" def install bin.install "schemactl" end end end - on_arm do + if Hardware::CPU.arm? if Hardware::CPU.is_64_bit? - url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.0.7/downloads/unbound-schemas_0.0.7_linux_arm64.tar.gz" - sha256 "2080dcc074f666105405e47c3fb565f72d030f8ed022a48f4a52341a1c7facba" + url "https://gitlab.com/unboundsoftware/schemas/-/releases/v0.1.0/downloads/unbound-schemas_0.1.0_linux_arm64.tar.gz" + sha256 "94827364b05afaaff85b376f675f72249511491731c978620f02bd9aa86148fa" def install bin.install "schemactl"