Browse Source

Merge pull request #599 from rolandwalker/enable_token_casks

Enable new `token` method in 2 Casks
master
Roland Walker 10 years ago
parent
commit
c259da3ef0
  1. 5
      Casks/intellij-idea-ce13.rb
  2. 5
      Casks/intellij-idea13.rb

5
Casks/intellij-idea-ce13.rb

@ -17,14 +17,13 @@ cask :v1 => 'intellij-idea-ce13' do
'~/Library/Preferences/IntelliJIdea13',
]
# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} may require Java 7 (an older version), available from the
#{token} may require Java 7 (an older version), available from the
caskroom-versions repository via
brew cask install caskroom/versions/java7
Alternatively, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} can be modified to use Java 8 as described in
Alternatively, #{token} can be modified to use Java 8 as described in
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS

5
Casks/intellij-idea13.rb

@ -17,14 +17,13 @@ cask :v1 => 'intellij-idea13' do
'~/Library/Preferences/IntelliJIdea13',
]
# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} may require Java 7 (an older version) available from the
#{token} may require Java 7 (an older version), available from the
caskroom-versions repository via
brew cask install caskroom/versions/java7
Alternatively, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} can be modified to use Java 8 as described in
Alternatively, #{token} can be modified to use Java 8 as described in
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS

Loading…
Cancel
Save