diff --git a/Casks/1password-beta.rb b/Casks/1password-beta.rb index b3980d872..9067cf2a9 100644 --- a/Casks/1password-beta.rb +++ b/Casks/1password-beta.rb @@ -9,10 +9,10 @@ cask '1password-beta' do app "1Password #{version.to_i}.app" - zap :delete => [ - '~/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper', - '~/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper', - '~/Library/Containers/com.agilebits.onepassword-osx', - '~/Library/Group Containers/2BUA8C4S2C.com.agilebits', - ] + zap delete: [ + '~/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper', + '~/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper', + '~/Library/Containers/com.agilebits.onepassword-osx', + '~/Library/Group Containers/2BUA8C4S2C.com.agilebits', + ] end diff --git a/Casks/ableton-live-standard.rb b/Casks/ableton-live-standard.rb index 8f9caa1d5..d61c39d4f 100644 --- a/Casks/ableton-live-standard.rb +++ b/Casks/ableton-live-standard.rb @@ -15,7 +15,7 @@ cask 'ableton-live-standard' do app "Ableton Live #{version.to_i} Standard.app" - zap :delete => '~/Library/*/*[Aa]bleton*', - :rmdir => '~/Music/Ableton/Factory Packs' + zap delete: '~/Library/*/*[Aa]bleton*', + rmdir: '~/Music/Ableton/Factory Packs' #:trash => '~/Music/Ableton/User Library' end diff --git a/Casks/ableton-live-suite.rb b/Casks/ableton-live-suite.rb index 982d5c752..2ca40c396 100644 --- a/Casks/ableton-live-suite.rb +++ b/Casks/ableton-live-suite.rb @@ -15,7 +15,7 @@ cask 'ableton-live-suite' do app "Ableton Live #{version[0]} Suite.app" - zap :delete => '~/Library/*/*[Aa]bleton*', - :rmdir => '~/Music/Ableton/Factory Packs' + zap delete: '~/Library/*/*[Aa]bleton*', + rmdir: '~/Music/Ableton/Factory Packs' #:trash => '~/Music/Ableton/User Library' end diff --git a/Casks/adium-beta.rb b/Casks/adium-beta.rb index 55e7caf08..4e5567c1b 100644 --- a/Casks/adium-beta.rb +++ b/Casks/adium-beta.rb @@ -9,9 +9,9 @@ cask 'adium-beta' do app 'Adium.app' - zap :delete => [ - '~/Library/Caches/Adium', - '~/Library/Caches/com.adiumX.adiumX', - '~/Library/Preferences/com.adiumX.adiumX.plist', - ] + zap delete: [ + '~/Library/Caches/Adium', + '~/Library/Caches/com.adiumX.adiumX', + '~/Library/Preferences/com.adiumX.adiumX.plist', + ] end diff --git a/Casks/adobe-design-standard-cs6-de.rb b/Casks/adobe-design-standard-cs6-de.rb index 56a96dd11..fc694d11e 100644 --- a/Casks/adobe-design-standard-cs6-de.rb +++ b/Casks/adobe-design-standard-cs6-de.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6-de' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-standard-cs6-es.rb b/Casks/adobe-design-standard-cs6-es.rb index 7dd956b61..e7b106ce7 100644 --- a/Casks/adobe-design-standard-cs6-es.rb +++ b/Casks/adobe-design-standard-cs6-es.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6-es' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-standard-cs6-fr.rb b/Casks/adobe-design-standard-cs6-fr.rb index dbcf88b4d..e086b08ed 100644 --- a/Casks/adobe-design-standard-cs6-fr.rb +++ b/Casks/adobe-design-standard-cs6-fr.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6-fr' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-standard-cs6-it.rb b/Casks/adobe-design-standard-cs6-it.rb index 4ceab45bc..6f56e6688 100644 --- a/Casks/adobe-design-standard-cs6-it.rb +++ b/Casks/adobe-design-standard-cs6-it.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6-it' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-standard-cs6-ja.rb b/Casks/adobe-design-standard-cs6-ja.rb index 7c3ccffcc..b35898aaa 100644 --- a/Casks/adobe-design-standard-cs6-ja.rb +++ b/Casks/adobe-design-standard-cs6-ja.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6-ja' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS16.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-standard-cs6-nl.rb b/Casks/adobe-design-standard-cs6-nl.rb index 750392add..47f5ce881 100644 --- a/Casks/adobe-design-standard-cs6-nl.rb +++ b/Casks/adobe-design-standard-cs6-nl.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6-nl' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-standard-cs6.rb b/Casks/adobe-design-standard-cs6.rb index 6bb811f57..26aa121f4 100644 --- a/Casks/adobe-design-standard-cs6.rb +++ b/Casks/adobe-design-standard-cs6.rb @@ -9,8 +9,8 @@ cask 'adobe-design-standard-cs6' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS16.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6-de.rb b/Casks/adobe-design-web-premium-cs6-de.rb index 30b2a76d6..3f07f1492 100644 --- a/Casks/adobe-design-web-premium-cs6-de.rb +++ b/Casks/adobe-design-web-premium-cs6-de.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6-de' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6-es.rb b/Casks/adobe-design-web-premium-cs6-es.rb index 6c5d1392e..c0e24e128 100644 --- a/Casks/adobe-design-web-premium-cs6-es.rb +++ b/Casks/adobe-design-web-premium-cs6-es.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6-es' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6-fr.rb b/Casks/adobe-design-web-premium-cs6-fr.rb index bce5e7174..c9c7b42d6 100644 --- a/Casks/adobe-design-web-premium-cs6-fr.rb +++ b/Casks/adobe-design-web-premium-cs6-fr.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6-fr' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6-it.rb b/Casks/adobe-design-web-premium-cs6-it.rb index 0c615c528..b21033a59 100644 --- a/Casks/adobe-design-web-premium-cs6-it.rb +++ b/Casks/adobe-design-web-premium-cs6-it.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6-it' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6-ja.rb b/Casks/adobe-design-web-premium-cs6-ja.rb index e887a2266..f38a5dde9 100644 --- a/Casks/adobe-design-web-premium-cs6-ja.rb +++ b/Casks/adobe-design-web-premium-cs6-ja.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6-ja' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS16.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6-nl.rb b/Casks/adobe-design-web-premium-cs6-nl.rb index 131a3a07d..b1d964c26 100644 --- a/Casks/adobe-design-web-premium-cs6-nl.rb +++ b/Casks/adobe-design-web-premium-cs6-nl.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6-nl' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-design-web-premium-cs6.rb b/Casks/adobe-design-web-premium-cs6.rb index bccccffa7..ddaf9a7e9 100644 --- a/Casks/adobe-design-web-premium-cs6.rb +++ b/Casks/adobe-design-web-premium-cs6.rb @@ -9,8 +9,8 @@ cask 'adobe-design-web-premium-cs6' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS16.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-digital-editions2.rb b/Casks/adobe-digital-editions2.rb index d34b3954d..96b359b60 100644 --- a/Casks/adobe-digital-editions2.rb +++ b/Casks/adobe-digital-editions2.rb @@ -7,8 +7,8 @@ cask 'adobe-digital-editions2' do homepage 'https://www.adobe.com/solutions/ebook/digital-editions.html' license :gratis - pkg 'Digital Editions 2.0 Installer.pkg', :allow_untrusted => true + pkg 'Digital Editions 2.0 Installer.pkg', allow_untrusted: true - uninstall :pkgutil => 'com.adobe.adobedigitaleditions.app', - :delete => '/Applications/Adobe Digital Editions.app' + uninstall pkgutil: 'com.adobe.adobedigitaleditions.app', + delete: '/Applications/Adobe Digital Editions.app' end diff --git a/Casks/adobe-illustrator-cc-de.rb b/Casks/adobe-illustrator-cc-de.rb index 7568b48a8..607b2c39a 100644 --- a/Casks/adobe-illustrator-cc-de.rb +++ b/Casks/adobe-illustrator-cc-de.rb @@ -3,13 +3,13 @@ cask 'adobe-illustrator-cc-de' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator.html' license :commercial - conflicts_with :cask => 'adobe-illustrator-cc' + conflicts_with cask: 'adobe-illustrator-cc' preflight do deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" @@ -26,5 +26,5 @@ cask 'adobe-illustrator-cc-de' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-illustrator-cc-es.rb b/Casks/adobe-illustrator-cc-es.rb index b0bc8a41e..b65d22c92 100644 --- a/Casks/adobe-illustrator-cc-es.rb +++ b/Casks/adobe-illustrator-cc-es.rb @@ -3,13 +3,13 @@ cask 'adobe-illustrator-cc-es' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator.html' license :commercial - conflicts_with :cask => 'adobe-illustrator-cc' + conflicts_with cask: 'adobe-illustrator-cc' preflight do deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" @@ -26,5 +26,5 @@ cask 'adobe-illustrator-cc-es' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-illustrator-cc-fr.rb b/Casks/adobe-illustrator-cc-fr.rb index 2d1797cbc..db1ebe79b 100644 --- a/Casks/adobe-illustrator-cc-fr.rb +++ b/Casks/adobe-illustrator-cc-fr.rb @@ -3,13 +3,13 @@ cask 'adobe-illustrator-cc-fr' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator.html' license :commercial - conflicts_with :cask => 'adobe-illustrator-cc' + conflicts_with cask: 'adobe-illustrator-cc' preflight do deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" @@ -26,5 +26,5 @@ cask 'adobe-illustrator-cc-fr' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-illustrator-cc-it.rb b/Casks/adobe-illustrator-cc-it.rb index 92bee3ebd..4326d3615 100644 --- a/Casks/adobe-illustrator-cc-it.rb +++ b/Casks/adobe-illustrator-cc-it.rb @@ -3,13 +3,13 @@ cask 'adobe-illustrator-cc-it' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator.html' license :commercial - conflicts_with :cask => 'adobe-illustrator-cc' + conflicts_with cask: 'adobe-illustrator-cc' preflight do deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" @@ -26,5 +26,5 @@ cask 'adobe-illustrator-cc-it' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-illustrator-cc-ja.rb b/Casks/adobe-illustrator-cc-ja.rb index 13c96458e..024eb0831 100644 --- a/Casks/adobe-illustrator-cc-ja.rb +++ b/Casks/adobe-illustrator-cc-ja.rb @@ -3,13 +3,13 @@ cask 'adobe-illustrator-cc-ja' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator.html' license :commercial - conflicts_with :cask => 'adobe-illustrator-cc' + conflicts_with cask: 'adobe-illustrator-cc' preflight do deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" @@ -26,5 +26,5 @@ cask 'adobe-illustrator-cc-ja' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-illustrator-cc-nl.rb b/Casks/adobe-illustrator-cc-nl.rb index 14913f7f0..9d1fc895f 100644 --- a/Casks/adobe-illustrator-cc-nl.rb +++ b/Casks/adobe-illustrator-cc-nl.rb @@ -3,13 +3,13 @@ cask 'adobe-illustrator-cc-nl' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator.html' license :commercial - conflicts_with :cask => 'adobe-illustrator-cc' + conflicts_with cask: 'adobe-illustrator-cc' preflight do deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" @@ -26,5 +26,5 @@ cask 'adobe-illustrator-cc-nl' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-indesign-cc-de.rb b/Casks/adobe-indesign-cc-de.rb index 8e12b12d3..9f1895c49 100644 --- a/Casks/adobe-indesign-cc-de.rb +++ b/Casks/adobe-indesign-cc-de.rb @@ -3,13 +3,13 @@ cask 'adobe-indesign-cc-de' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe InDesign CC 2015' homepage 'https://www.adobe.com/products/indesign.html' license :commercial - conflicts_with :cask => 'adobe-indesign-cc' + conflicts_with cask: 'adobe-indesign-cc' preflight do deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" @@ -26,5 +26,5 @@ cask 'adobe-indesign-cc-de' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-indesign-cc-es.rb b/Casks/adobe-indesign-cc-es.rb index ad3509be9..5491b7c99 100644 --- a/Casks/adobe-indesign-cc-es.rb +++ b/Casks/adobe-indesign-cc-es.rb @@ -3,13 +3,13 @@ cask 'adobe-indesign-cc-es' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe InDesign CC 2015' homepage 'https://www.adobe.com/products/indesign.html' license :commercial - conflicts_with :cask => 'adobe-indesign-cc' + conflicts_with cask: 'adobe-indesign-cc' preflight do deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" @@ -26,5 +26,5 @@ cask 'adobe-indesign-cc-es' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-indesign-cc-fr.rb b/Casks/adobe-indesign-cc-fr.rb index e42f675a5..ceef59a6c 100644 --- a/Casks/adobe-indesign-cc-fr.rb +++ b/Casks/adobe-indesign-cc-fr.rb @@ -3,13 +3,13 @@ cask 'adobe-indesign-cc-fr' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe InDesign CC 2015' homepage 'https://www.adobe.com/products/indesign.html' license :commercial - conflicts_with :cask => 'adobe-indesign-cc' + conflicts_with cask: 'adobe-indesign-cc' preflight do deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" @@ -26,5 +26,5 @@ cask 'adobe-indesign-cc-fr' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-indesign-cc-it.rb b/Casks/adobe-indesign-cc-it.rb index 0c29b31c0..12e11c6dc 100644 --- a/Casks/adobe-indesign-cc-it.rb +++ b/Casks/adobe-indesign-cc-it.rb @@ -3,13 +3,13 @@ cask 'adobe-indesign-cc-it' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe InDesign CC 2015' homepage 'https://www.adobe.com/products/indesign.html' license :commercial - conflicts_with :cask => 'adobe-indesign-cc' + conflicts_with cask: 'adobe-indesign-cc' preflight do deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" @@ -26,5 +26,5 @@ cask 'adobe-indesign-cc-it' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-indesign-cc-ja.rb b/Casks/adobe-indesign-cc-ja.rb index eb5de44e4..ec4bd6a21 100644 --- a/Casks/adobe-indesign-cc-ja.rb +++ b/Casks/adobe-indesign-cc-ja.rb @@ -3,13 +3,13 @@ cask 'adobe-indesign-cc-ja' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe InDesign CC 2015' homepage 'https://www.adobe.com/products/indesign.html' license :commercial - conflicts_with :cask => 'adobe-indesign-cc' + conflicts_with cask: 'adobe-indesign-cc' preflight do deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" @@ -26,5 +26,5 @@ cask 'adobe-indesign-cc-ja' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-indesign-cc-nl.rb b/Casks/adobe-indesign-cc-nl.rb index b568c705c..de49535c2 100644 --- a/Casks/adobe-indesign-cc-nl.rb +++ b/Casks/adobe-indesign-cc-nl.rb @@ -3,13 +3,13 @@ cask 'adobe-indesign-cc-nl' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe InDesign CC 2015' homepage 'https://www.adobe.com/products/indesign.html' license :commercial - conflicts_with :cask => 'adobe-indesign-cc' + conflicts_with cask: 'adobe-indesign-cc' preflight do deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" @@ -26,5 +26,5 @@ cask 'adobe-indesign-cc-nl' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-master-collection-cs6-de.rb b/Casks/adobe-master-collection-cs6-de.rb index e8d0f68e6..4d331fcdf 100644 --- a/Casks/adobe-master-collection-cs6-de.rb +++ b/Casks/adobe-master-collection-cs6-de.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6-de' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-master-collection-cs6-es.rb b/Casks/adobe-master-collection-cs6-es.rb index 908ae591f..c527081e8 100644 --- a/Casks/adobe-master-collection-cs6-es.rb +++ b/Casks/adobe-master-collection-cs6-es.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6-es' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-master-collection-cs6-fr.rb b/Casks/adobe-master-collection-cs6-fr.rb index a1a72ae9f..c6ba9cee8 100644 --- a/Casks/adobe-master-collection-cs6-fr.rb +++ b/Casks/adobe-master-collection-cs6-fr.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6-fr' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-master-collection-cs6-it.rb b/Casks/adobe-master-collection-cs6-it.rb index 6a80ce78b..7bbf08fab 100644 --- a/Casks/adobe-master-collection-cs6-it.rb +++ b/Casks/adobe-master-collection-cs6-it.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6-it' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-master-collection-cs6-ja.rb b/Casks/adobe-master-collection-cs6-ja.rb index c32701dd2..eda8d37dd 100644 --- a/Casks/adobe-master-collection-cs6-ja.rb +++ b/Casks/adobe-master-collection-cs6-ja.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6-ja' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS16.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-master-collection-cs6-nl.rb b/Casks/adobe-master-collection-cs6-nl.rb index 03810b893..85ff6e079 100644 --- a/Casks/adobe-master-collection-cs6-nl.rb +++ b/Casks/adobe-master-collection-cs6-nl.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6-nl' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-master-collection-cs6.rb b/Casks/adobe-master-collection-cs6.rb index 74bddd4bf..5e97ab530 100644 --- a/Casks/adobe-master-collection-cs6.rb +++ b/Casks/adobe-master-collection-cs6.rb @@ -9,8 +9,8 @@ cask 'adobe-master-collection-cs6' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS16.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-photoshop-cc-de.rb b/Casks/adobe-photoshop-cc-de.rb index 3eaa98c09..e9a634e15 100644 --- a/Casks/adobe-photoshop-cc-de.rb +++ b/Casks/adobe-photoshop-cc-de.rb @@ -3,13 +3,13 @@ cask 'adobe-photoshop-cc-de' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CC 2015' homepage 'https://www.adobe.com/products/photoshop.html' license :commercial - conflicts_with :cask => 'adobe-photoshop-cc' + conflicts_with cask: 'adobe-photoshop-cc' preflight do file = File.open "#{staged_path}/uninstall.xml", 'w' @@ -34,5 +34,5 @@ cask 'adobe-photoshop-cc-de' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-photoshop-cc-es.rb b/Casks/adobe-photoshop-cc-es.rb index 658caf65d..12cfc6a02 100644 --- a/Casks/adobe-photoshop-cc-es.rb +++ b/Casks/adobe-photoshop-cc-es.rb @@ -3,13 +3,13 @@ cask 'adobe-photoshop-cc-es' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CC 2015' homepage 'https://www.adobe.com/products/photoshop.html' license :commercial - conflicts_with :cask => 'adobe-photoshop-cc' + conflicts_with cask: 'adobe-photoshop-cc' preflight do file = File.open "#{staged_path}/uninstall.xml", 'w' @@ -34,5 +34,5 @@ cask 'adobe-photoshop-cc-es' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-photoshop-cc-fr.rb b/Casks/adobe-photoshop-cc-fr.rb index 88b4a5a44..632661d0f 100644 --- a/Casks/adobe-photoshop-cc-fr.rb +++ b/Casks/adobe-photoshop-cc-fr.rb @@ -3,13 +3,13 @@ cask 'adobe-photoshop-cc-fr' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CC 2015' homepage 'https://www.adobe.com/products/photoshop.html' license :commercial - conflicts_with :cask => 'adobe-photoshop-cc' + conflicts_with cask: 'adobe-photoshop-cc' preflight do file = File.open "#{staged_path}/uninstall.xml", 'w' @@ -34,5 +34,5 @@ cask 'adobe-photoshop-cc-fr' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-photoshop-cc-it.rb b/Casks/adobe-photoshop-cc-it.rb index 7100d2129..0b343ac8c 100644 --- a/Casks/adobe-photoshop-cc-it.rb +++ b/Casks/adobe-photoshop-cc-it.rb @@ -3,13 +3,13 @@ cask 'adobe-photoshop-cc-it' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CC 2015' homepage 'https://www.adobe.com/products/photoshop.html' license :commercial - conflicts_with :cask => 'adobe-photoshop-cc' + conflicts_with cask: 'adobe-photoshop-cc' preflight do file = File.open "#{staged_path}/uninstall.xml", 'w' @@ -34,5 +34,5 @@ cask 'adobe-photoshop-cc-it' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-photoshop-cc-ja.rb b/Casks/adobe-photoshop-cc-ja.rb index 7d2913415..68026c3b4 100644 --- a/Casks/adobe-photoshop-cc-ja.rb +++ b/Casks/adobe-photoshop-cc-ja.rb @@ -3,13 +3,13 @@ cask 'adobe-photoshop-cc-ja' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CC 2015' homepage 'https://www.adobe.com/products/photoshop.html' license :commercial - conflicts_with :cask => 'adobe-photoshop-cc' + conflicts_with cask: 'adobe-photoshop-cc' preflight do file = File.open "#{staged_path}/uninstall.xml", 'w' @@ -34,5 +34,5 @@ cask 'adobe-photoshop-cc-ja' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-photoshop-cc-nl.rb b/Casks/adobe-photoshop-cc-nl.rb index b17d57449..662435dbc 100644 --- a/Casks/adobe-photoshop-cc-nl.rb +++ b/Casks/adobe-photoshop-cc-nl.rb @@ -3,13 +3,13 @@ cask 'adobe-photoshop-cc-nl' do sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CC 2015' homepage 'https://www.adobe.com/products/photoshop.html' license :commercial - conflicts_with :cask => 'adobe-photoshop-cc' + conflicts_with cask: 'adobe-photoshop-cc' preflight do file = File.open "#{staged_path}/uninstall.xml", 'w' @@ -34,5 +34,5 @@ cask 'adobe-photoshop-cc-nl' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" end - uninstall :rmdir => '/Applications/Utilities/Adobe Installers' + uninstall rmdir: '/Applications/Utilities/Adobe Installers' end diff --git a/Casks/adobe-photoshop-cs5.rb b/Casks/adobe-photoshop-cs5.rb index c2274ace8..fe81640fa 100644 --- a/Casks/adobe-photoshop-cs5.rb +++ b/Casks/adobe-photoshop-cs5.rb @@ -9,8 +9,8 @@ cask 'adobe-photoshop-cs5' do # https://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html url 'http://trials2.adobe.com/dlm/AdobeProducts/PHSP/12/osx10/Photoshop_12_LS1.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop CS5' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-photoshop-lightroom571.rb b/Casks/adobe-photoshop-lightroom571.rb index 71cd06722..e75c03a1b 100644 --- a/Casks/adobe-photoshop-lightroom571.rb +++ b/Casks/adobe-photoshop-lightroom571.rb @@ -9,12 +9,12 @@ cask 'adobe-photoshop-lightroom571' do pkg "Adobe Photoshop Lightroom #{version.to_i}.pkg" - uninstall :pkgutil => "com.adobe.Lightroom#{version.to_i}", - :quit => "com.adobe.Lightroom#{version.to_i}", - :delete => "/Applications/Adobe Photoshop Lightroom #{version.to_i}.app" + uninstall pkgutil: "com.adobe.Lightroom#{version.to_i}", + quit: "com.adobe.Lightroom#{version.to_i}", + delete: "/Applications/Adobe Photoshop Lightroom #{version.to_i}.app" - zap :delete => [ - '~/Library/Application Support/Adobe/Lightroom', - "~/Library/Preferences/com.adobe.Lightroom#{version.to_i}.plist", - ] + zap delete: [ + '~/Library/Application Support/Adobe/Lightroom', + "~/Library/Preferences/com.adobe.Lightroom#{version.to_i}.plist", + ] end diff --git a/Casks/adobe-photoshop-lightroom600.rb b/Casks/adobe-photoshop-lightroom600.rb index 39c6b07e1..1dd6ec441 100644 --- a/Casks/adobe-photoshop-lightroom600.rb +++ b/Casks/adobe-photoshop-lightroom600.rb @@ -3,8 +3,8 @@ cask 'adobe-photoshop-lightroom600' do sha256 '5c36e5fa76b8676144c4bba9790fe4c597daf350b2195a2088346b097f46a95f' url "http://trials3.adobe.com/AdobeProducts/LTRM/#{version.to_i}/osx10/Lightroom_#{version.to_i}_LS11.dmg", - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Photoshop Lightroom' homepage 'https://www.adobe.com/products/photoshop-lightroom.html' license :commercial @@ -23,12 +23,12 @@ cask 'adobe-photoshop-lightroom600' do system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/deploy/AdobeLightroom6.remove.xml" end - uninstall :delete => '/Applications/Adobe Lightroom/Adobe Lightroom.app' + uninstall delete: '/Applications/Adobe Lightroom/Adobe Lightroom.app' - zap :delete => [ - '~/Library/Application Support/Adobe/Lightroom', - "~/Library/Preferences/com.adobe.Lightroom#{version.to_i}.plist", - ] + zap delete: [ + '~/Library/Application Support/Adobe/Lightroom', + "~/Library/Preferences/com.adobe.Lightroom#{version.to_i}.plist", + ] caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identify the conflicting processes.' end diff --git a/Casks/adobe-production-premium-cs6-de.rb b/Casks/adobe-production-premium-cs6-de.rb index dd90a34d1..84bdd8893 100644 --- a/Casks/adobe-production-premium-cs6-de.rb +++ b/Casks/adobe-production-premium-cs6-de.rb @@ -9,8 +9,8 @@ cask 'adobe-production-premium-cs6-de' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-production-premium-cs6-es.rb b/Casks/adobe-production-premium-cs6-es.rb index 06b1ee68c..7b5b1b2d3 100644 --- a/Casks/adobe-production-premium-cs6-es.rb +++ b/Casks/adobe-production-premium-cs6-es.rb @@ -9,8 +9,8 @@ cask 'adobe-production-premium-cs6-es' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-production-premium-cs6-fr.rb b/Casks/adobe-production-premium-cs6-fr.rb index 2f5086392..5b1185b7c 100644 --- a/Casks/adobe-production-premium-cs6-fr.rb +++ b/Casks/adobe-production-premium-cs6-fr.rb @@ -9,8 +9,8 @@ cask 'adobe-production-premium-cs6-fr' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-production-premium-cs6-it.rb b/Casks/adobe-production-premium-cs6-it.rb index 4de0a73af..ecd826130 100644 --- a/Casks/adobe-production-premium-cs6-it.rb +++ b/Casks/adobe-production-premium-cs6-it.rb @@ -9,8 +9,8 @@ cask 'adobe-production-premium-cs6-it' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-production-premium-cs6-ja.rb b/Casks/adobe-production-premium-cs6-ja.rb index b62474e5a..642f3ea78 100644 --- a/Casks/adobe-production-premium-cs6-ja.rb +++ b/Casks/adobe-production-premium-cs6-ja.rb @@ -9,8 +9,8 @@ cask 'adobe-production-premium-cs6-ja' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-production-premium-cs6.rb b/Casks/adobe-production-premium-cs6.rb index f19a810f1..74ed78e06 100644 --- a/Casks/adobe-production-premium-cs6.rb +++ b/Casks/adobe-production-premium-cs6.rb @@ -9,8 +9,8 @@ cask 'adobe-production-premium-cs6' do # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', - :user_agent => :fake, - :cookies => { 'MM_TRIALS' => '1234' } + user_agent: :fake, + cookies: { 'MM_TRIALS' => '1234' } name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! homepage 'https://www.adobe.com/mena_en/products/creativesuite.html' license :commercial diff --git a/Casks/adobe-reader-de.rb b/Casks/adobe-reader-de.rb index 1e1dcacac..072d48838 100644 --- a/Casks/adobe-reader-de.rb +++ b/Casks/adobe-reader-de.rb @@ -9,11 +9,11 @@ cask 'adobe-reader-de' do pkg 'Adobe Reader XI Installer.pkg' - uninstall :pkgutil => "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", - :delete => '/Applications/Adobe Reader.app' + uninstall pkgutil: "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", + delete: '/Applications/Adobe Reader.app' - zap :delete => [ - "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+).*}, '\1.\2')}", - '~/Library/Preferences/com.adobe.Reader.plist', - ] + zap delete: [ + "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+).*}, '\1.\2')}", + '~/Library/Preferences/com.adobe.Reader.plist', + ] end diff --git a/Casks/adobe-reader-fr.rb b/Casks/adobe-reader-fr.rb index 4f20e0891..473378227 100644 --- a/Casks/adobe-reader-fr.rb +++ b/Casks/adobe-reader-fr.rb @@ -9,11 +9,11 @@ cask 'adobe-reader-fr' do pkg 'Adobe Reader XI Installer.pkg' - uninstall :pkgutil => "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", - :delete => '/Applications/Adobe Reader.app' + uninstall pkgutil: "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", + delete: '/Applications/Adobe Reader.app' - zap :delete => [ - "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+)\.*}, '\1.\2')}", - '~/Library/Preferences/com.adobe.Reader.plist', - ] + zap delete: [ + "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+)\.*}, '\1.\2')}", + '~/Library/Preferences/com.adobe.Reader.plist', + ] end diff --git a/Casks/adobe-reader-ja.rb b/Casks/adobe-reader-ja.rb index 5c7578685..324e665f4 100644 --- a/Casks/adobe-reader-ja.rb +++ b/Casks/adobe-reader-ja.rb @@ -11,6 +11,6 @@ cask 'adobe-reader-ja' do pkg 'Adobe Reader XI Installer.pkg' - uninstall :pkgutil => "com.adobe.acrobat.reader.#{major_version}.*", - :delete => '/Applications/Adobe Reader.app' + uninstall pkgutil: "com.adobe.acrobat.reader.#{major_version}.*", + delete: '/Applications/Adobe Reader.app' end diff --git a/Casks/adobe-reader-pl.rb b/Casks/adobe-reader-pl.rb index a304b2752..158d12fc5 100644 --- a/Casks/adobe-reader-pl.rb +++ b/Casks/adobe-reader-pl.rb @@ -9,12 +9,12 @@ cask 'adobe-reader-pl' do pkg 'Adobe Reader XI Installer.pkg' - uninstall :pkgutil => "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", - :delete => '/Applications/Adobe Reader.app' + uninstall pkgutil: "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", + delete: '/Applications/Adobe Reader.app' - zap :delete => [ - "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+).*}, '\1.\2')}", - '~/Library/Preferences/com.adobe.Reader.plist', - '~/Library/Caches/com.adobe.Reader', - ] + zap delete: [ + "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+).*}, '\1.\2')}", + '~/Library/Preferences/com.adobe.Reader.plist', + '~/Library/Caches/com.adobe.Reader', + ] end diff --git a/Casks/adobe-reader-pt-br.rb b/Casks/adobe-reader-pt-br.rb index a9c82b666..e1db058cb 100644 --- a/Casks/adobe-reader-pt-br.rb +++ b/Casks/adobe-reader-pt-br.rb @@ -9,11 +9,11 @@ cask 'adobe-reader-pt-br' do pkg 'Adobe Reader XI Installer.pkg' - uninstall :pkgutil => "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", - :delete => '/Applications/Adobe Reader.app' + uninstall pkgutil: "com.adobe.acrobat.reader.#{version.gsub('.', '')}.*", + delete: '/Applications/Adobe Reader.app' - zap :delete => [ - "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+)\.*}, '\1.\2')}", - '~/Library/Preferences/com.adobe.Reader.plist', - ] + zap delete: [ + "~/Library/Application Support/Adobe/Acrobat/#{version.sub(%r{(\d+)\.(\d+)\.*}, '\1.\2')}", + '~/Library/Preferences/com.adobe.Reader.plist', + ] end diff --git a/Casks/anaconda2.rb b/Casks/anaconda2.rb index bf95735f1..2ce4efbee 100644 --- a/Casks/anaconda2.rb +++ b/Casks/anaconda2.rb @@ -7,18 +7,18 @@ cask 'anaconda2' do homepage 'https://www.continuum.io/why-anaconda' license :gratis - depends_on :macos => '>= :lion' - container :type => :naked + depends_on macos: '>= :lion' + container type: :naked - installer :script => "Anaconda2-#{version}-MacOSX-x86_64.sh", - :args => ['-b'], - :sudo => false + installer script: "Anaconda2-#{version}-MacOSX-x86_64.sh", + args: ['-b'], + sudo: false preflight do set_permissions "#{staged_path}/Anaconda2-#{version}-MacOSX-x86_64.sh", '+x' end - uninstall :delete => '~/anaconda2' + uninstall delete: '~/anaconda2' caveats do path_environment_variable '~/anaconda2/bin' diff --git a/Casks/android-studio-canary.rb b/Casks/android-studio-canary.rb index 0f2342dde..e5a5a578b 100644 --- a/Casks/android-studio-canary.rb +++ b/Casks/android-studio-canary.rb @@ -9,14 +9,14 @@ cask 'android-studio-canary' do app 'Android Studio.app' - zap :delete => [ - '~/Library/Preferences/AndroidStudio*', - '~/Library/Preferences/com.google.android.studio.plist', - '~/Library/Application Support/AndroidStudio*', - '~/Library/Logs/AndroidStudio*', - '~/Library/Caches/AndroidStudio*', - ], - :rmdir => '~/AndroidStudioProjects' + zap delete: [ + '~/Library/Preferences/AndroidStudio*', + '~/Library/Preferences/com.google.android.studio.plist', + '~/Library/Application Support/AndroidStudio*', + '~/Library/Logs/AndroidStudio*', + '~/Library/Caches/AndroidStudio*', + ], + rmdir: '~/AndroidStudioProjects' caveats do depends_on_java diff --git a/Casks/appcode-eap.rb b/Casks/appcode-eap.rb index 479f3ad00..e74e20354 100644 --- a/Casks/appcode-eap.rb +++ b/Casks/appcode-eap.rb @@ -7,15 +7,15 @@ cask 'appcode-eap' do homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode+EAP' license :commercial - conflicts_with :cask => 'appcode' + conflicts_with cask: 'appcode' app 'AppCode EAP.app' - zap :delete => [ - '~/Library/Preferences/com.jetbrains.AppCode-EAP.plist', - '~/Library/Preferences/AppCode33', - '~/Library/Application Support/AppCode33', - '~/Library/Caches/AppCode33', - '~/Library/Logs/AppCode33', - ] + zap delete: [ + '~/Library/Preferences/com.jetbrains.AppCode-EAP.plist', + '~/Library/Preferences/AppCode33', + '~/Library/Application Support/AppCode33', + '~/Library/Caches/AppCode33', + '~/Library/Logs/AppCode33', + ] end diff --git a/Casks/atom-beta.rb b/Casks/atom-beta.rb index b551cf21a..078a0fe54 100644 --- a/Casks/atom-beta.rb +++ b/Casks/atom-beta.rb @@ -5,29 +5,29 @@ cask 'atom-beta' do # github.com is the official download host per the vendor homepage url "https://github.com/atom/atom/releases/download/v#{version}/atom-mac.zip" appcast 'https://github.com/atom/atom/releases.atom', - :checkpoint => 'f6eb5ed94e0d68fd64ad7be63ddacfaea7b3e29e237648c44c3b22e87c8b5ef8' + checkpoint: 'f6eb5ed94e0d68fd64ad7be63ddacfaea7b3e29e237648c44c3b22e87c8b5ef8' name 'Github Atom Beta' homepage 'https://atom.io/beta' license :mit auto_updates true - depends_on :macos => '>= :mountain_lion' + depends_on macos: '>= :mountain_lion' app 'Atom Beta.app' - binary 'Atom Beta.app/Contents/Resources/app/apm/node_modules/.bin/apm', :target => 'apm' - binary 'Atom Beta.app/Contents/Resources/app/atom.sh', :target => 'atom-beta' + binary 'Atom Beta.app/Contents/Resources/app/apm/node_modules/.bin/apm', target: 'apm' + binary 'Atom Beta.app/Contents/Resources/app/atom.sh', target: 'atom-beta' postflight do suppress_move_to_applications end - zap :delete => [ - '~/.atom', - '~/Library/Application Support/ShipIt_stderr.log', - '~/Library/Application Support/Atom', - '~/Library/Application Support/ShipIt_stdout.log', - '~/Library/Application Support/com.github.atom.ShipIt', - '~/Library/Caches/com.github.atom', - '~/Library/Preferences/com.github.atom.plist', - ] + zap delete: [ + '~/.atom', + '~/Library/Application Support/ShipIt_stderr.log', + '~/Library/Application Support/Atom', + '~/Library/Application Support/ShipIt_stdout.log', + '~/Library/Application Support/com.github.atom.ShipIt', + '~/Library/Caches/com.github.atom', + '~/Library/Preferences/com.github.atom.plist', + ] end diff --git a/Casks/audio-hijack-pro.rb b/Casks/audio-hijack-pro.rb index 144f41d6b..1656a1b0e 100644 --- a/Casks/audio-hijack-pro.rb +++ b/Casks/audio-hijack-pro.rb @@ -7,10 +7,10 @@ cask 'audio-hijack-pro' do homepage 'https://www.rogueamoeba.com/audiohijackpro/' license :commercial - depends_on :macos => %w[ - :lion - :mountain_lion - ] + depends_on macos: %w[ + :lion + :mountain_lion + ] app 'Audio Hijack Pro.app' end diff --git a/Casks/battle-net-zh-cn.rb b/Casks/battle-net-zh-cn.rb index 396bac1d5..b7851d6c4 100644 --- a/Casks/battle-net-zh-cn.rb +++ b/Casks/battle-net-zh-cn.rb @@ -8,17 +8,17 @@ cask 'battle-net-zh-cn' do homepage 'http://www.battlenet.com.cn/zh/' license :commercial - installer :manual => 'Battle.net-Setup-zhCN.app' + installer manual: 'Battle.net-Setup-zhCN.app' - uninstall :delete => '/Applications/Battle.net.app' + uninstall delete: '/Applications/Battle.net.app' - zap :delete => [ - '~/Library/Preferences/net.battle.net.app.plist', - '~/Library/Preferences/net.battle.Authenticator.prefs', - '~/Library/Preferences/net.battle.Identity.prefs', - '~/Library/Preferences/net.battnet.battle.plist', - '/Users/Shared/Battle.net', - ] + zap delete: [ + '~/Library/Preferences/net.battle.net.app.plist', + '~/Library/Preferences/net.battle.Authenticator.prefs', + '~/Library/Preferences/net.battle.Identity.prefs', + '~/Library/Preferences/net.battnet.battle.plist', + '/Users/Shared/Battle.net', + ] caveats 'If you pick an installation directory other than /Applications when installing this cask, you will need to uninstall it manually' end diff --git a/Casks/boot2docker-status-beta.rb b/Casks/boot2docker-status-beta.rb index 5620f3197..4bd8429af 100644 --- a/Casks/boot2docker-status-beta.rb +++ b/Casks/boot2docker-status-beta.rb @@ -5,12 +5,12 @@ cask 'boot2docker-status-beta' do # github.com is the official download host per the vendor homepage url "https://github.com/nickgartmann/boot2docker-status/releases/download/#{version}/Boot2Docker.Status-v#{version}.beta2.zip" appcast 'https://github.com/nickgartmann/boot2docker-status/releases.atom', - :checkpoint => 'e399bad2bf54114275f4dbce07312b54338baca54d8489326405130501a02a0e' + checkpoint: 'e399bad2bf54114275f4dbce07312b54338baca54d8489326405130501a02a0e' name 'Boot2Docker Status' homepage 'http://boot2docker-status.nickgartmann.com' license :apache app 'Boot2Docker Status.app' - uninstall :quit => 'RokkinCat.Boot2Docker-Status' + uninstall quit: 'RokkinCat.Boot2Docker-Status' end diff --git a/Casks/camtwist-beta.rb b/Casks/camtwist-beta.rb index 0005effcd..9951f68f2 100644 --- a/Casks/camtwist-beta.rb +++ b/Casks/camtwist-beta.rb @@ -7,10 +7,10 @@ cask 'camtwist-beta' do homepage 'http://camtwiststudio.com/' license :gratis - depends_on :macos => '>= 10.10' + depends_on macos: '>= 10.10' pkg 'CamTwist.pkg' - uninstall :script => { :executable => 'Manual Install/CamTwist/uninstall.command' }, - :pkgutil => 'com.allocinit.camtwist.*' + uninstall script: { executable: 'Manual Install/CamTwist/uninstall.command' }, + pkgutil: 'com.allocinit.camtwist.*' end diff --git a/Casks/charles-applejava.rb b/Casks/charles-applejava.rb index 074d6e540..6b39d81f1 100644 --- a/Casks/charles-applejava.rb +++ b/Casks/charles-applejava.rb @@ -9,8 +9,8 @@ cask 'charles-applejava' do app 'Charles.app' - zap :delete => [ - '~/Library/Application Support/Charles', - '~/Library/Preferences/com.xk72.charles.config', - ] + zap delete: [ + '~/Library/Application Support/Charles', + '~/Library/Preferences/com.xk72.charles.config', + ] end diff --git a/Casks/charles-beta-applejava.rb b/Casks/charles-beta-applejava.rb index e1688996c..fd7a5119e 100644 --- a/Casks/charles-beta-applejava.rb +++ b/Casks/charles-beta-applejava.rb @@ -9,8 +9,8 @@ cask 'charles-beta-applejava' do app 'Charles.app' - zap :delete => [ - '~/Library/Application Support/Charles', - '~/Library/Preferences/com.xk72.charles.config', - ] + zap delete: [ + '~/Library/Application Support/Charles', + '~/Library/Preferences/com.xk72.charles.config', + ] end diff --git a/Casks/charles-beta.rb b/Casks/charles-beta.rb index 7a9e3caf2..5d8a70f3b 100644 --- a/Casks/charles-beta.rb +++ b/Casks/charles-beta.rb @@ -9,8 +9,8 @@ cask 'charles-beta' do app 'Charles.app' - zap :delete => [ - '~/Library/Application Support/Charles', - '~/Library/Preferences/com.xk72.charles.config', - ] + zap delete: [ + '~/Library/Application Support/Charles', + '~/Library/Preferences/com.xk72.charles.config', + ] end diff --git a/Casks/clion-eap.rb b/Casks/clion-eap.rb index 5b7aa4982..5fe4b927f 100644 --- a/Casks/clion-eap.rb +++ b/Casks/clion-eap.rb @@ -9,11 +9,11 @@ cask 'clion-eap' do app 'CLion EAP.app' - zap :delete => [ - '~/Library/Preferences/com.jetbrains.CLion-EAP.plist', - '~/Library/Preferences/CLion15', - '~/Library/Application Support/CLion15', - '~/Library/Caches/CLion15', - '~/Library/Logs/CLion15', - ] + zap delete: [ + '~/Library/Preferences/com.jetbrains.CLion-EAP.plist', + '~/Library/Preferences/CLion15', + '~/Library/Application Support/CLion15', + '~/Library/Caches/CLion15', + '~/Library/Logs/CLion15', + ] end diff --git a/Casks/clipmenu-alpha.rb b/Casks/clipmenu-alpha.rb index d760e2161..125b447e8 100644 --- a/Casks/clipmenu-alpha.rb +++ b/Casks/clipmenu-alpha.rb @@ -8,7 +8,7 @@ cask 'clipmenu-alpha' do homepage 'http://www.clipmenu.com/' license :mit - depends_on :macos => '>= :mavericks' + depends_on macos: '>= :mavericks' app 'ClipMenu.app' end diff --git a/Casks/clipmenu-dev.rb b/Casks/clipmenu-dev.rb index 2df822a12..5828706f1 100644 --- a/Casks/clipmenu-dev.rb +++ b/Casks/clipmenu-dev.rb @@ -10,8 +10,8 @@ cask 'clipmenu-dev' do app 'ClipMenu.app' - zap :delete => [ - '~/Library/Application Support/ClipMenu', - '~/Library/Preferences/com.naotaka.ClipMenu.plist', - ] + zap delete: [ + '~/Library/Application Support/ClipMenu', + '~/Library/Preferences/com.naotaka.ClipMenu.plist', + ] end diff --git a/Casks/cura-beta.rb b/Casks/cura-beta.rb index b82985ece..d58c20b92 100644 --- a/Casks/cura-beta.rb +++ b/Casks/cura-beta.rb @@ -9,5 +9,5 @@ cask 'cura-beta' do app 'Cura.app' - zap :delete => '~/.cura' + zap delete: '~/.cura' end diff --git a/Casks/dropbox-experimental.rb b/Casks/dropbox-experimental.rb index 3fa3195b9..3466c651d 100644 --- a/Casks/dropbox-experimental.rb +++ b/Casks/dropbox-experimental.rb @@ -9,7 +9,7 @@ cask 'dropbox-experimental' do app 'Dropbox.app' - uninstall :login_item => 'Dropbox' + uninstall login_item: 'Dropbox' - zap :delete => '~/.dropbox' + zap delete: '~/.dropbox' end diff --git a/Casks/dupeguru-me.rb b/Casks/dupeguru-me.rb index 8b5b9a7be..f01d08379 100644 --- a/Casks/dupeguru-me.rb +++ b/Casks/dupeguru-me.rb @@ -4,7 +4,7 @@ cask 'dupeguru-me' do url "https://download.hardcoded.net/dupeguru_me_osx_#{version.dots_to_underscores}.dmg" appcast 'https://www.hardcoded.net/updates/dupeguru_me.appcast', - :checkpoint => 'f723dcab61cd784e37771b074817f6758463271c4179ce372609405996febc5e' + checkpoint: 'f723dcab61cd784e37771b074817f6758463271c4179ce372609405996febc5e' name 'dupeGuru Music Edition' homepage 'https://www.hardcoded.net/dupeguru_me/' license :bsd diff --git a/Casks/dupeguru-pe.rb b/Casks/dupeguru-pe.rb index 407a7e7be..82431c253 100644 --- a/Casks/dupeguru-pe.rb +++ b/Casks/dupeguru-pe.rb @@ -4,7 +4,7 @@ cask 'dupeguru-pe' do url "https://download.hardcoded.net/dupeguru_pe_osx_#{version.dots_to_underscores}.dmg" appcast 'https://www.hardcoded.net/updates/dupeguru_pe.appcast', - :checkpoint => 'e4231cd13e1f317f9e7dce07d2ace620e1be324568a74c08790b0dd4cf96f66a' + checkpoint: 'e4231cd13e1f317f9e7dce07d2ace620e1be324568a74c08790b0dd4cf96f66a' name 'dupeGuru Picture Edition' homepage 'https://www.hardcoded.net/dupeguru_pe/' license :bsd diff --git a/Casks/firefox-beta-de.rb b/Casks/firefox-beta-de.rb index d121c6c92..a1d3613ef 100644 --- a/Casks/firefox-beta-de.rb +++ b/Casks/firefox-beta-de.rb @@ -9,8 +9,8 @@ cask 'firefox-beta-de' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-beta-en-gb.rb b/Casks/firefox-beta-en-gb.rb index ce067a9d9..d80f6fb7b 100644 --- a/Casks/firefox-beta-en-gb.rb +++ b/Casks/firefox-beta-en-gb.rb @@ -9,8 +9,8 @@ cask 'firefox-beta-en-gb' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-beta-ja.rb b/Casks/firefox-beta-ja.rb index 339f58ce3..0ac67c340 100644 --- a/Casks/firefox-beta-ja.rb +++ b/Casks/firefox-beta-ja.rb @@ -9,8 +9,8 @@ cask 'firefox-beta-ja' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-beta-ru.rb b/Casks/firefox-beta-ru.rb index ef536b33d..301e0be15 100644 --- a/Casks/firefox-beta-ru.rb +++ b/Casks/firefox-beta-ru.rb @@ -9,8 +9,8 @@ cask 'firefox-beta-ru' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-beta-uk.rb b/Casks/firefox-beta-uk.rb index 2ee33d423..b504f7fd6 100644 --- a/Casks/firefox-beta-uk.rb +++ b/Casks/firefox-beta-uk.rb @@ -9,8 +9,8 @@ cask 'firefox-beta-uk' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-beta-zh-cn.rb b/Casks/firefox-beta-zh-cn.rb index 4eb65a37b..ff6665fa0 100644 --- a/Casks/firefox-beta-zh-cn.rb +++ b/Casks/firefox-beta-zh-cn.rb @@ -9,8 +9,8 @@ cask 'firefox-beta-zh-cn' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-beta.rb b/Casks/firefox-beta.rb index 1eff2dcd7..791543634 100644 --- a/Casks/firefox-beta.rb +++ b/Casks/firefox-beta.rb @@ -9,10 +9,10 @@ cask 'firefox-beta' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] caveats <<-EOS.undent The Mac App Store version of 1Password won't work with a Homebrew-cask-linked Mozilla Firefox. To bypass this limitation, you need to either: diff --git a/Casks/firefox-de.rb b/Casks/firefox-de.rb index a1de3c48b..b71886ae8 100644 --- a/Casks/firefox-de.rb +++ b/Casks/firefox-de.rb @@ -9,8 +9,8 @@ cask 'firefox-de' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-esr-ru.rb b/Casks/firefox-esr-ru.rb index 780e6014c..dacde5a78 100644 --- a/Casks/firefox-esr-ru.rb +++ b/Casks/firefox-esr-ru.rb @@ -9,8 +9,8 @@ cask 'firefox-esr-ru' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-esr-uk.rb b/Casks/firefox-esr-uk.rb index 258b7f408..8c373b727 100644 --- a/Casks/firefox-esr-uk.rb +++ b/Casks/firefox-esr-uk.rb @@ -9,8 +9,8 @@ cask 'firefox-esr-uk' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-esr-zh-cn.rb b/Casks/firefox-esr-zh-cn.rb index 44e62efb3..4e67ac030 100644 --- a/Casks/firefox-esr-zh-cn.rb +++ b/Casks/firefox-esr-zh-cn.rb @@ -9,8 +9,8 @@ cask 'firefox-esr-zh-cn' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-esr.rb b/Casks/firefox-esr.rb index a1f0808a5..77439b491 100644 --- a/Casks/firefox-esr.rb +++ b/Casks/firefox-esr.rb @@ -9,8 +9,8 @@ cask 'firefox-esr' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-fr.rb b/Casks/firefox-fr.rb index eeed85c8d..a5630d2ce 100644 --- a/Casks/firefox-fr.rb +++ b/Casks/firefox-fr.rb @@ -9,8 +9,8 @@ cask 'firefox-fr' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-gl.rb b/Casks/firefox-gl.rb index 2e38884ab..3a42d27c0 100644 --- a/Casks/firefox-gl.rb +++ b/Casks/firefox-gl.rb @@ -9,8 +9,8 @@ cask 'firefox-gl' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-it.rb b/Casks/firefox-it.rb index 4aaddd09a..9f7bd3111 100644 --- a/Casks/firefox-it.rb +++ b/Casks/firefox-it.rb @@ -9,8 +9,8 @@ cask 'firefox-it' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-ja.rb b/Casks/firefox-ja.rb index 88099e8ea..d5470902b 100644 --- a/Casks/firefox-ja.rb +++ b/Casks/firefox-ja.rb @@ -9,8 +9,8 @@ cask 'firefox-ja' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-nightly-ja.rb b/Casks/firefox-nightly-ja.rb index e3be16c55..9ad60c336 100644 --- a/Casks/firefox-nightly-ja.rb +++ b/Casks/firefox-nightly-ja.rb @@ -9,8 +9,8 @@ cask 'firefox-nightly-ja' do app 'FirefoxNightly.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-nightly.rb b/Casks/firefox-nightly.rb index e3eb168ee..440833b32 100644 --- a/Casks/firefox-nightly.rb +++ b/Casks/firefox-nightly.rb @@ -9,8 +9,8 @@ cask 'firefox-nightly' do app 'FirefoxNightly.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-nl.rb b/Casks/firefox-nl.rb index db26b50bf..3a94cba0a 100644 --- a/Casks/firefox-nl.rb +++ b/Casks/firefox-nl.rb @@ -9,8 +9,8 @@ cask 'firefox-nl' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-pl.rb b/Casks/firefox-pl.rb index 6954643c4..715192c5a 100644 --- a/Casks/firefox-pl.rb +++ b/Casks/firefox-pl.rb @@ -9,8 +9,8 @@ cask 'firefox-pl' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-pt-br.rb b/Casks/firefox-pt-br.rb index 462297b01..b8d474cec 100644 --- a/Casks/firefox-pt-br.rb +++ b/Casks/firefox-pt-br.rb @@ -9,8 +9,8 @@ cask 'firefox-pt-br' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-ru.rb b/Casks/firefox-ru.rb index 6d80a38e5..60a59ef29 100644 --- a/Casks/firefox-ru.rb +++ b/Casks/firefox-ru.rb @@ -9,8 +9,8 @@ cask 'firefox-ru' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-uk.rb b/Casks/firefox-uk.rb index 3526d6c58..6c1c92f46 100644 --- a/Casks/firefox-uk.rb +++ b/Casks/firefox-uk.rb @@ -9,8 +9,8 @@ cask 'firefox-uk' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-zh-cn.rb b/Casks/firefox-zh-cn.rb index 88a641e4b..71448dbe6 100644 --- a/Casks/firefox-zh-cn.rb +++ b/Casks/firefox-zh-cn.rb @@ -9,8 +9,8 @@ cask 'firefox-zh-cn' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/firefox-zh-tw.rb b/Casks/firefox-zh-tw.rb index 09d422e77..2648c7fb9 100644 --- a/Casks/firefox-zh-tw.rb +++ b/Casks/firefox-zh-tw.rb @@ -9,8 +9,8 @@ cask 'firefox-zh-tw' do app 'Firefox.app' - zap :delete => [ - '~/Library/Application Support/Firefox', - '~/Library/Caches/Firefox', - ] + zap delete: [ + '~/Library/Application Support/Firefox', + '~/Library/Caches/Firefox', + ] end diff --git a/Casks/flux-beta.rb b/Casks/flux-beta.rb index dc9387ff5..f9c84897d 100644 --- a/Casks/flux-beta.rb +++ b/Casks/flux-beta.rb @@ -13,7 +13,7 @@ cask 'flux-beta' do suppress_move_to_applications end - uninstall :login_item => 'Flux' + uninstall login_item: 'Flux' - zap :delete => '~/Library/Preferences/org.herf.Flux.plist' + zap delete: '~/Library/Preferences/org.herf.Flux.plist' end diff --git a/Casks/google-chrome-beta.rb b/Casks/google-chrome-beta.rb index 11b8946df..6e1901bc5 100644 --- a/Casks/google-chrome-beta.rb +++ b/Casks/google-chrome-beta.rb @@ -9,20 +9,20 @@ cask 'google-chrome-beta' do app 'Google Chrome.app' - zap :delete => [ - '~/Library/Application Support/Google/Chrome', - '~/Library/Caches/Google/Chrome', - '~/Library/Caches/com.google.Chrome', - '~/Library/Caches/com.google.Chrome.helper.EH', - '~/Library/Caches/com.google.Keystone.Agent', - '~/Library/Caches/com.google.SoftwareUpdate', - '~/Library/Google/GoogleSoftwareUpdate', - '~/Library/Logs/GoogleSoftwareUpdateAgent.log', - ], - :rmdir => [ - '~/Library/Caches/Google', - '~/Library/Google', - ] + zap delete: [ + '~/Library/Application Support/Google/Chrome', + '~/Library/Caches/Google/Chrome', + '~/Library/Caches/com.google.Chrome', + '~/Library/Caches/com.google.Chrome.helper.EH', + '~/Library/Caches/com.google.Keystone.Agent', + '~/Library/Caches/com.google.SoftwareUpdate', + '~/Library/Google/GoogleSoftwareUpdate', + '~/Library/Logs/GoogleSoftwareUpdateAgent.log', + ], + rmdir: [ + '~/Library/Caches/Google', + '~/Library/Google', + ] caveats <<-EOS.undent The Mac App Store version of 1Password won't work with a Homebrew-Cask-linked Google Chrome. To bypass this limitation, you need to either: diff --git a/Casks/google-chrome-canary.rb b/Casks/google-chrome-canary.rb index da627e815..8ea0d539b 100644 --- a/Casks/google-chrome-canary.rb +++ b/Casks/google-chrome-canary.rb @@ -11,20 +11,20 @@ cask 'google-chrome-canary' do app 'Google Chrome Canary.app' - zap :delete => [ - '~/Library/Application Support/Google/Chrome Canary', - '~/Library/Caches/Google/Chrome Canary', - '~/Library/Caches/com.google.Chrome', - '~/Library/Caches/com.google.Chrome.helper.EH', - '~/Library/Caches/com.google.Keystone.Agent', - '~/Library/Caches/com.google.SoftwareUpdate', - '~/Library/Google/GoogleSoftwareUpdate', - '~/Library/Logs/GoogleSoftwareUpdateAgent.log', - ], - :rmdir => [ - '~/Library/Caches/Google', - '~/Library/Google', - ] + zap delete: [ + '~/Library/Application Support/Google/Chrome Canary', + '~/Library/Caches/Google/Chrome Canary', + '~/Library/Caches/com.google.Chrome', + '~/Library/Caches/com.google.Chrome.helper.EH', + '~/Library/Caches/com.google.Keystone.Agent', + '~/Library/Caches/com.google.SoftwareUpdate', + '~/Library/Google/GoogleSoftwareUpdate', + '~/Library/Logs/GoogleSoftwareUpdateAgent.log', + ], + rmdir: [ + '~/Library/Caches/Google', + '~/Library/Google', + ] caveats <<-EOS.undent The Mac App Store version of 1Password won't work with a Homebrew-Cask-linked Google Chrome. To bypass this limitation, you need to either: diff --git a/Casks/google-chrome-dev.rb b/Casks/google-chrome-dev.rb index 6c64246f2..6abdaaa4a 100644 --- a/Casks/google-chrome-dev.rb +++ b/Casks/google-chrome-dev.rb @@ -9,20 +9,20 @@ cask 'google-chrome-dev' do app 'Google Chrome.app' - zap :delete => [ - '~/Library/Application Support/Google/Chrome', - '~/Library/Caches/Google/Chrome', - '~/Library/Caches/com.google.Chrome', - '~/Library/Caches/com.google.Chrome.helper.EH', - '~/Library/Caches/com.google.Keystone.Agent', - '~/Library/Caches/com.google.SoftwareUpdate', - '~/Library/Google/GoogleSoftwareUpdate', - '~/Library/Logs/GoogleSoftwareUpdateAgent.log', - ], - :rmdir => [ - '~/Library/Caches/Google', - '~/Library/Google', - ] + zap delete: [ + '~/Library/Application Support/Google/Chrome', + '~/Library/Caches/Google/Chrome', + '~/Library/Caches/com.google.Chrome', + '~/Library/Caches/com.google.Chrome.helper.EH', + '~/Library/Caches/com.google.Keystone.Agent', + '~/Library/Caches/com.google.SoftwareUpdate', + '~/Library/Google/GoogleSoftwareUpdate', + '~/Library/Logs/GoogleSoftwareUpdateAgent.log', + ], + rmdir: [ + '~/Library/Caches/Google', + '~/Library/Google', + ] caveats <<-EOS.undent The Mac App Store version of 1Password won't work with a Homebrew-Cask-linked Google Chrome. To bypass this limitation, you need to either: diff --git a/Casks/google-japanese-ime-dev.rb b/Casks/google-japanese-ime-dev.rb index 292e5e68f..21cbe4dd5 100644 --- a/Casks/google-japanese-ime-dev.rb +++ b/Casks/google-japanese-ime-dev.rb @@ -10,9 +10,9 @@ cask 'google-japanese-ime-dev' do pkg 'GoogleJapaneseInput.pkg' - uninstall :pkgutil => 'com.google.pkg.GoogleJapaneseInput', - :launchctl => [ - 'com.google.inputmethod.Japanese.Converter', - 'com.google.inputmethod.Japanese.Renderer', - ] + uninstall pkgutil: 'com.google.pkg.GoogleJapaneseInput', + launchctl: [ + 'com.google.inputmethod.Japanese.Converter', + 'com.google.inputmethod.Japanese.Renderer', + ] end diff --git a/Casks/handbrakecli-nightly.rb b/Casks/handbrakecli-nightly.rb index 2bf53ab35..2b7ad35e7 100644 --- a/Casks/handbrakecli-nightly.rb +++ b/Casks/handbrakecli-nightly.rb @@ -7,7 +7,7 @@ cask 'handbrakecli-nightly' do homepage 'https://handbrake.fr' license :gpl - depends_on :macos => '>= :snow_leopard' + depends_on macos: '>= :snow_leopard' binary 'HandBrakeCLI' end diff --git a/Casks/hearthstone-en-gb.rb b/Casks/hearthstone-en-gb.rb index 355c98249..98cc5c14b 100644 --- a/Casks/hearthstone-en-gb.rb +++ b/Casks/hearthstone-en-gb.rb @@ -7,5 +7,5 @@ cask 'hearthstone-en-gb' do homepage 'http://eu.battle.net/hearthstone/en/' license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder - installer :manual => 'Hearthstone-Setup-enGB.app' + installer manual: 'Hearthstone-Setup-enGB.app' end diff --git a/Casks/hearthstone-ko.rb b/Casks/hearthstone-ko.rb index df773ab0a..21c244128 100644 --- a/Casks/hearthstone-ko.rb +++ b/Casks/hearthstone-ko.rb @@ -7,5 +7,5 @@ cask 'hearthstone-ko' do homepage 'http://kr.battle.net/hearthstone/ko/' license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder - installer :manual => 'Hearthstone-Setup-koKR.app' + installer manual: 'Hearthstone-Setup-koKR.app' end diff --git a/Casks/intellij-idea-ce-eap.rb b/Casks/intellij-idea-ce-eap.rb index 030dd4f0b..de47b265c 100644 --- a/Casks/intellij-idea-ce-eap.rb +++ b/Casks/intellij-idea-ce-eap.rb @@ -9,12 +9,12 @@ cask 'intellij-idea-ce-eap' do app 'IntelliJ IDEA 16 CE EAP.app' - zap :delete => [ - '~/Library/Application Support/IdeaIC16', - '~/Library/Caches/IdeaIC16', - '~/Library/Logs/IdeaIC16', - '~/Library/Preferences/com.jetbrains.intellij.ce.plist', - '~/Library/Preferences/IdeaIC16', - '~/Library/Saved Application State/com.jetbrains.intellij.ce.savedState', - ] + zap delete: [ + '~/Library/Application Support/IdeaIC16', + '~/Library/Caches/IdeaIC16', + '~/Library/Logs/IdeaIC16', + '~/Library/Preferences/com.jetbrains.intellij.ce.plist', + '~/Library/Preferences/IdeaIC16', + '~/Library/Saved Application State/com.jetbrains.intellij.ce.savedState', + ] end diff --git a/Casks/intellij-idea-ce.rb b/Casks/intellij-idea-ce.rb index fb9fb74b7..1f6c74dfb 100644 --- a/Casks/intellij-idea-ce.rb +++ b/Casks/intellij-idea-ce.rb @@ -9,12 +9,12 @@ cask 'intellij-idea-ce' do app 'IntelliJ IDEA 15 CE.app' - zap :delete => [ - '~/Library/Application Support/IdeaIC15', - '~/Library/Preferences/IdeaIC15', - '~/Library/Caches/IdeaIC15', - '~/Library/Logs/IdeaIC15', - ] + zap delete: [ + '~/Library/Application Support/IdeaIC15', + '~/Library/Preferences/IdeaIC15', + '~/Library/Caches/IdeaIC15', + '~/Library/Logs/IdeaIC15', + ] caveats do depends_on_java diff --git a/Casks/intellij-idea-eap.rb b/Casks/intellij-idea-eap.rb index 9289e2860..8dfa614fd 100644 --- a/Casks/intellij-idea-eap.rb +++ b/Casks/intellij-idea-eap.rb @@ -9,11 +9,11 @@ cask 'intellij-idea-eap' do app 'IntelliJ IDEA 16 EAP.app' - zap :delete => [ - '~/Library/Preferences/com.jetbrains.intellij.plist', - '~/Library/Application Support/IntelliJIdea16', - '~/Library/Preferences/IntelliJIdea16', - '~/Library/Caches/IntelliJIdea16', - '~/Library/Logs/IntelliJIdea16', - ] + zap delete: [ + '~/Library/Preferences/com.jetbrains.intellij.plist', + '~/Library/Application Support/IntelliJIdea16', + '~/Library/Preferences/IntelliJIdea16', + '~/Library/Caches/IntelliJIdea16', + '~/Library/Logs/IntelliJIdea16', + ] end diff --git a/Casks/iterm2-beta.rb b/Casks/iterm2-beta.rb index 3e7c52896..49b5fad22 100644 --- a/Casks/iterm2-beta.rb +++ b/Casks/iterm2-beta.rb @@ -11,5 +11,5 @@ cask 'iterm2-beta' do app 'iTerm.app' - zap :delete => '~/Library/Preferences/com.googlecode.iterm2.plist' + zap delete: '~/Library/Preferences/com.googlecode.iterm2.plist' end diff --git a/Casks/iterm2-nightly.rb b/Casks/iterm2-nightly.rb index 65999e7d0..1f21529f6 100644 --- a/Casks/iterm2-nightly.rb +++ b/Casks/iterm2-nightly.rb @@ -4,12 +4,12 @@ cask 'iterm2-nightly' do url "https://www.iterm2.com/downloads/nightly/iTerm2-#{version.dots_to_underscores}-nightly.zip" appcast 'https://iterm2.com/appcasts/nightly.xml', - :checkpoint => 'b6e6d023cf63d28fb5ed9198302b83b36cb045bd73af898661516d274c27f439' + checkpoint: 'b6e6d023cf63d28fb5ed9198302b83b36cb045bd73af898661516d274c27f439' name 'iTerm2' homepage 'https://www.iterm2.com/' license :gpl app 'iTerm.app' - zap :delete => '~/Library/Preferences/com.googlecode.iterm2.plist' + zap delete: '~/Library/Preferences/com.googlecode.iterm2.plist' end diff --git a/Casks/java-beta.rb b/Casks/java-beta.rb index 4617e5d62..3710e58a6 100644 --- a/Casks/java-beta.rb +++ b/Casks/java-beta.rb @@ -3,7 +3,7 @@ cask 'java-beta' do sha256 'e507e19e4300a5478a9c50eec2db50e4e69a9106fca19a15fcb42287bd6131a9' url 'http://download.java.net/jdk8u72/archive/b05/binaries/jdk-8u72-ea-bin-b05-macosx-x86_64-26_oct_2015.dmg', - :cookies => { 'oraclelicense' => 'accept-securebackup-cookie' } + cookies: { 'oraclelicense' => 'accept-securebackup-cookie' } name 'Java Standard Edition Development Kit' homepage 'https://jdk8.java.net/download.html' license :gratis @@ -31,17 +31,17 @@ cask 'java-beta' do end end - uninstall :pkgutil => 'com.oracle.jdk8u72', - :delete => [ - MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', - ].keep_if { |v| !v.empty? } - - zap :delete => [ - '~/Library/Application Support/Oracle/Java', - '~/Library/Caches/com.oracle.java.Java-Updater', - '~/Library/Caches/net.java.openjdk.cmd', - ], - :rmdir => '~/Library/Application Support/Oracle/' + uninstall pkgutil: 'com.oracle.jdk8u72', + delete: [ + MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', + ].keep_if { |v| !v.empty? } + + zap delete: [ + '~/Library/Application Support/Oracle/Java', + '~/Library/Caches/com.oracle.java.Java-Updater', + '~/Library/Caches/net.java.openjdk.cmd', + ], + rmdir: '~/Library/Application Support/Oracle/' caveats <<-EOS.undent This Cask makes minor modifications to the JRE to prevent any packaged diff --git a/Casks/java6.rb b/Casks/java6.rb index 21350d7ce..b19c52d00 100644 --- a/Casks/java6.rb +++ b/Casks/java6.rb @@ -9,5 +9,5 @@ cask 'java6' do pkg 'JavaForOSX.pkg' - uninstall :pkgutil => 'com.apple.pkg.JavaForMacOSX107' + uninstall pkgutil: 'com.apple.pkg.JavaForMacOSX107' end diff --git a/Casks/java7.rb b/Casks/java7.rb index 8081a2f43..e95b1de02 100644 --- a/Casks/java7.rb +++ b/Casks/java7.rb @@ -3,9 +3,9 @@ cask 'java7' do sha256 '2b9deef240a7f07d08541da01bbd60cbf93bf713efd5997e586ba23ec4f5089e' url 'http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-macosx-x64.dmg', - :cookies => { - 'oraclelicense' => 'accept-securebackup-cookie', - } + cookies: { + 'oraclelicense' => 'accept-securebackup-cookie', + } name 'Java Standard Edition Development Kit' homepage 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html' license :gratis @@ -33,17 +33,17 @@ cask 'java7' do end end - uninstall :pkgutil => 'com.oracle.jdk7u80', - :delete => [ - MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', - ].keep_if { |v| !v.empty? } + uninstall pkgutil: 'com.oracle.jdk7u80', + delete: [ + MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', + ].keep_if { |v| !v.empty? } - zap :delete => [ - '~/Library/Application Support/Oracle/Java', - '~/Library/Caches/com.oracle.java.Java-Updater', - '~/Library/Caches/net.java.openjdk.cmd', - ], - :rmdir => '~/Library/Application Support/Oracle/' + zap delete: [ + '~/Library/Application Support/Oracle/Java', + '~/Library/Caches/com.oracle.java.Java-Updater', + '~/Library/Caches/net.java.openjdk.cmd', + ], + rmdir: '~/Library/Application Support/Oracle/' caveats <<-EOS.undent This Cask makes minor modifications to the JRE to prevent any packaged diff --git a/Casks/java9-beta.rb b/Casks/java9-beta.rb index bf1073aba..8386f8b89 100644 --- a/Casks/java9-beta.rb +++ b/Casks/java9-beta.rb @@ -3,7 +3,7 @@ cask 'java9-beta' do sha256 '0073bdd7eb9091b465ede8a818df016523fad420339e0b4ba2b9f92914fc0a71' url 'http://download.java.net/jdk9/archive/96/binaries/jdk-9-ea+96_osx-x64_bin.dmg', - :cookies => { 'oraclelicense' => 'accept-securebackup-cookie' } + cookies: { 'oraclelicense' => 'accept-securebackup-cookie' } name 'Java Standard Edition Development Kit' homepage 'https://jdk9.java.net/download/' license :gratis @@ -31,17 +31,17 @@ cask 'java9-beta' do end end - uninstall :pkgutil => 'com.oracle.jdk9', - :delete => [ - MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', - ].keep_if { |v| !v.empty? } - - zap :delete => [ - '~/Library/Application Support/Oracle/Java', - '~/Library/Caches/com.oracle.java.Java-Updater', - '~/Library/Caches/net.java.openjdk.cmd', - ], - :rmdir => '~/Library/Application Support/Oracle/' + uninstall pkgutil: 'com.oracle.jdk9', + delete: [ + MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', + ].keep_if { |v| !v.empty? } + + zap delete: [ + '~/Library/Application Support/Oracle/Java', + '~/Library/Caches/com.oracle.java.Java-Updater', + '~/Library/Caches/net.java.openjdk.cmd', + ], + rmdir: '~/Library/Application Support/Oracle/' caveats <<-EOS.undent This Cask makes minor modifications to the JRE to prevent any packaged diff --git a/Casks/julia-nightly.rb b/Casks/julia-nightly.rb index c62ab87b8..5e65e1186 100644 --- a/Casks/julia-nightly.rb +++ b/Casks/julia-nightly.rb @@ -8,10 +8,10 @@ cask 'julia-nightly' do homepage 'http://julialang.org' license :mit - depends_on :macos => '>= :lion' + depends_on macos: '>= :lion' app "Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app" binary "Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app/Contents/Resources/julia/bin/julia" - zap :delete => '~/.julia' + zap delete: '~/.julia' end diff --git a/Casks/kicad-nightly.rb b/Casks/kicad-nightly.rb index 895ffdaae..bad5efdef 100644 --- a/Casks/kicad-nightly.rb +++ b/Casks/kicad-nightly.rb @@ -8,5 +8,5 @@ cask 'kicad-nightly' do license :gpl suite 'Kicad' - artifact 'kicad', :target => Pathname.new(File.expand_path('~')).join('Library/Application Support/kicad') + artifact 'kicad', target: Pathname.new(File.expand_path('~')).join('Library/Application Support/kicad') end diff --git a/Casks/libreoffice-beta.rb b/Casks/libreoffice-beta.rb index 0111daa26..e98308a0a 100644 --- a/Casks/libreoffice-beta.rb +++ b/Casks/libreoffice-beta.rb @@ -7,7 +7,7 @@ cask 'libreoffice-beta' do homepage 'https://www.libreoffice.org/download/pre-releases/' license :mpl gpg "#{url}.asc", - :key_id => 'c2839ecad9408fbe9531c3e9f434a1efafeeaea3' + key_id: 'c2839ecad9408fbe9531c3e9f434a1efafeeaea3' app 'LibreOfficeDev.app' end diff --git a/Casks/little-snitch-nightly.rb b/Casks/little-snitch-nightly.rb index cc2dcf156..472570d94 100644 --- a/Casks/little-snitch-nightly.rb +++ b/Casks/little-snitch-nightly.rb @@ -7,12 +7,12 @@ cask 'little-snitch-nightly' do homepage 'https://www.obdev.at/products/littlesnitch/index.html' license :commercial - installer :manual => 'Little Snitch Installer.app' + installer manual: 'Little Snitch Installer.app' - zap :delete => [ - '~/Library/Preferences/at.obdev.LittleSnitchNetworkMonitor.plist', - '~/Library/Application Support/Little Snitch/rules.usr.xpl', - '~/Library/Application Support/Little Snitch/configuration.xpl', - '~/Library/Application Support/Little Snitch/configuration.user.xpl', - ] + zap delete: [ + '~/Library/Preferences/at.obdev.LittleSnitchNetworkMonitor.plist', + '~/Library/Application Support/Little Snitch/rules.usr.xpl', + '~/Library/Application Support/Little Snitch/configuration.xpl', + '~/Library/Application Support/Little Snitch/configuration.user.xpl', + ] end diff --git a/Casks/macaw-indigo.rb b/Casks/macaw-indigo.rb index fa772e597..fc12fd3d1 100644 --- a/Casks/macaw-indigo.rb +++ b/Casks/macaw-indigo.rb @@ -4,7 +4,7 @@ cask 'macaw-indigo' do url "http://indigo.macaw.co/#{version}/MacawIndigo#{version}.dmg" appcast 'http://indigo.macaw.co/appcast.xml', - :checkpoint => 'edbeacf73c56b690aa98a6aedb82c1892c4d79b4bc0a3b87a6094765699793ff' + checkpoint: 'edbeacf73c56b690aa98a6aedb82c1892c4d79b4bc0a3b87a6094765699793ff' name 'Macaw Indigo' homepage 'http://indigo.macaw.co/' license :commercial diff --git a/Casks/macvim-kaoriya.rb b/Casks/macvim-kaoriya.rb index 934ce5a32..d5d281d46 100644 --- a/Casks/macvim-kaoriya.rb +++ b/Casks/macvim-kaoriya.rb @@ -9,19 +9,19 @@ cask 'macvim-kaoriya' do url "https://github.com/splhack/macvim-kaoriya/releases/download/#{version.sub(%r{.*-}, '')}/MacVim-KaoriYa-#{version.sub(%r{.*-}, '')}.dmg" appcast 'https://raw.githubusercontent.com/splhack/macvim-kaoriya/master/latest.xml', - :checkpoint => '6ead50ae50df4feef5f1e985b9295e19c30c13992cb6794afa991a7f9d5d23f0' + checkpoint: '6ead50ae50df4feef5f1e985b9295e19c30c13992cb6794afa991a7f9d5d23f0' name 'MacVim KaoriYa' homepage 'https://github.com/splhack/macvim-kaoriya' license :oss - depends_on :macos => '>= :lion' + depends_on macos: '>= :lion' app 'MacVim.app' mvim = 'MacVim.app/Contents/MacOS/mvim' executables = %w[macvim-askpass mvim mvimdiff mview mvimex gvim gvimdiff gview gvimex] executables += %w[vi vim vimdiff view vimex] if ARGV.include? '--override-system-vim' - executables.each { |e| binary mvim, :target => e } + executables.each { |e| binary mvim, target: e } postflight do system 'ruby', @@ -31,10 +31,10 @@ cask 'macvim-kaoriya' do staged_path.join(mvim) end - zap :delete => [ - '~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist', - '~/Library/Preferences/org.vim.MacVim.plist', - ] + zap delete: [ + '~/Library/Preferences/org.vim.MacVim.LSSharedFileList.plist', + '~/Library/Preferences/org.vim.MacVim.plist', + ] caveats do files_in_usr_local diff --git a/Casks/microsoft-office-2011.rb b/Casks/microsoft-office-2011.rb index d88832957..7d0f6b08b 100644 --- a/Casks/microsoft-office-2011.rb +++ b/Casks/microsoft-office-2011.rb @@ -9,46 +9,46 @@ cask 'microsoft-office-2011' do pkg 'Office Installer.pkg' - uninstall :pkgutil => 'com.microsoft.office.*', - :launchctl => 'com.microsoft.office.licensing.helper' + uninstall pkgutil: 'com.microsoft.office.*', + launchctl: 'com.microsoft.office.licensing.helper' - zap :pkgutil => [ - 'com.microsoft.mau.all.autoupdate.*', - 'com.microsoft.merp.all.errorreporting.*', - ], - :delete => [ - '/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist', - '/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper', - '/Library/Application Support/Microsoft/MAU2.0', - '/Library/Application Support/Microsoft/MERP2.0', - '/Library/Preferences/com.microsoft.Excel.plist', - '/Library/Preferences/com.microsoft.Outlook.plist', - '/Library/Preferences/com.microsoft.PlayReady.plist', - '/Library/Preferences/com.microsoft.Powerpoint.plist', - '/Library/Preferences/com.microsoft.Word.plist', - '/Library/Preferences/com.microsoft.office.licensing.plist', - '/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', - '/Library/Preferences/com.microsoft.outlook.officereminders.plist', - '~/Library/Application Support/Microsoft/Office', - '~/Library/Preferences/com.microsoft.Excel.plist', - '~/Library/Preferences/com.microsoft.Outlook.plist', - '~/Library/Preferences/com.microsoft.Powerpoint.plist', - '~/Library/Preferences/com.microsoft.Word.plist', - '~/Library/Preferences/com.microsoft.autoupdate2.plist', - '~/Library/Preferences/com.microsoft.error_reporting.plist', - '~/Library/Preferences/com.microsoft.office.plist', - '~/Library/Preferences/com.microsoft.office.setupassistant.plist', - '~/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', - '~/Library/Preferences/com.microsoft.outlook.office_reminders.plist', - '~/Library/Preferences/com.microsoft.outlook.officereminders.plist', - '~/Documents/Microsoft User Data/Microsoft', - '~/Documents/Microsoft User Data/Office 2011 Identities', - '~/Documents/Microsoft User Data/Outlook Sound Sets', - '~/Documents/Microsoft User Data/Saved Attachments', - ], - :rmdir => [ - '/Library/Application Support/Microsoft', - '~/Library/Application Support/Microsoft', - '~/Documents/Microsoft User Data', - ] + zap pkgutil: [ + 'com.microsoft.mau.all.autoupdate.*', + 'com.microsoft.merp.all.errorreporting.*', + ], + delete: [ + '/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist', + '/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper', + '/Library/Application Support/Microsoft/MAU2.0', + '/Library/Application Support/Microsoft/MERP2.0', + '/Library/Preferences/com.microsoft.Excel.plist', + '/Library/Preferences/com.microsoft.Outlook.plist', + '/Library/Preferences/com.microsoft.PlayReady.plist', + '/Library/Preferences/com.microsoft.Powerpoint.plist', + '/Library/Preferences/com.microsoft.Word.plist', + '/Library/Preferences/com.microsoft.office.licensing.plist', + '/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', + '/Library/Preferences/com.microsoft.outlook.officereminders.plist', + '~/Library/Application Support/Microsoft/Office', + '~/Library/Preferences/com.microsoft.Excel.plist', + '~/Library/Preferences/com.microsoft.Outlook.plist', + '~/Library/Preferences/com.microsoft.Powerpoint.plist', + '~/Library/Preferences/com.microsoft.Word.plist', + '~/Library/Preferences/com.microsoft.autoupdate2.plist', + '~/Library/Preferences/com.microsoft.error_reporting.plist', + '~/Library/Preferences/com.microsoft.office.plist', + '~/Library/Preferences/com.microsoft.office.setupassistant.plist', + '~/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', + '~/Library/Preferences/com.microsoft.outlook.office_reminders.plist', + '~/Library/Preferences/com.microsoft.outlook.officereminders.plist', + '~/Documents/Microsoft User Data/Microsoft', + '~/Documents/Microsoft User Data/Office 2011 Identities', + '~/Documents/Microsoft User Data/Outlook Sound Sets', + '~/Documents/Microsoft User Data/Saved Attachments', + ], + rmdir: [ + '/Library/Application Support/Microsoft', + '~/Library/Application Support/Microsoft', + '~/Documents/Microsoft User Data', + ] end diff --git a/Casks/microsoft-office-de.rb b/Casks/microsoft-office-de.rb index c0865230e..32ed22ef1 100644 --- a/Casks/microsoft-office-de.rb +++ b/Casks/microsoft-office-de.rb @@ -9,46 +9,46 @@ cask 'microsoft-office-de' do pkg 'Office Installer.pkg' - uninstall :pkgutil => 'com.microsoft.office.*', - :launchctl => 'com.microsoft.office.licensing.helper' + uninstall pkgutil: 'com.microsoft.office.*', + launchctl: 'com.microsoft.office.licensing.helper' - zap :pkgutil => [ - 'com.microsoft.mau.all.autoupdate.*', - 'com.microsoft.merp.all.errorreporting.*', - ], - :delete => [ - '/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist', - '/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper', - '/Library/Application Support/Microsoft/MAU2.0', - '/Library/Application Support/Microsoft/MERP2.0', - '/Library/Preferences/com.microsoft.Excel.plist', - '/Library/Preferences/com.microsoft.Outlook.plist', - '/Library/Preferences/com.microsoft.PlayReady.plist', - '/Library/Preferences/com.microsoft.Powerpoint.plist', - '/Library/Preferences/com.microsoft.Word.plist', - '/Library/Preferences/com.microsoft.office.licensing.plist', - '/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', - '/Library/Preferences/com.microsoft.outlook.officereminders.plist', - '~/Library/Application Support/Microsoft/Office', - '~/Library/Preferences/com.microsoft.Excel.plist', - '~/Library/Preferences/com.microsoft.Outlook.plist', - '~/Library/Preferences/com.microsoft.Powerpoint.plist', - '~/Library/Preferences/com.microsoft.Word.plist', - '~/Library/Preferences/com.microsoft.autoupdate2.plist', - '~/Library/Preferences/com.microsoft.error_reporting.plist', - '~/Library/Preferences/com.microsoft.office.plist', - '~/Library/Preferences/com.microsoft.office.setupassistant.plist', - '~/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', - '~/Library/Preferences/com.microsoft.outlook.office_reminders.plist', - '~/Library/Preferences/com.microsoft.outlook.officereminders.plist', - '~/Documents/Microsoft-Benutzerdaten/Microsoft', - '~/Documents/Microsoft-Benutzerdaten/Office 2011 Identities', - '~/Documents/Microsoft-Benutzerdaten/Outlook Sound Sets', - '~/Documents/Microsoft-Benutzerdaten/Saved Attachments', - ], - :rmdir => [ - '/Library/Application Support/Microsoft', - '~/Library/Application Support/Microsoft', - '~/Documents/Microsoft-Benutzerdaten', - ] + zap pkgutil: [ + 'com.microsoft.mau.all.autoupdate.*', + 'com.microsoft.merp.all.errorreporting.*', + ], + delete: [ + '/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist', + '/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper', + '/Library/Application Support/Microsoft/MAU2.0', + '/Library/Application Support/Microsoft/MERP2.0', + '/Library/Preferences/com.microsoft.Excel.plist', + '/Library/Preferences/com.microsoft.Outlook.plist', + '/Library/Preferences/com.microsoft.PlayReady.plist', + '/Library/Preferences/com.microsoft.Powerpoint.plist', + '/Library/Preferences/com.microsoft.Word.plist', + '/Library/Preferences/com.microsoft.office.licensing.plist', + '/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', + '/Library/Preferences/com.microsoft.outlook.officereminders.plist', + '~/Library/Application Support/Microsoft/Office', + '~/Library/Preferences/com.microsoft.Excel.plist', + '~/Library/Preferences/com.microsoft.Outlook.plist', + '~/Library/Preferences/com.microsoft.Powerpoint.plist', + '~/Library/Preferences/com.microsoft.Word.plist', + '~/Library/Preferences/com.microsoft.autoupdate2.plist', + '~/Library/Preferences/com.microsoft.error_reporting.plist', + '~/Library/Preferences/com.microsoft.office.plist', + '~/Library/Preferences/com.microsoft.office.setupassistant.plist', + '~/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', + '~/Library/Preferences/com.microsoft.outlook.office_reminders.plist', + '~/Library/Preferences/com.microsoft.outlook.officereminders.plist', + '~/Documents/Microsoft-Benutzerdaten/Microsoft', + '~/Documents/Microsoft-Benutzerdaten/Office 2011 Identities', + '~/Documents/Microsoft-Benutzerdaten/Outlook Sound Sets', + '~/Documents/Microsoft-Benutzerdaten/Saved Attachments', + ], + rmdir: [ + '/Library/Application Support/Microsoft', + '~/Library/Application Support/Microsoft', + '~/Documents/Microsoft-Benutzerdaten', + ] end diff --git a/Casks/microsoft-office-ja.rb b/Casks/microsoft-office-ja.rb index efa07b3a7..69de23a7f 100644 --- a/Casks/microsoft-office-ja.rb +++ b/Casks/microsoft-office-ja.rb @@ -9,46 +9,46 @@ cask 'microsoft-office-ja' do pkg 'Office インストーラー.pkg' - uninstall :pkgutil => 'com.microsoft.office.*', - :launchctl => 'com.microsoft.office.licensing.helper' + uninstall pkgutil: 'com.microsoft.office.*', + launchctl: 'com.microsoft.office.licensing.helper' - zap :pkgutil => [ - 'com.microsoft.mau.all.autoupdate.*', - 'com.microsoft.merp.all.errorreporting.*', - ], - :delete => [ - '/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist', - '/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper', - '/Library/Application Support/Microsoft/MAU2.0', - '/Library/Application Support/Microsoft/MERP2.0', - '/Library/Preferences/com.microsoft.Excel.plist', - '/Library/Preferences/com.microsoft.Outlook.plist', - '/Library/Preferences/com.microsoft.PlayReady.plist', - '/Library/Preferences/com.microsoft.Powerpoint.plist', - '/Library/Preferences/com.microsoft.Word.plist', - '/Library/Preferences/com.microsoft.office.licensing.plist', - '/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', - '/Library/Preferences/com.microsoft.outlook.officereminders.plist', - '~/Library/Application Support/Microsoft/Office', - '~/Library/Preferences/com.microsoft.Excel.plist', - '~/Library/Preferences/com.microsoft.Outlook.plist', - '~/Library/Preferences/com.microsoft.Powerpoint.plist', - '~/Library/Preferences/com.microsoft.Word.plist', - '~/Library/Preferences/com.microsoft.autoupdate2.plist', - '~/Library/Preferences/com.microsoft.error_reporting.plist', - '~/Library/Preferences/com.microsoft.office.plist', - '~/Library/Preferences/com.microsoft.office.setupassistant.plist', - '~/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', - '~/Library/Preferences/com.microsoft.outlook.office_reminders.plist', - '~/Library/Preferences/com.microsoft.outlook.officereminders.plist', - '~/Documents/Microsoft ユーザー データ/Microsoft', - '~/Documents/Microsoft ユーザー データ/Office 2011 Identities', - '~/Documents/Microsoft ユーザー データ/Outlook Sound Sets', - '~/Documents/Microsoft ユーザー データ/Saved Attachments', - ], - :rmdir => [ - '/Library/Application Support/Microsoft', - '~/Library/Application Support/Microsoft', - '~/Documents/Microsoft ユーザー データ', - ] + zap pkgutil: [ + 'com.microsoft.mau.all.autoupdate.*', + 'com.microsoft.merp.all.errorreporting.*', + ], + delete: [ + '/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist', + '/Library/PrivilegedHelperTools/com.microsoft.office.licensing.helper', + '/Library/Application Support/Microsoft/MAU2.0', + '/Library/Application Support/Microsoft/MERP2.0', + '/Library/Preferences/com.microsoft.Excel.plist', + '/Library/Preferences/com.microsoft.Outlook.plist', + '/Library/Preferences/com.microsoft.PlayReady.plist', + '/Library/Preferences/com.microsoft.Powerpoint.plist', + '/Library/Preferences/com.microsoft.Word.plist', + '/Library/Preferences/com.microsoft.office.licensing.plist', + '/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', + '/Library/Preferences/com.microsoft.outlook.officereminders.plist', + '~/Library/Application Support/Microsoft/Office', + '~/Library/Preferences/com.microsoft.Excel.plist', + '~/Library/Preferences/com.microsoft.Outlook.plist', + '~/Library/Preferences/com.microsoft.Powerpoint.plist', + '~/Library/Preferences/com.microsoft.Word.plist', + '~/Library/Preferences/com.microsoft.autoupdate2.plist', + '~/Library/Preferences/com.microsoft.error_reporting.plist', + '~/Library/Preferences/com.microsoft.office.plist', + '~/Library/Preferences/com.microsoft.office.setupassistant.plist', + '~/Library/Preferences/com.microsoft.outlook.databasedaemon.plist', + '~/Library/Preferences/com.microsoft.outlook.office_reminders.plist', + '~/Library/Preferences/com.microsoft.outlook.officereminders.plist', + '~/Documents/Microsoft ユーザー データ/Microsoft', + '~/Documents/Microsoft ユーザー データ/Office 2011 Identities', + '~/Documents/Microsoft ユーザー データ/Outlook Sound Sets', + '~/Documents/Microsoft ユーザー データ/Saved Attachments', + ], + rmdir: [ + '/Library/Application Support/Microsoft', + '~/Library/Application Support/Microsoft', + '~/Documents/Microsoft ユーザー データ', + ] end diff --git a/Casks/netbeans-cpp-nightly.rb b/Casks/netbeans-cpp-nightly.rb index 1f310eded..ba8c51afe 100644 --- a/Casks/netbeans-cpp-nightly.rb +++ b/Casks/netbeans-cpp-nightly.rb @@ -9,5 +9,5 @@ cask 'netbeans-cpp-nightly' do pkg "NetBeans Dev #{version}.mpkg" - uninstall :delete => '/Applications/NetBeans' + uninstall delete: '/Applications/NetBeans' end diff --git a/Casks/omnifocus-beta.rb b/Casks/omnifocus-beta.rb index 7608c935e..11e313d24 100644 --- a/Casks/omnifocus-beta.rb +++ b/Casks/omnifocus-beta.rb @@ -9,10 +9,10 @@ cask 'omnifocus-beta' do app 'OmniFocus.app' - zap :delete => [ - '~/Library/containers/com.omnigroup.omnifocus2', - '~/Library/Preferences/com.omnigroup.OmniFocus2.LSSharedFileList.plist', - '~/Library/Preferences/com.omnigroup.OmniSoftwareUpdate.plist', - '~/Library/Caches/Metadata/com.omnigroup.OmniFocus2', - ] + zap delete: [ + '~/Library/containers/com.omnigroup.omnifocus2', + '~/Library/Preferences/com.omnigroup.OmniFocus2.LSSharedFileList.plist', + '~/Library/Preferences/com.omnigroup.OmniSoftwareUpdate.plist', + '~/Library/Caches/Metadata/com.omnigroup.OmniFocus2', + ] end diff --git a/Casks/omnipresence-beta.rb b/Casks/omnipresence-beta.rb index 1112e1799..d80f651a2 100644 --- a/Casks/omnipresence-beta.rb +++ b/Casks/omnipresence-beta.rb @@ -7,7 +7,7 @@ cask 'omnipresence-beta' do homepage 'https://www.omnigroup.com/omnipresence' license :commercial - depends_on :macos => '>= :yosemite' + depends_on macos: '>= :yosemite' app 'OmniPresence.app' end diff --git a/Casks/openemu-experimental.rb b/Casks/openemu-experimental.rb index 4f3fd7123..2fc1dfbef 100644 --- a/Casks/openemu-experimental.rb +++ b/Casks/openemu-experimental.rb @@ -5,41 +5,41 @@ cask 'openemu-experimental' do # github.com is the official download host per the vendor homepage url "https://github.com/OpenEmu/OpenEmu/releases/download/v#{version}/OpenEmu_#{version}-experimental.zip" appcast 'https://github.com/OpenEmu/OpenEmu/releases.atom', - :checkpoint => '5fdc3cf529fcab93c900732f8fd3b09c909a4a6e144f517c97343c27c907e24d' + checkpoint: '5fdc3cf529fcab93c900732f8fd3b09c909a4a6e144f517c97343c27c907e24d' name 'OpenEmu' homepage 'http://openemu.org/' license :oss - depends_on :macos => '>= :el_capitan' + depends_on macos: '>= :el_capitan' app 'OpenEmu.app' - zap :delete => [ - '~/Library/Application Support/OpenEmu', - '~/Library/Application Support/org.openemu.OEXPCCAgent.Agents', - '~/Library/Caches/org.openemu.OpenEmu', - '~/Library/Preferences/org.openemu.Atari800.plist', - '~/Library/Preferences/org.openemu.Bliss.plist', - '~/Library/Preferences/org.openemu.CrabEmu.plist', - '~/Library/Preferences/org.openemu.desmume.plist', - '~/Library/Preferences/org.openemu.FCEU.plist', - '~/Library/Preferences/org.openemu.Gambatte.plist', - '~/Library/Preferences/org.openemu.GenesisPlus.plist', - '~/Library/Preferences/org.openemu.Higan.plist', - '~/Library/Preferences/org.openemu.Mednafen.plist', - '~/Library/Preferences/org.openemu.Mupen64Plus.plist', - '~/Library/Preferences/org.openemu.NeoPop.plist', - '~/Library/Preferences/org.openemu.Nestopia.plist', - '~/Library/Preferences/org.openemu.O2EM.plist', - '~/Library/Preferences/org.openemu.OpenEmu.plist', - '~/Library/Preferences/org.openemu.Picodrive.plist', - '~/Library/Preferences/org.openemu.PPSSPP.plist', - '~/Library/Preferences/org.openemu.ProSystem.plist', - '~/Library/Preferences/org.openemu.SNES9x.plist', - '~/Library/Preferences/org.openemu.Stella.plist', - '~/Library/Preferences/org.openemu.TwoMbit.plist', - '~/Library/Preferences/org.openemu.VecXGL.plist', - '~/Library/Preferences/org.openemu.VisualBoyAdvance.plist', - '~/Library/Saved Application State/org.openemu.OpenEmu.savedState', - ] + zap delete: [ + '~/Library/Application Support/OpenEmu', + '~/Library/Application Support/org.openemu.OEXPCCAgent.Agents', + '~/Library/Caches/org.openemu.OpenEmu', + '~/Library/Preferences/org.openemu.Atari800.plist', + '~/Library/Preferences/org.openemu.Bliss.plist', + '~/Library/Preferences/org.openemu.CrabEmu.plist', + '~/Library/Preferences/org.openemu.desmume.plist', + '~/Library/Preferences/org.openemu.FCEU.plist', + '~/Library/Preferences/org.openemu.Gambatte.plist', + '~/Library/Preferences/org.openemu.GenesisPlus.plist', + '~/Library/Preferences/org.openemu.Higan.plist', + '~/Library/Preferences/org.openemu.Mednafen.plist', + '~/Library/Preferences/org.openemu.Mupen64Plus.plist', + '~/Library/Preferences/org.openemu.NeoPop.plist', + '~/Library/Preferences/org.openemu.Nestopia.plist', + '~/Library/Preferences/org.openemu.O2EM.plist', + '~/Library/Preferences/org.openemu.OpenEmu.plist', + '~/Library/Preferences/org.openemu.Picodrive.plist', + '~/Library/Preferences/org.openemu.PPSSPP.plist', + '~/Library/Preferences/org.openemu.ProSystem.plist', + '~/Library/Preferences/org.openemu.SNES9x.plist', + '~/Library/Preferences/org.openemu.Stella.plist', + '~/Library/Preferences/org.openemu.TwoMbit.plist', + '~/Library/Preferences/org.openemu.VecXGL.plist', + '~/Library/Preferences/org.openemu.VisualBoyAdvance.plist', + '~/Library/Saved Application State/org.openemu.OpenEmu.savedState', + ] end diff --git a/Casks/openoffice-fr.rb b/Casks/openoffice-fr.rb index 5fd129168..f234889f6 100644 --- a/Casks/openoffice-fr.rb +++ b/Casks/openoffice-fr.rb @@ -10,5 +10,5 @@ cask 'openoffice-fr' do app 'OpenOffice.app' - zap :delete => '~/Library/Application Support/OpenOffice' + zap delete: '~/Library/Application Support/OpenOffice' end diff --git a/Casks/osxfuse-beta.rb b/Casks/osxfuse-beta.rb index ed2f41e73..63f0bf780 100644 --- a/Casks/osxfuse-beta.rb +++ b/Casks/osxfuse-beta.rb @@ -4,7 +4,7 @@ cask 'osxfuse-beta' do url "https://github.com/osxfuse/osxfuse/releases/download/osxfuse-#{version}/osxfuse-#{version}.dmg" appcast 'https://github.com/osxfuse/osxfuse/releases.atom', - :checkpoint => '6a2e04eaf5fc1471e119b84f89215e3b8af98a51a47ab264ff5ec0098fc7b965' + checkpoint: '6a2e04eaf5fc1471e119b84f89215e3b8af98a51a47ab264ff5ec0098fc7b965' name 'OSXFUSE' homepage 'https://osxfuse.github.io/' license :bsd @@ -15,8 +15,8 @@ cask 'osxfuse-beta' do set_ownership ['/usr/local/include', '/usr/local/lib'] end - uninstall :pkgutil => 'com.github.osxfuse.pkg.Core|com.github.osxfuse.pkg.PrefPane', - :kext => 'com.github.osxfuse.filesystems.osxfusefs' + uninstall pkgutil: 'com.github.osxfuse.pkg.Core|com.github.osxfuse.pkg.PrefPane', + kext: 'com.github.osxfuse.filesystems.osxfusefs' caveats do reboot diff --git a/Casks/parallels10.rb b/Casks/parallels10.rb index b57d581a3..ec92a48ca 100644 --- a/Casks/parallels10.rb +++ b/Casks/parallels10.rb @@ -14,21 +14,21 @@ cask 'parallels10' do system '/usr/bin/SetFile', '-a', 'v', staged_path.join('Parallels Desktop.app') end - uninstall :delete => [ - '/usr/bin/prl_convert', - '/usr/bin/prl_disk_tool', - '/usr/bin/prl_perf_ctl', - '/usr/bin/prlctl', - '/usr/bin/prlsrvctl', - ] + uninstall delete: [ + '/usr/bin/prl_convert', + '/usr/bin/prl_disk_tool', + '/usr/bin/prl_perf_ctl', + '/usr/bin/prlctl', + '/usr/bin/prlsrvctl', + ] - zap :delete => [ - '~/.parallels_settings', - '~/Library/Caches/com.parallels.desktop.console', - '~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist', - '~/Library/Preferences/com.parallels.desktop.console.plist', - '~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist', - '~/Library/Preferences/com.parallels.Parallels Desktop.plist', - '~/Library/Preferences/com.parallels.Parallels.plist', - ] + zap delete: [ + '~/.parallels_settings', + '~/Library/Caches/com.parallels.desktop.console', + '~/Library/Preferences/com.parallels.desktop.console.LSSharedFileList.plist', + '~/Library/Preferences/com.parallels.desktop.console.plist', + '~/Library/Preferences/com.parallels.Parallels Desktop Statistics.plist', + '~/Library/Preferences/com.parallels.Parallels Desktop.plist', + '~/Library/Preferences/com.parallels.Parallels.plist', + ] end diff --git a/Casks/pdfpenpro.rb b/Casks/pdfpenpro.rb index 2dd7668d9..3ade4d6af 100644 --- a/Casks/pdfpenpro.rb +++ b/Casks/pdfpenpro.rb @@ -4,7 +4,7 @@ cask 'pdfpenpro' do url "https://dl.smilesoftware.com/com.smileonmymac.PDFpenPro/#{version.before_comma}/#{version.after_comma}/PDFpenPro-#{version.before_comma}.zip" appcast 'https://updates.smilesoftware.com/com.smileonmymac.PDFpenPro.xml', - :checkpoint => '247e84eb90cb0793ad613c628dab5aa62e1dee36fd2cac4a24d37e7d4f31f0c5' + checkpoint: '247e84eb90cb0793ad613c628dab5aa62e1dee36fd2cac4a24d37e7d4f31f0c5' name 'PDFpenPro' homepage 'https://www.smilesoftware.com/PDFpenPro/' license :commercial diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb index ad4cb3a01..5df22c9cd 100644 --- a/Casks/phpstorm-eap.rb +++ b/Casks/phpstorm-eap.rb @@ -9,12 +9,12 @@ cask 'phpstorm-eap' do app 'PhpStorm EAP.app' - zap :delete => [ - '~/Library/Application Support/WebIde100', - '~/Library/Caches/WebIde100', - '~/Library/Logs/WebIde100', - '~/Library/Preferences/WebIde100', - '~/Library/Preferences/com.jetbrains.PhpStorm-EAP.plist', - '~/.WebIde100', - ] + zap delete: [ + '~/Library/Application Support/WebIde100', + '~/Library/Caches/WebIde100', + '~/Library/Logs/WebIde100', + '~/Library/Preferences/WebIde100', + '~/Library/Preferences/com.jetbrains.PhpStorm-EAP.plist', + '~/.WebIde100', + ] end diff --git a/Casks/pokerstarseu.rb b/Casks/pokerstarseu.rb index 7f0fc14bc..3301f10d3 100644 --- a/Casks/pokerstarseu.rb +++ b/Casks/pokerstarseu.rb @@ -11,8 +11,8 @@ cask 'pokerstarseu' do app 'PokerStarsEU.app' - zap :delete => [ - '~/Library/Preferences/com.pokerstars.eu.user.ini', - '~/Library/Preferences/com.pokerstars.PokerStarsEU.plist', - ] + zap delete: [ + '~/Library/Preferences/com.pokerstars.eu.user.ini', + '~/Library/Preferences/com.pokerstars.PokerStarsEU.plist', + ] end diff --git a/Casks/pycharm-ce-eap.rb b/Casks/pycharm-ce-eap.rb index 747ec1aac..3a316b64e 100644 --- a/Casks/pycharm-ce-eap.rb +++ b/Casks/pycharm-ce-eap.rb @@ -7,16 +7,16 @@ cask 'pycharm-ce-eap' do homepage 'https://confluence.jetbrains.com/display/PYH/JetBrains+PyCharm+Preview+(EAP)' license :apache - conflicts_with :cask => 'pycharm-ce' + conflicts_with cask: 'pycharm-ce' app 'PyCharm CE.app' - zap :delete => [ - '~/Library/Preferences/com.jetbrains.pycharm.plist', - '~/Library/Preferences/PyCharm50', - '~/Library/Application Support/PyCharm50', - '~/Library/Caches/PyCharm50', - '~/Library/Logs/PyCharm50', - '/usr/local/bin/charm', - ] + zap delete: [ + '~/Library/Preferences/com.jetbrains.pycharm.plist', + '~/Library/Preferences/PyCharm50', + '~/Library/Application Support/PyCharm50', + '~/Library/Caches/PyCharm50', + '~/Library/Logs/PyCharm50', + '/usr/local/bin/charm', + ] end diff --git a/Casks/pycharm-eap.rb b/Casks/pycharm-eap.rb index 2659bca29..dfd909cc7 100644 --- a/Casks/pycharm-eap.rb +++ b/Casks/pycharm-eap.rb @@ -7,16 +7,16 @@ cask 'pycharm-eap' do homepage 'https://confluence.jetbrains.com/display/PYH/JetBrains+PyCharm+Preview+(EAP)' license :commercial - conflicts_with :cask => 'pycharm' + conflicts_with cask: 'pycharm' app 'PyCharm.app' - zap :delete => [ - '~/Library/Preferences/com.jetbrains.pycharm.plist', - '~/Library/Preferences/PyCharm50', - '~/Library/Application Support/PyCharm50', - '~/Library/Caches/PyCharm50', - '~/Library/Logs/PyCharm50', - '/usr/local/bin/charm', - ] + zap delete: [ + '~/Library/Preferences/com.jetbrains.pycharm.plist', + '~/Library/Preferences/PyCharm50', + '~/Library/Application Support/PyCharm50', + '~/Library/Caches/PyCharm50', + '~/Library/Logs/PyCharm50', + '/usr/local/bin/charm', + ] end diff --git a/Casks/royal-tsx-beta.rb b/Casks/royal-tsx-beta.rb index 0842e9a93..7b66b847b 100644 --- a/Casks/royal-tsx-beta.rb +++ b/Casks/royal-tsx-beta.rb @@ -4,7 +4,7 @@ cask 'royal-tsx-beta' do url "http://v2.royaltsx.com/updates/royaltsx_#{version}.dmg" appcast 'http://v2.royaltsx.com/updates_beta.php', - :checkpoint => 'f5a30300841e66f37005c35d327498682477c3cf3024bd850af9dd2af7fcd8ec' + checkpoint: 'f5a30300841e66f37005c35d327498682477c3cf3024bd850af9dd2af7fcd8ec' name 'Royal TSX' homepage 'http://www.royaltsx.com' license :freemium diff --git a/Casks/rstudio-daily.rb b/Casks/rstudio-daily.rb index 86e708922..5369fcd41 100644 --- a/Casks/rstudio-daily.rb +++ b/Casks/rstudio-daily.rb @@ -9,5 +9,5 @@ cask 'rstudio-daily' do app 'RStudio.app' - zap :delete => '~/.rstudio-desktop' + zap delete: '~/.rstudio-desktop' end diff --git a/Casks/rstudio-preview.rb b/Casks/rstudio-preview.rb index cff9113b3..507385643 100644 --- a/Casks/rstudio-preview.rb +++ b/Casks/rstudio-preview.rb @@ -10,5 +10,5 @@ cask 'rstudio-preview' do app 'RStudio.app' - zap :delete => '~/.rstudio-desktop' + zap delete: '~/.rstudio-desktop' end diff --git a/Casks/rubymine-eap.rb b/Casks/rubymine-eap.rb index 368be9f6f..b9c54145e 100644 --- a/Casks/rubymine-eap.rb +++ b/Casks/rubymine-eap.rb @@ -9,12 +9,12 @@ cask 'rubymine-eap' do app 'RubyMine EAP.app' - zap :delete => [ - '~/Library/Preferences/com.jetbrains.rubymine-EAP.plist', - '~/Library/Preferences/RubyMine70', - '~/Library/Application Support/RubyMine70', - '~/Library/Caches/RubyMine70', - '~/Library/Logs/RubyMine70', - '/usr/local/bin/mine', - ] + zap delete: [ + '~/Library/Preferences/com.jetbrains.rubymine-EAP.plist', + '~/Library/Preferences/RubyMine70', + '~/Library/Application Support/RubyMine70', + '~/Library/Caches/RubyMine70', + '~/Library/Logs/RubyMine70', + '/usr/local/bin/mine', + ] end diff --git a/Casks/scansnap-manager-s1300.rb b/Casks/scansnap-manager-s1300.rb index 213c856f0..9eb852753 100644 --- a/Casks/scansnap-manager-s1300.rb +++ b/Casks/scansnap-manager-s1300.rb @@ -7,9 +7,9 @@ cask 'scansnap-manager-s1300' do homepage 'https://www.fujitsu.com/global/support/computing/peripheral/scanners/software/s1300m-setup.html' license :gratis - depends_on :macos => '>= :tiger' + depends_on macos: '>= :tiger' pkg 'Scansnap Manager.pkg' - uninstall :pkgutil => 'jp.co.pfu.ScanSnap.V10L10' + uninstall pkgutil: 'jp.co.pfu.ScanSnap.V10L10' end diff --git a/Casks/scansnap-manager-s1500.rb b/Casks/scansnap-manager-s1500.rb index 557957358..5a55892a0 100644 --- a/Casks/scansnap-manager-s1500.rb +++ b/Casks/scansnap-manager-s1500.rb @@ -8,9 +8,9 @@ cask 'scansnap-manager-s1500' do homepage 'https://www.fujitsu.com/global/support/products/computing/peripheral/scanners/scansnap/software/s1500.html' license :gratis - depends_on :macos => '>= :lion' + depends_on macos: '>= :lion' pkg 'ScanSnap Manager.pkg' - uninstall :pkgutil => 'jp.co.pfu.ScanSnap.*' + uninstall pkgutil: 'jp.co.pfu.ScanSnap.*' end diff --git a/Casks/scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy.rb b/Casks/scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy.rb index d7fef1417..3e592295a 100644 --- a/Casks/scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy.rb +++ b/Casks/scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy.rb @@ -7,24 +7,24 @@ cask 'scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy' do homepage 'https://www.fujitsu.com/global/support/computing/peripheral/scanners/software/mac.html' license :gratis - depends_on :macos => [:tiger, :leopard] + depends_on macos: [:tiger, :leopard] pkg 'ScanSnap_V22L11.pkg' - uninstall :pkgutil => 'jp.co.pfu.ScanSnap.V10L10', - :quit => [ - 'jp.co.ScanSnap.Scan2PrintBundle', - 'jp.co.pfu.SSPDF2Image', - 'jp.co.pfu.ScanSnap.P2IUNISET', - 'jp.co.pfu.ScanSnap.QuickMenu', - 'jp.co.pfu.ScanSnap.SSLog', - 'jp.co.pfu.ScanSnap.STMApp', - 'jp.co.pfu.ScanSnap.STPApp', - 'jp.co.pfu.ScanSnap.STPPDE', - 'jp.co.pfu.ScanSnap.Scan2Mail', - 'jp.co.pfu.ScanSnap.ScanToFolder', - 'jp.co.pfu.ScanSnap.V10L10', - ] + uninstall pkgutil: 'jp.co.pfu.ScanSnap.V10L10', + quit: [ + 'jp.co.ScanSnap.Scan2PrintBundle', + 'jp.co.pfu.SSPDF2Image', + 'jp.co.pfu.ScanSnap.P2IUNISET', + 'jp.co.pfu.ScanSnap.QuickMenu', + 'jp.co.pfu.ScanSnap.SSLog', + 'jp.co.pfu.ScanSnap.STMApp', + 'jp.co.pfu.ScanSnap.STPApp', + 'jp.co.pfu.ScanSnap.STPPDE', + 'jp.co.pfu.ScanSnap.Scan2Mail', + 'jp.co.pfu.ScanSnap.ScanToFolder', + 'jp.co.pfu.ScanSnap.V10L10', + ] caveats 'Install cask `scansnap-manager-s300m-s510m` after to update for compatibility with OS X 10.6+' end diff --git a/Casks/scansnap-manager-s300m-s510m.rb b/Casks/scansnap-manager-s300m-s510m.rb index 6fe3a540d..c75eb7647 100644 --- a/Casks/scansnap-manager-s300m-s510m.rb +++ b/Casks/scansnap-manager-s300m-s510m.rb @@ -7,23 +7,23 @@ cask 'scansnap-manager-s300m-s510m' do homepage 'https://www.fujitsu.com/global/support/computing/peripheral/scanners/software/mac-mg22-eol.html' license :gratis - depends_on :cask => 'scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy' - depends_on :macos => '>= :snow_leopard' + depends_on cask: 'scansnap-manager-s300m-s500m-s510m-fi-5110eoxm-legacy' + depends_on macos: '>= :snow_leopard' pkg 'ScanSnap_V22L16.pkg' - uninstall :pkgutil => 'jp.co.pfu.ScanSnap.V22L16', - :quit => [ - 'jp.co.ScanSnap.Scan2PrintBundle', - 'jp.co.pfu.SSPDF2Image', - 'jp.co.pfu.ScanSnap.P2IUNISET', - 'jp.co.pfu.ScanSnap.QuickMenu', - 'jp.co.pfu.ScanSnap.SSLog', - 'jp.co.pfu.ScanSnap.STMApp', - 'jp.co.pfu.ScanSnap.STPApp', - 'jp.co.pfu.ScanSnap.STPPDE', - 'jp.co.pfu.ScanSnap.Scan2Mail', - 'jp.co.pfu.ScanSnap.ScanToFolder', - 'jp.co.pfu.ScanSnap.V10L10', - ] + uninstall pkgutil: 'jp.co.pfu.ScanSnap.V22L16', + quit: [ + 'jp.co.ScanSnap.Scan2PrintBundle', + 'jp.co.pfu.SSPDF2Image', + 'jp.co.pfu.ScanSnap.P2IUNISET', + 'jp.co.pfu.ScanSnap.QuickMenu', + 'jp.co.pfu.ScanSnap.SSLog', + 'jp.co.pfu.ScanSnap.STMApp', + 'jp.co.pfu.ScanSnap.STPApp', + 'jp.co.pfu.ScanSnap.STPPDE', + 'jp.co.pfu.ScanSnap.Scan2Mail', + 'jp.co.pfu.ScanSnap.ScanToFolder', + 'jp.co.pfu.ScanSnap.V10L10', + ] end diff --git a/Casks/scansnap-manager-sv600.rb b/Casks/scansnap-manager-sv600.rb index b9a395a25..434527a31 100644 --- a/Casks/scansnap-manager-sv600.rb +++ b/Casks/scansnap-manager-sv600.rb @@ -7,9 +7,9 @@ cask 'scansnap-manager-sv600' do homepage 'https://www.fujitsu.com/global/support/computing/peripheral/scanners/software/' license :gratis - depends_on :macos => '>= :lion' + depends_on macos: '>= :lion' pkg 'ScanSnap Manager.pkg' - uninstall :pkgutil => 'jp.co.pfu.ScanSnap.*' + uninstall pkgutil: 'jp.co.pfu.ScanSnap.*' end diff --git a/Casks/sequel-pro-nightly.rb b/Casks/sequel-pro-nightly.rb index 61c21033c..065e92a5a 100644 --- a/Casks/sequel-pro-nightly.rb +++ b/Casks/sequel-pro-nightly.rb @@ -7,9 +7,9 @@ cask 'sequel-pro-nightly' do homepage 'http://nightly.sequelpro.com/' license :mit - depends_on :macos => '>= :leopard' + depends_on macos: '>= :leopard' app 'Sequel Pro.app' - zap :delete => '~/Library/Application Support/Sequel Pro/Data' + zap delete: '~/Library/Application Support/Sequel Pro/Data' end diff --git a/Casks/sketchup-pro.rb b/Casks/sketchup-pro.rb index b4a0ec5e4..c1f571572 100644 --- a/Casks/sketchup-pro.rb +++ b/Casks/sketchup-pro.rb @@ -11,8 +11,8 @@ cask 'sketchup-pro' do suite 'SketchUp 2016' - zap :delete => [ - '~/Library/Application Support/SketchUp 2016', - '~/Library/Caches/com.sketchup.SketchUp.2016', - ] + zap delete: [ + '~/Library/Application Support/SketchUp 2016', + '~/Library/Caches/com.sketchup.SketchUp.2016', + ] end diff --git a/Casks/sublime-text-dev.rb b/Casks/sublime-text-dev.rb index c66ce4e1a..167da0457 100644 --- a/Casks/sublime-text-dev.rb +++ b/Casks/sublime-text-dev.rb @@ -5,24 +5,24 @@ cask 'sublime-text-dev' do # rackcdn.com is the official download host per the vendor homepage url "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%20#{version}.dmg" appcast 'https://www.sublimetext.com/updates/3/dev/appcast_osx.xml', - :checkpoint => 'c850ebbe33c8dc1a435626abb68777910ff77cd6428136c264cca97b281f40b3' + checkpoint: 'c850ebbe33c8dc1a435626abb68777910ff77cd6428136c264cca97b281f40b3' name 'Sublime Text' homepage 'https://www.sublimetext.com/3dev' license :closed - conflicts_with :cask => 'caskroom/versions/sublime-text3' + conflicts_with cask: 'caskroom/versions/sublime-text3' app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' - uninstall :quit => 'com.sublimetext.3' + uninstall quit: 'com.sublimetext.3' - zap :delete => [ - '~/Library/Application Support/Sublime Text 3', - '~/Library/Caches/com.sublimetext.3', - '~/Library/Preferences/com.sublimetext.3.plist', - '~/Library/Saved Application State/com.sublimetext.3.savedState', - ] + zap delete: [ + '~/Library/Application Support/Sublime Text 3', + '~/Library/Caches/com.sublimetext.3', + '~/Library/Preferences/com.sublimetext.3.plist', + '~/Library/Saved Application State/com.sublimetext.3.savedState', + ] caveats do files_in_usr_local diff --git a/Casks/sublime-text3.rb b/Casks/sublime-text3.rb index 0d3882934..b17be3c7b 100644 --- a/Casks/sublime-text3.rb +++ b/Casks/sublime-text3.rb @@ -5,24 +5,24 @@ cask 'sublime-text3' do # rackcdn.com is the official download host per the vendor homepage url "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%20#{version}.dmg" appcast 'https://www.sublimetext.com/updates/3/stable/appcast_osx.xml', - :checkpoint => 'cd60110c8d5161e5c569522a5c7537b5f3f91cef12e3d023ab5cc85f2ab4f6e1' + checkpoint: 'cd60110c8d5161e5c569522a5c7537b5f3f91cef12e3d023ab5cc85f2ab4f6e1' name 'Sublime Text' homepage 'https://www.sublimetext.com/3' license :closed - conflicts_with :cask => 'caskroom/versions/sublime-text-dev' + conflicts_with cask: 'caskroom/versions/sublime-text-dev' app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' - uninstall :quit => 'com.sublimetext.3' + uninstall quit: 'com.sublimetext.3' - zap :delete => [ - '~/Library/Application Support/Sublime Text 3', - '~/Library/Caches/com.sublimetext.3', - '~/Library/Preferences/com.sublimetext.3.plist', - '~/Library/Saved Application State/com.sublimetext.3.savedState', - ] + zap delete: [ + '~/Library/Application Support/Sublime Text 3', + '~/Library/Caches/com.sublimetext.3', + '~/Library/Preferences/com.sublimetext.3.plist', + '~/Library/Saved Application State/com.sublimetext.3.savedState', + ] caveats do files_in_usr_local diff --git a/Casks/torbrowser-alpha.rb b/Casks/torbrowser-alpha.rb index ce55dff6c..9e6e23e96 100644 --- a/Casks/torbrowser-alpha.rb +++ b/Casks/torbrowser-alpha.rb @@ -7,7 +7,7 @@ cask 'torbrowser-alpha' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' diff --git a/Casks/torbrowser-ar.rb b/Casks/torbrowser-ar.rb index 8f8851035..58d9115fb 100644 --- a/Casks/torbrowser-ar.rb +++ b/Casks/torbrowser-ar.rb @@ -7,7 +7,7 @@ cask 'torbrowser-ar' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-cn.rb b/Casks/torbrowser-cn.rb index bdea96dd5..ae06f08c5 100644 --- a/Casks/torbrowser-cn.rb +++ b/Casks/torbrowser-cn.rb @@ -7,7 +7,7 @@ cask 'torbrowser-cn' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-de.rb b/Casks/torbrowser-de.rb index e4a43b450..55cb5b8fa 100644 --- a/Casks/torbrowser-de.rb +++ b/Casks/torbrowser-de.rb @@ -7,7 +7,7 @@ cask 'torbrowser-de' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-es.rb b/Casks/torbrowser-es.rb index 3f0ef436c..beabe8888 100644 --- a/Casks/torbrowser-es.rb +++ b/Casks/torbrowser-es.rb @@ -7,7 +7,7 @@ cask 'torbrowser-es' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-fa.rb b/Casks/torbrowser-fa.rb index ff5145311..dc73d3382 100644 --- a/Casks/torbrowser-fa.rb +++ b/Casks/torbrowser-fa.rb @@ -7,7 +7,7 @@ cask 'torbrowser-fa' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-fr.rb b/Casks/torbrowser-fr.rb index ac1375dfb..078a4f842 100644 --- a/Casks/torbrowser-fr.rb +++ b/Casks/torbrowser-fr.rb @@ -7,7 +7,7 @@ cask 'torbrowser-fr' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-it.rb b/Casks/torbrowser-it.rb index 75d0cbb3a..0d8770881 100644 --- a/Casks/torbrowser-it.rb +++ b/Casks/torbrowser-it.rb @@ -7,7 +7,7 @@ cask 'torbrowser-it' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-ko.rb b/Casks/torbrowser-ko.rb index c5127678c..fa0ad93fe 100644 --- a/Casks/torbrowser-ko.rb +++ b/Casks/torbrowser-ko.rb @@ -7,7 +7,7 @@ cask 'torbrowser-ko' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-nl.rb b/Casks/torbrowser-nl.rb index 4abf841b8..be8575d24 100644 --- a/Casks/torbrowser-nl.rb +++ b/Casks/torbrowser-nl.rb @@ -7,7 +7,7 @@ cask 'torbrowser-nl' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-pl.rb b/Casks/torbrowser-pl.rb index 49db062cf..d4cb334e5 100644 --- a/Casks/torbrowser-pl.rb +++ b/Casks/torbrowser-pl.rb @@ -7,7 +7,7 @@ cask 'torbrowser-pl' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-pt.rb b/Casks/torbrowser-pt.rb index 733f1d396..11653ae97 100644 --- a/Casks/torbrowser-pt.rb +++ b/Casks/torbrowser-pt.rb @@ -7,7 +7,7 @@ cask 'torbrowser-pt' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-ru.rb b/Casks/torbrowser-ru.rb index 36f20ada3..306e2aa21 100644 --- a/Casks/torbrowser-ru.rb +++ b/Casks/torbrowser-ru.rb @@ -7,7 +7,7 @@ cask 'torbrowser-ru' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-tr.rb b/Casks/torbrowser-tr.rb index 822ffa024..45263370e 100644 --- a/Casks/torbrowser-tr.rb +++ b/Casks/torbrowser-tr.rb @@ -7,7 +7,7 @@ cask 'torbrowser-tr' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/torbrowser-vi.rb b/Casks/torbrowser-vi.rb index 75bcfaad0..56d38851c 100644 --- a/Casks/torbrowser-vi.rb +++ b/Casks/torbrowser-vi.rb @@ -7,7 +7,7 @@ cask 'torbrowser-vi' do homepage 'https://www.torproject.org/projects/torbrowser.html' license :oss gpg "#{url}.asc", - :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' + key_id: 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' app 'TorBrowser.app' end diff --git a/Casks/tower-beta.rb b/Casks/tower-beta.rb index 73ac1fab1..ba6d11f67 100644 --- a/Casks/tower-beta.rb +++ b/Casks/tower-beta.rb @@ -5,7 +5,7 @@ cask 'tower-beta' do # amazonaws.com is the official download host per the vendor homepage url "https://fournova-app-updates.s3.amazonaws.com/apps/tower2-mac/299-6e9850db/Tower-2-#{version}.zip" appcast 'https://updates.fournova.com/updates/tower2-mac/beta', - :checkpoint => 'f7af8e4f5290a904072c28bdfa0bd82dcd67b99a855a78e355c24241c6617935' + checkpoint: 'f7af8e4f5290a904072c28bdfa0bd82dcd67b99a855a78e355c24241c6617935' name 'Tower' homepage 'https://www.git-tower.com/' license :commercial @@ -13,11 +13,11 @@ cask 'tower-beta' do app 'Tower.app' binary 'Tower.app/Contents/MacOS/gittower' - zap :delete => [ - '~/Library/Application Support/com.fournova.Tower2', - '~/Library/Caches/com.fournova.Tower2', - '~/Library/Preferences/com.fournova.Tower2.plist', - ] + zap delete: [ + '~/Library/Application Support/com.fournova.Tower2', + '~/Library/Caches/com.fournova.Tower2', + '~/Library/Preferences/com.fournova.Tower2.plist', + ] caveats do files_in_usr_local diff --git a/Casks/transmission-nightly.rb b/Casks/transmission-nightly.rb index 6e5f0b10e..7bf68263d 100644 --- a/Casks/transmission-nightly.rb +++ b/Casks/transmission-nightly.rb @@ -9,11 +9,11 @@ cask 'transmission-nightly' do app 'Transmission.app' - zap :delete => [ - '~/Library/Application Support/Transmission', - '~/Library/Preferences/org.m0k.transmission.plist', - '~/Library/Preferences/org.m0k.transmission.LSSharedFileList.plist', - '~/Library/Caches/org.m0k.transmission', - '~/Library/Saved Application State/org.m0k.transmission.savedState', - ] + zap delete: [ + '~/Library/Application Support/Transmission', + '~/Library/Preferences/org.m0k.transmission.plist', + '~/Library/Preferences/org.m0k.transmission.LSSharedFileList.plist', + '~/Library/Caches/org.m0k.transmission', + '~/Library/Saved Application State/org.m0k.transmission.savedState', + ] end diff --git a/Casks/tunnelblick-beta.rb b/Casks/tunnelblick-beta.rb index 549100b52..90c4be6a3 100644 --- a/Casks/tunnelblick-beta.rb +++ b/Casks/tunnelblick-beta.rb @@ -4,17 +4,17 @@ cask 'tunnelblick-beta' do url "https://tunnelblick.net/release/Tunnelblick_#{version}.dmg" appcast 'https://www.tunnelblick.net/appcast.rss', - :checkpoint => '0a5bcb70b865e548c17e38a6b4721366716d6f91ef137e64508db23eebd18abc' + checkpoint: '0a5bcb70b865e548c17e38a6b4721366716d6f91ef137e64508db23eebd18abc' name 'Tunnelblick' homepage 'https://tunnelblick.net' license :gpl - depends_on :macos => '>= :tiger' + depends_on macos: '>= :tiger' app 'Tunnelblick.app' - uninstall :launchctl => 'net.tunnelblick.tunnelblick.LaunchAtLogin', - :quit => 'net.tunnelblick.tunnelblick' + uninstall launchctl: 'net.tunnelblick.tunnelblick.LaunchAtLogin', + quit: 'net.tunnelblick.tunnelblick' caveats <<-EOS.undent For security reasons, #{token} must be installed to /Applications, diff --git a/Casks/unifi-controller-beta.rb b/Casks/unifi-controller-beta.rb index 31f354e1a..848e037fd 100644 --- a/Casks/unifi-controller-beta.rb +++ b/Casks/unifi-controller-beta.rb @@ -9,5 +9,5 @@ cask 'unifi-controller-beta' do pkg 'Unifi.pkg' - uninstall :pkgutil => 'com.ubnt.UniFi' + uninstall pkgutil: 'com.ubnt.UniFi' end diff --git a/Casks/utorrent-beta.rb b/Casks/utorrent-beta.rb index 1827c0494..49f8ee558 100644 --- a/Casks/utorrent-beta.rb +++ b/Casks/utorrent-beta.rb @@ -9,13 +9,13 @@ cask 'utorrent-beta' do app 'uTorrent.app' - zap :delete => [ - '~/Library/Application Support/uTorrent', - '~/Library/Preferences/com.bittorrent.uTorrent.plist', - '~/Library/Preferences/com.bittorrent.uTorrent-Installer.plist', - '~/Library/Saved Application State/com.bittorrent.uTorrent.savedState', - '~/Library/Saved Application State/com.bittorrent.uTorrent-Installer.savedState', - '~/Library/Caches/com.bittorrent.uTorrent', - '~/Library/Caches/com.bittorrent.uTorrent-Installer', - ] + zap delete: [ + '~/Library/Application Support/uTorrent', + '~/Library/Preferences/com.bittorrent.uTorrent.plist', + '~/Library/Preferences/com.bittorrent.uTorrent-Installer.plist', + '~/Library/Saved Application State/com.bittorrent.uTorrent.savedState', + '~/Library/Saved Application State/com.bittorrent.uTorrent-Installer.savedState', + '~/Library/Caches/com.bittorrent.uTorrent', + '~/Library/Caches/com.bittorrent.uTorrent-Installer', + ] end diff --git a/Casks/virtualbox-beta.rb b/Casks/virtualbox-beta.rb index c37f99b7e..131b61180 100644 --- a/Casks/virtualbox-beta.rb +++ b/Casks/virtualbox-beta.rb @@ -11,6 +11,6 @@ cask 'virtualbox-beta' do binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxManage' binary '/Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless' - uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] }, - :pkgutil => 'org.virtualbox.pkg.*' + uninstall script: { executable: 'VirtualBox_Uninstall.tool', args: %w[--unattended] }, + pkgutil: 'org.virtualbox.pkg.*' end diff --git a/Casks/vivaldi-snapshot.rb b/Casks/vivaldi-snapshot.rb index 96c410e09..38aef8748 100644 --- a/Casks/vivaldi-snapshot.rb +++ b/Casks/vivaldi-snapshot.rb @@ -4,7 +4,7 @@ cask 'vivaldi-snapshot' do url "https://vivaldi.com/download/snapshot/Vivaldi.#{version}.dmg" appcast 'https://update.vivaldi.com/update/1.0/mac/appcast.xml', - :checkpoint => 'e88253ae777589ebf57b6e5921d531c91c7789d6bdab7fcd9156d45635723b41' + checkpoint: 'e88253ae777589ebf57b6e5921d531c91c7789d6bdab7fcd9156d45635723b41' name 'Vivaldi' homepage 'https://vivaldi.com' license :gratis diff --git a/Casks/vmware-fusion7.rb b/Casks/vmware-fusion7.rb index 1bc156eb4..cce1e5a35 100644 --- a/Casks/vmware-fusion7.rb +++ b/Casks/vmware-fusion7.rb @@ -18,11 +18,11 @@ cask 'vmware-fusion7' do set_ownership "#{staged_path}/VMware Fusion.app" end - zap :delete => [ - # note: '~/Library/Application Support/VMware Fusion' is not safe - # to delete. In older versions, VM images were located there. - '~/Library/Caches/com.vmware.fusion', - '~/Library/Logs/VMware', - '~/Library/Logs/VMware Fusion', - ] + zap delete: [ + # note: '~/Library/Application Support/VMware Fusion' is not safe + # to delete. In older versions, VM images were located there. + '~/Library/Caches/com.vmware.fusion', + '~/Library/Logs/VMware', + '~/Library/Logs/VMware Fusion', + ] end diff --git a/Casks/webstorm-eap.rb b/Casks/webstorm-eap.rb index 1f7fc95dc..5bbd3aa07 100644 --- a/Casks/webstorm-eap.rb +++ b/Casks/webstorm-eap.rb @@ -10,12 +10,12 @@ cask 'webstorm-eap' do app 'WebStorm EAP.app' binary 'WebStorm.app/Contents/MacOS/webstorm' - zap :delete => [ - '~/.WebStorm12', - '~/Library/Preferences/com.jetbrains.webstorm.plist', - '~/Library/Preferences/WebStorm12', - '~/Library/Application Support/WebStorm12', - '~/Library/Caches/WebStorm12', - '~/Library/Logs/WebStorm12', - ] + zap delete: [ + '~/.WebStorm12', + '~/Library/Preferences/com.jetbrains.webstorm.plist', + '~/Library/Preferences/WebStorm12', + '~/Library/Application Support/WebStorm12', + '~/Library/Caches/WebStorm12', + '~/Library/Logs/WebStorm12', + ] end diff --git a/Casks/world-of-tanks-asia.rb b/Casks/world-of-tanks-asia.rb index e6b43c813..1d02bf776 100644 --- a/Casks/world-of-tanks-asia.rb +++ b/Casks/world-of-tanks-asia.rb @@ -10,5 +10,5 @@ cask 'world-of-tanks-asia' do app 'World of Tanks.app' - zap :delete => '~/Documents/World_of_Tanks' + zap delete: '~/Documents/World_of_Tanks' end diff --git a/Casks/world-of-tanks-eu.rb b/Casks/world-of-tanks-eu.rb index 4eab07039..09ee0b3f7 100644 --- a/Casks/world-of-tanks-eu.rb +++ b/Casks/world-of-tanks-eu.rb @@ -10,5 +10,5 @@ cask 'world-of-tanks-eu' do app 'World of Tanks.app' - zap :delete => '~/Documents/World_of_Tanks' + zap delete: '~/Documents/World_of_Tanks' end diff --git a/Casks/world-of-tanks-kr.rb b/Casks/world-of-tanks-kr.rb index cceee30e4..17546b632 100644 --- a/Casks/world-of-tanks-kr.rb +++ b/Casks/world-of-tanks-kr.rb @@ -10,5 +10,5 @@ cask 'world-of-tanks-kr' do app 'World of Tanks.app' - zap :delete => '~/Documents/World_of_Tanks' + zap delete: '~/Documents/World_of_Tanks' end diff --git a/Casks/world-of-tanks-ru.rb b/Casks/world-of-tanks-ru.rb index 836083e4a..d26f2c2c5 100644 --- a/Casks/world-of-tanks-ru.rb +++ b/Casks/world-of-tanks-ru.rb @@ -10,5 +10,5 @@ cask 'world-of-tanks-ru' do app 'World of Tanks.app' - zap :delete => '~/Documents/World_of_Tanks' + zap delete: '~/Documents/World_of_Tanks' end diff --git a/Casks/xquartz-beta.rb b/Casks/xquartz-beta.rb index d4862195b..745120fae 100644 --- a/Casks/xquartz-beta.rb +++ b/Casks/xquartz-beta.rb @@ -5,7 +5,7 @@ cask 'xquartz-beta' do # bintray.com is the official download host per the appcast feed url "https://dl.bintray.com/xquartz/downloads/XQuartz-#{version}.dmg" appcast 'https://xquartz-dl.macosforge.org/sparkle/beta.xml', - :checkpoint => 'a3b3271fa3b8dbb7302f9360e7e22552f31955c9416360a0d0d31db5b69623ab' + checkpoint: 'a3b3271fa3b8dbb7302f9360e7e22552f31955c9416360a0d0d31db5b69623ab' name 'XQuartz' homepage 'https://xquartz.macosforge.org/' license :oss @@ -25,19 +25,19 @@ cask 'xquartz-beta' do system 'defaults', 'write', 'org.macosforge.xquartz.X11', 'SUFeedURL', 'http://xquartz.macosforge.org/downloads/sparkle/beta.xml' end - uninstall :quit => 'org.macosforge.xquartz.X11', - :launchctl => 'org.macosforge.xquartz.*', - :pkgutil => 'org.macosforge.xquartz.pkg', - :delete => '/opt/X11/' - - zap :delete => [ - '~/Library/Caches/org.macosforge.xquartz.X11', - '~/Library/Logs/X11', - '~/Library/Logs/X11.org.macosforge.xquartz.log', - '~/Library/Logs/X11.org.macosforge.xquartz.log.old', - '~/Library/Preferences/org.macosforge.xquartz.X11.plist', - '~/Library/Saved Application State/org.macosforge.xquartz.X11.savedState', - '~/.Xauthority', - ], - :rmdir => '~/.fonts' + uninstall quit: 'org.macosforge.xquartz.X11', + launchctl: 'org.macosforge.xquartz.*', + pkgutil: 'org.macosforge.xquartz.pkg', + delete: '/opt/X11/' + + zap delete: [ + '~/Library/Caches/org.macosforge.xquartz.X11', + '~/Library/Logs/X11', + '~/Library/Logs/X11.org.macosforge.xquartz.log', + '~/Library/Logs/X11.org.macosforge.xquartz.log.old', + '~/Library/Preferences/org.macosforge.xquartz.X11.plist', + '~/Library/Saved Application State/org.macosforge.xquartz.X11.savedState', + '~/.Xauthority', + ], + rmdir: '~/.fonts' end