cask 'intellij-idea-eap' do version '2016.2.3,162.1812.8' sha256 'e62a328308b8ea05c2acc5f8a53ec1b5ff6f87d72352a332ee218a05d7afcd4b' url "https://download.jetbrains.com/idea/ideaIU-#{version.after_comma}.dmg" name 'IntelliJ IDEA EAP' homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.2+EAP' license :commercial auto_updates true app "IntelliJ IDEA #{version.before_comma} EAP.app" uninstall delete: '/usr/local/bin/idea' zap delete: [ "~/Library/Caches/IntelliJIdea#{version.major_minor}", "~/Library/Logs/IntelliJIdea#{version.major_minor}", "~/Library/Application Support/IntelliJIdea#{version.major_minor}", "~/Library/Preferences/IntelliJIdea#{version.major_minor}", ] end