diff --git a/Casks/rubymine-eap.rb b/Casks/rubymine-eap.rb index b3cff4c4a..6fd665bb3 100644 --- a/Casks/rubymine-eap.rb +++ b/Casks/rubymine-eap.rb @@ -1,8 +1,8 @@ cask 'rubymine-eap' do - version '162.1447.23' - sha256 '6a454cbb89325e14768b9ed872c533772fb5af0857016decec4119dbf346094b' + version '162.1628.31,2016.2.2' + sha256 'cef6016ed186296ff9c872eb8e127faeea82f4f808f0082b71758f4d719890d1' - url "https://download.jetbrains.com/ruby/RubyMine-#{version}.dmg" + url "https://download.jetbrains.com/ruby/RubyMine-#{version.before_comma}.dmg" name 'RubyMine EAP' homepage 'https://confluence.jetbrains.com/display/RUBYDEV/Early+Access+Program' license :commercial @@ -14,9 +14,9 @@ cask 'rubymine-eap' do uninstall delete: '/usr/local/bin/mine' zap delete: [ - '~/Library/Preferences/RubyMine2016.2', - '~/Library/Application Support/RubyMine2016.2', - '~/Library/Caches/RubyMine2016.2', - '~/Library/Logs/RubyMine2016.2', + "~/Library/Preferences/RubyMine#{version.after_comma.major_minor}", + "~/Library/Application Support/RubyMine#{version.after_comma.major_minor}", + "~/Library/Caches/RubyMine#{version.after_comma.major_minor}", + "~/Library/Logs/RubyMine#{version.after_comma.major_minor}", ] end