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

Remove #{title} in 2 Casks (transitional) #589

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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