cask 'intellij-idea-ce-eap' do version '2016.3.1,163.9166.20' sha256 '3b2512db1430a0894a4dc0843a96e8cc43fabba47f3325e22e57bfe172133331' 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