From 77a681d2b52ef2d533e7809cf7832176bdc0bcd3 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Wed, 10 Dec 2014 12:00:26 -0500 Subject: [PATCH 1/2] enable token in intellij-idea-ce13 --- Casks/intellij-idea-ce13.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Casks/intellij-idea-ce13.rb b/Casks/intellij-idea-ce13.rb index cef05803e..73f32d022 100644 --- a/Casks/intellij-idea-ce13.rb +++ b/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 From 63091eb4f068b49995779e35c75ebbbc5fefb62b Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Wed, 10 Dec 2014 12:00:26 -0500 Subject: [PATCH 2/2] enable token in intellij-idea13 --- Casks/intellij-idea13.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Casks/intellij-idea13.rb b/Casks/intellij-idea13.rb index 4648cf44b..fa96fcacd 100644 --- a/Casks/intellij-idea13.rb +++ b/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