python.rb: RuboCop (master), RuboCop-cask (master) auto-correct

This commit is contained in:
Josh Hagins 2016-01-03 14:19:18 -05:00
parent d17323b55e
commit 6a0c3cb4f6
1 changed files with 5 additions and 5 deletions

View File

@ -10,11 +10,11 @@ cask 'python' do
pkg "python-#{version}-macosx10.6.pkg"
uninstall :delete => [
"/Library/Receipts/Python*-#{version.slice(/\d+\.\d+/)}.pkg",
"/Applications/Python #{version.slice(/\d+\.\d+/)}",
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}",
"/Library/Python/#{version.slice(/\d+\.\d+/)}",
"/Library/Receipts/Python*-#{version.slice(%r{\d+\.\d+})}.pkg",
"/Applications/Python #{version.slice(%r{\d+\.\d+})}",
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(%r{\d+\.\d+})}",
"/Library/Python/#{version.slice(%r{\d+\.\d+})}",
]
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}"
zap :delete => "~/Library/Python/#{version.slice(%r{\d+\.\d+})}"
end