|
|
|
cask 'rubymine-eap' do
|
|
|
|
version '2016.1.1'
|
|
|
|
sha256 '9fa6bb7a95acd5821bab2c43f9e83a95e68508be250f1fae05288414716094c5'
|
|
|
|
|
|
|
|
url "https://download.jetbrains.com/ruby/RubyMine-#{version}.dmg"
|
|
|
|
name 'RubyMine'
|
|
|
|
homepage 'https://confluence.jetbrains.com/display/RUBYDEV/Early+Access+Program'
|
|
|
|
license :commercial
|
|
|
|
|
|
|
|
conflicts_with cask: 'rubymine'
|
|
|
|
|
|
|
|
app 'RubyMine.app'
|
|
|
|
|
|
|
|
zap delete: [
|
|
|
|
"~/.RubyMine#{version.major_minor}",
|
|
|
|
# TODO: expand/glob for '~/Library/Preferences/jetbrains.rubymine.*.plist',
|
|
|
|
"~/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}",
|
|
|
|
]
|
|
|
|
|
|
|
|
# remove this when this cask is updated to an EAP release
|
|
|
|
caveats <<-EOS.undent
|
|
|
|
There is currently no EAP preview release. Instead, the latest stable
|
|
|
|
version will be installed.
|
|
|
|
To receive future EAP releases via the IDE's built-in update system, go to
|
|
|
|
Preferences > Appearance & Behavior > System Settings > Updates
|
|
|
|
and select the Early Access Program channel.
|
|
|
|
EOS
|
|
|
|
end
|