keepassxc: fix RuboCop style.

See https://github.com/Homebrew/brew/pull/7867.
This commit is contained in:
Mike McQuaid 2020-07-27 10:28:07 +01:00
parent 28a101e114
commit 2da79004e2
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 17 additions and 17 deletions

View File

@ -1,32 +1,32 @@
cask 'keepassxc' do cask "keepassxc" do
version '2.6.0' version "2.6.0"
if MacOS.version <= :sierra if MacOS.version <= :sierra
# github.com/keepassxreboot/keepassxc/ was verified as official when first introduced to the cask # github.com/keepassxreboot/keepassxc/ was verified as official when first introduced to the cask
url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}-Sierra.dmg" url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}-Sierra.dmg"
sha256 '7cd8dc34022091c240e538f7a9889afd7dc8f9f3957a66bca9d70c067045ade4' sha256 "7cd8dc34022091c240e538f7a9889afd7dc8f9f3957a66bca9d70c067045ade4"
else else
# github.com/keepassxreboot/keepassxc/ was verified as official when first introduced to the cask # github.com/keepassxreboot/keepassxc/ was verified as official when first introduced to the cask
url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}.dmg" url "https://github.com/keepassxreboot/keepassxc/releases/download/#{version}/KeePassXC-#{version}.dmg"
sha256 '2224047775b0184b78c252e97cc9c7487aada3a26d24701e45114ea32868f403' sha256 "2224047775b0184b78c252e97cc9c7487aada3a26d24701e45114ea32868f403"
end end
appcast 'https://github.com/keepassxreboot/keepassxc/releases.atom' appcast "https://github.com/keepassxreboot/keepassxc/releases.atom"
name 'KeePassXC' name "KeePassXC"
homepage 'https://keepassxc.org/' homepage "https://keepassxc.org/"
depends_on macos: '>= :sierra' depends_on macos: ">= :sierra"
app 'KeePassXC.app' app "KeePassXC.app"
binary "#{appdir}/KeePassXC.app/Contents/MacOS/keepassxc-cli" binary "#{appdir}/KeePassXC.app/Contents/MacOS/keepassxc-cli"
zap trash: [ zap trash: [
'~/.keepassxc', "~/.keepassxc",
'~/Library/Application Support/keepassxc', "~/Library/Application Support/keepassxc",
'~/Library/Caches/org.keepassx.keepassxc', "~/Library/Caches/org.keepassx.keepassxc",
'~/Library/Preferences/org.keepassx.keepassxc.plist', "~/Library/Preferences/org.keepassx.keepassxc.plist",
'~/Library/Saved Application State/org.keepassx.keepassxc.savedState', "~/Library/Saved Application State/org.keepassx.keepassxc.savedState",
'~/Library/Logs/DiagnosticReports/KeePassXC_*.crash', "~/Library/Logs/DiagnosticReports/KeePassXC_*.crash",
'~/Library/Application Support/CrashReporter/KeePassXC_*.plist', "~/Library/Application Support/CrashReporter/KeePassXC_*.plist",
] ]
end end