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', '~/Library/Preferences/IntelliJIdea13',
] ]
# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent 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 caskroom-versions repository via
brew cask install caskroom/versions/java7 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 https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS EOS

5
Casks/intellij-idea13.rb

@ -17,14 +17,13 @@ cask :v1 => 'intellij-idea13' do
'~/Library/Preferences/IntelliJIdea13', '~/Library/Preferences/IntelliJIdea13',
] ]
# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent 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 caskroom-versions repository via
brew cask install caskroom/versions/java7 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 https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS EOS

Loading…
Cancel
Save