# secrets-tool 0.9.1.37 -- Formula fuer das Homebrew-Tap von sareba # (erzeugt von installer/bau-pakete.ps1, nicht von Hand aendern) class SecretsTool < Formula desc "Verschluesselte Geheimnisse fuer Projekte: CLI zu Secrets by sareba" homepage "https://secret.sareba.com" version "0.9.1.37" on_macos do on_arm do url "https://updates.sareba.com/secrets-tool/0.9.1.37/secrets-tool-v0.9.1.37-darwin-arm64.gz" sha256 "7842731b0d8c1ef81dd8133a08a1f64dda5e70408be6b77b3ae2094ce52f67f3" end on_intel do url "https://updates.sareba.com/secrets-tool/0.9.1.37/secrets-tool-v0.9.1.37-darwin-amd64.gz" sha256 "ffe36cc8757504e9901106b8f5349262794147d2480cf707e6bc5a44998cc49c" end end on_linux do on_arm do url "https://updates.sareba.com/secrets-tool/0.9.1.37/secrets-tool-v0.9.1.37-linux-arm64.gz" sha256 "817bd3a704ddc6f1490db62056344dff1a8056f7d4b0eccd6a66cfe664a3ea0e" end on_intel do url "https://updates.sareba.com/secrets-tool/0.9.1.37/secrets-tool-v0.9.1.37-linux-amd64.gz" sha256 "576bdbb5f805161ee22f25f153e09dcd50e4e2b7c3687ae2fb0d5ae269f7aade" end end def install bin.install Dir["secrets-tool-v*"].first => "secrets-tool" end test do assert_equal version.to_s, shell_output("#{bin}/secrets-tool version --short").strip end end