# secrets-tool 0.9.1.38 -- 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.38" on_macos do on_arm do url "https://updates.sareba.com/secrets-tool/0.9.1.38/secrets-tool-v0.9.1.38-darwin-arm64.gz" sha256 "f0acc216322ba8a75cc9e8ded488ec80301807164bee746343093b992bd6cd1c" end on_intel do url "https://updates.sareba.com/secrets-tool/0.9.1.38/secrets-tool-v0.9.1.38-darwin-amd64.gz" sha256 "f0d7344566923396f12ca64a7c2160e4a0012fee227e85eceda4a8c5c412372b" end end on_linux do on_arm do url "https://updates.sareba.com/secrets-tool/0.9.1.38/secrets-tool-v0.9.1.38-linux-arm64.gz" sha256 "9d4d69e7a9c92709602699a53d4f6b995ef41ad9b7c068bb08ce252883e00353" end on_intel do url "https://updates.sareba.com/secrets-tool/0.9.1.38/secrets-tool-v0.9.1.38-linux-amd64.gz" sha256 "af2d2a7b4e86a6927ee1245b1a103052ff6955c4fec7274d505e4aea38e0daf3" 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