cask 'intellij-idea-ce-eap' do version '2016.2.5,162.2228.14' sha256 'c4d42d06e93ce282e05b3deeb847e463a0c0a0872b22069e336e12bc36d37084' url "https://download.jetbrains.com/idea/ideaIC-#{version.after_comma}.dmg" name 'IntelliJ IDEA Community Edition EAP' name 'IntelliJ IDEA CE EAP' homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.2+EAP' auto_updates true app "IntelliJ IDEA #{version.before_comma} 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