Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #589 from rolandwalker/remove_title_transitional
Browse files Browse the repository at this point in the history
Remove `#{title}` in 2 Casks (transitional)
  • Loading branch information
rolandwalker committed Dec 5, 2014
2 parents 0463e89 + 16e4d7c commit ed96d1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Casks/intellij-idea-ce13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
'~/Library/Preferences/IntelliJIdea13',
]

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} may require Java 7 (an older version), available from the
#{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
caskroom-versions repository via
brew cask install caskroom/versions/java7
Alternatively, #{title} can be modified to use Java 8 as described in
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
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS
Expand Down
5 changes: 3 additions & 2 deletions Casks/intellij-idea13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
'~/Library/Preferences/IntelliJIdea13',
]

# todo: transitional, replace #{self.name...} with #{token}
caveats <<-EOS.undent
#{title} may require Java 7 (an older version) available from the
#{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
caskroom-versions repository via
brew cask install caskroom/versions/java7
Alternatively, #{title} can be modified to use Java 8 as described in
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
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
EOS
Expand Down

0 comments on commit ed96d1e

Please sign in to comment.