diff --git a/Casks/rubymine-eap.rb b/Casks/rubymine-eap.rb index 6fd665bb3..6415f724d 100644 --- a/Casks/rubymine-eap.rb +++ b/Casks/rubymine-eap.rb @@ -1,8 +1,8 @@ cask 'rubymine-eap' do - version '162.1628.31,2016.2.2' + version '2016.2.2,162.1628.31' sha256 'cef6016ed186296ff9c872eb8e127faeea82f4f808f0082b71758f4d719890d1' - url "https://download.jetbrains.com/ruby/RubyMine-#{version.before_comma}.dmg" + url "https://download.jetbrains.com/ruby/RubyMine-#{version.after_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/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}", + "~/Library/Preferences/RubyMine#{version.major_minor}", + "~/Library/Application Support/RubyMine#{version.major_minor}", + "~/Library/Caches/RubyMine#{version.major_minor}", + "~/Library/Logs/RubyMine#{version.major_minor}", ] end