cask 'intellij-idea-ce-eap' do version '2016.2.1-162.1447.7' sha256 '0fccf89de4b9dd8ac3f6e1aba78d660cf1ff36c4bb3c26d054c0d5afc85c7a0c' url "https://download.jetbrains.com/idea/ideaIC-#{version.sub(%r{.*?-}, '')}.dmg" name 'IntelliJ IDEA Community Edition EAP' name 'IntelliJ IDEA CE EAP' homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.2+EAP' license :apache auto_updates true app 'IntelliJ IDEA 2016.2.1 CE EAP.app' uninstall delete: '/usr/local/bin/idea' zap delete: [ "~/Library/Application Support/IdeaIC#{version.major_minor}", "~/Library/Preferences/IdeaIC#{version.major_minor}", "~/Library/Caches/IdeaIC#{version.major_minor}", "~/Library/Logs/IdeaIC#{version.major_minor}", ] end