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
version '2.6.0'
cask "keepassxc" do
version "2.6.0"
if MacOS.version <= :sierra
# 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"
sha256 '7cd8dc34022091c240e538f7a9889afd7dc8f9f3957a66bca9d70c067045ade4'
sha256 "7cd8dc34022091c240e538f7a9889afd7dc8f9f3957a66bca9d70c067045ade4"
else
# 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"
sha256 '2224047775b0184b78c252e97cc9c7487aada3a26d24701e45114ea32868f403'
sha256 "2224047775b0184b78c252e97cc9c7487aada3a26d24701e45114ea32868f403"
end
appcast 'https://github.com/keepassxreboot/keepassxc/releases.atom'
name 'KeePassXC'
homepage 'https://keepassxc.org/'
appcast "https://github.com/keepassxreboot/keepassxc/releases.atom"
name "KeePassXC"
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"
zap trash: [
'~/.keepassxc',
'~/Library/Application Support/keepassxc',
'~/Library/Caches/org.keepassx.keepassxc',
'~/Library/Preferences/org.keepassx.keepassxc.plist',
'~/Library/Saved Application State/org.keepassx.keepassxc.savedState',
'~/Library/Logs/DiagnosticReports/KeePassXC_*.crash',
'~/Library/Application Support/CrashReporter/KeePassXC_*.plist',
]
"~/.keepassxc",
"~/Library/Application Support/keepassxc",
"~/Library/Caches/org.keepassx.keepassxc",
"~/Library/Preferences/org.keepassx.keepassxc.plist",
"~/Library/Saved Application State/org.keepassx.keepassxc.savedState",
"~/Library/Logs/DiagnosticReports/KeePassXC_*.crash",
"~/Library/Application Support/CrashReporter/KeePassXC_*.plist",
]
end