From dcb12859832af2c22bb987f94a33c6cf695bad71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lavoie?= Date: Tue, 11 Jun 2019 10:55:55 -0400 Subject: [PATCH] Revert "Add keychain status" --- keychain-status.rb | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 keychain-status.rb diff --git a/keychain-status.rb b/keychain-status.rb deleted file mode 100644 index 08f97ca..0000000 --- a/keychain-status.rb +++ /dev/null @@ -1,27 +0,0 @@ -class KeychainStatus < Formula - desc "Display the status of the macOS keychain" - homepage "https://github.com/Shopify/keychain-status" - url "https://github.com/Shopify/keychain-status/archive/0.1.0.tar.gz" - sha256 "667b42052f63e39461f7f7acec5fdc7f29dc496bba845a6f14358f27298738b6" - head "https://github.com/Shopify/keychain-status.git" - - bottle do - root_url "https://github.com/Shopify/keychain-status/releases/download/0.1.0/" - cellar :any_skip_relocation - sha256 "289bc354e9cfe72efaf040bc820f6293176b52ecbc2a337df0e55737316394f7" => :mojave - end - - depends_on :xcode => :build - - def install - system "swiftc", "-gnone", "-O", "keychain-status.swift" - bin.install "keychain-status" - end - - test do - output = shell_output("#{bin}/keychain-status /Library/Keychains/System.keychain") - actual_keys = output.each_line.map { |l| l.split(':', 2).first } - - assert_equal %w(unlocked readable writable), actual_keys - end -end