From b815e2f3cd4fd20ced3e982c94363a264adddd96 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 01/24] remove #{title} in alib1 --- Casks/alib1.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/alib1.rb b/Casks/alib1.rb index 1d9c24126c21e..cd869c5ea8d21 100644 --- a/Casks/alib1.rb +++ b/Casks/alib1.rb @@ -13,8 +13,9 @@ system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName ALib1 (Presstube)', "#{staged_path}/presstube-alib1.app/Contents/Resources/Presstube - ALib1.saver/Contents/Info.plist" end + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS From 2e1606da003fd109514e551c5ec91ee9c6ea436e Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 02/24] remove #{title} in ap-grapher --- Casks/ap-grapher.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/ap-grapher.rb b/Casks/ap-grapher.rb index 059a7b4fb53cb..14a5ec01057df 100644 --- a/Casks/ap-grapher.rb +++ b/Casks/ap-grapher.rb @@ -10,8 +10,9 @@ app 'AP Grapher.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS From 0abe91d39996e7bb2542bc21e5ac435974bf355a Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 03/24] remove #{title} in cacoo-ninja --- Casks/cacoo-ninja.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/cacoo-ninja.rb b/Casks/cacoo-ninja.rb index 29fd4f77c5007..7ff4497db38df 100644 --- a/Casks/cacoo-ninja.rb +++ b/Casks/cacoo-ninja.rb @@ -12,8 +12,9 @@ uninstall :script => { :executable => 'Install Cacoo Ninja.app/Contents/MacOS/Install Cacoo Ninja' } + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS From d5b1db81f3921e943d7529dfba08f3115dfec01a Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 04/24] remove #{title} in cdock --- Casks/cdock.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/cdock.rb b/Casks/cdock.rb index 3be25bc0502b8..2663e14300467 100644 --- a/Casks/cdock.rb +++ b/Casks/cdock.rb @@ -7,8 +7,10 @@ license :oss app 'cDock.app' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires easysimbl, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires easysimbl, available via brew cask install easysimbl EOS From 3fd48b208763dd8fe967384523838586ffb013f4 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 05/24] remove #{title} in chirp --- Casks/chirp.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/chirp.rb b/Casks/chirp.rb index 638c84426f4be..0cae8c9b17844 100644 --- a/Casks/chirp.rb +++ b/Casks/chirp.rb @@ -8,8 +8,9 @@ app "chirp-#{version}.app" + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} also requires the KK7DS Python Runtime as described at + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} also requires the KK7DS Python Runtime as described at http://chirp.danplanet.com/projects/chirp/wiki/Download#CHIRP-Downloads EOS From 91e28529d138009b8b5226858d081a17e5fee17b Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 06/24] remove #{title} in chunkulus --- Casks/chunkulus.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/chunkulus.rb b/Casks/chunkulus.rb index 416bcddab100a..3429af499bd1f 100644 --- a/Casks/chunkulus.rb +++ b/Casks/chunkulus.rb @@ -12,8 +12,9 @@ system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Chunkulus (Presstube)', "#{staged_path}/presstube-chunkulus.app/Contents/Resources/Presstube - Chunkulus.saver/Contents/Info.plist" end + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS From 2f5cd4e6b6bd652d7856a61fb991b69610a19272 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 07/24] remove #{title} in craftstudio --- Casks/craftstudio.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/craftstudio.rb b/Casks/craftstudio.rb index 3ac3c3ec5bf48..aed0e5a59fd32 100644 --- a/Casks/craftstudio.rb +++ b/Casks/craftstudio.rb @@ -12,8 +12,9 @@ :pkgutil => 'com.sparklinlabs.CraftStudioLauncher' zap :delete => '~/Library/CraftStudio' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires mono-mre, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires mono-mre, available via brew cask install mono-mre EOS From 7ceee70307ca60f147bedd8b1472f49cc6618e88 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 08/24] remove #{title} in delivery-status --- Casks/delivery-status.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/delivery-status.rb b/Casks/delivery-status.rb index 137eddf71d47a..4674063a69f6d 100644 --- a/Casks/delivery-status.rb +++ b/Casks/delivery-status.rb @@ -7,8 +7,10 @@ license :oss widget 'Delivery Status.wdgt' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Currently, Dashboard Widgets such as '#{title}' do NOT work correctly + Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly when installed via brew-cask. The bug is being tracked here: https://github.com/caskroom/homebrew-cask/issues/2206 From c13ab95c7c04ff51655edbb28b93c6fa08b3abe5 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 09/24] remove #{title} in google-cloud-sdk --- Casks/google-cloud-sdk.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Casks/google-cloud-sdk.rb b/Casks/google-cloud-sdk.rb index 94416487f5dac..50c0fadc9dd27 100644 --- a/Casks/google-cloud-sdk.rb +++ b/Casks/google-cloud-sdk.rb @@ -10,15 +10,16 @@ :args => %w{--usage-reporting false --bash-completion false --path-update false --rc-path false}, :sudo => false + # todo: transitional, replace #{self.name...} with #{token} caveats do - "#{title} is installed at #{staged_path}/#{title}. Add your profile: + "#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} is installed at #{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}. Add your profile: for bash users - source '#{staged_path}/#{title}/path.bash.inc' - source '#{staged_path}/#{title}/completion.bash.inc' + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/path.bash.inc' + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/completion.bash.inc' for zsh users - source '#{staged_path}/#{title}/path.zsh.inc' - source '#{staged_path}/#{title}/completion.zsh.inc'" + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/path.zsh.inc' + source '#{staged_path}/#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}/completion.zsh.inc'" end end From 5313c849f9c7020c3960644b9a635f50b653d629 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 10/24] remove #{title} in grooveshark --- Casks/grooveshark.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/grooveshark.rb b/Casks/grooveshark.rb index 7de43f728fa81..5cf0f822c0d9a 100644 --- a/Casks/grooveshark.rb +++ b/Casks/grooveshark.rb @@ -7,8 +7,10 @@ license :unknown app 'Grooveshark.app' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Flash, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Flash, available via brew cask install flash EOS From d8821ef75e04fa109d247e9781a189f020401833 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 11/24] remove #{title} in heart --- Casks/heart.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/heart.rb b/Casks/heart.rb index a757a9c72c58d..10f8747f82c0c 100644 --- a/Casks/heart.rb +++ b/Casks/heart.rb @@ -12,8 +12,9 @@ system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Heart (Presstube)', "#{staged_path}/presstube-heart.app/Contents/Resources/Presstube - Heart.saver/Contents/Info.plist" end + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS From 92e82933e81b17ce7c2cc003281350a1bf3f5485 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 12/24] remove #{title} in icursor --- Casks/icursor.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/icursor.rb b/Casks/icursor.rb index 32a341edb15fa..031f45ead7aae 100644 --- a/Casks/icursor.rb +++ b/Casks/icursor.rb @@ -10,8 +10,9 @@ app 'iCursor.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS From 2e7ea08216a69805230861ca812f121d1c300eb2 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:48 -0500 Subject: [PATCH 13/24] remove #{title} in intellij-idea-ce --- Casks/intellij-idea-ce.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Casks/intellij-idea-ce.rb b/Casks/intellij-idea-ce.rb index bbce59a1ebf55..7e219b9480ad9 100644 --- a/Casks/intellij-idea-ce.rb +++ b/Casks/intellij-idea-ce.rb @@ -19,13 +19,14 @@ '~/Library/Logs/IdeaIC14', ] + # 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 From 5add06a1baae8a57c783f873792ff8a99dd9874d Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 14/24] remove #{title} in intellij-idea --- Casks/intellij-idea.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Casks/intellij-idea.rb b/Casks/intellij-idea.rb index 473f05b787910..02d92753a6aff 100644 --- a/Casks/intellij-idea.rb +++ b/Casks/intellij-idea.rb @@ -17,13 +17,14 @@ '~/Library/Preferences/IntelliJIdea14', ] + # 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 From c80075aec24057e72c398b3f8b02ecb45712b6bb Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 15/24] remove #{title} in ioquake3 --- Casks/ioquake3.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/ioquake3.rb b/Casks/ioquake3.rb index d009ea2be2389..689dc66283899 100644 --- a/Casks/ioquake3.rb +++ b/Casks/ioquake3.rb @@ -8,8 +8,10 @@ license :unknown suite 'ioquake3' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - To complete the installation of #{title}, you will have to copy the file + To complete the installation of #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}, you will have to copy the file 'pak0.pk3' from your Quake 3 Arena installation support directory into ~/Applications/ioquake3/baseq3/. EOS From eb6f8c84b652c78fed9ad35865b0cec67ddab66f Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 16/24] remove #{title} in keycastr --- Casks/keycastr.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/keycastr.rb b/Casks/keycastr.rb index 354845763a9bc..29ec3ca1656d3 100644 --- a/Casks/keycastr.rb +++ b/Casks/keycastr.rb @@ -9,8 +9,9 @@ app 'KeyCastr.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - For OSX 10.9 or later, #{title} requires that you "Enable access for assistive devices". + For OSX 10.9 or later, #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires that you "Enable access for assistive devices". The app must be dragged into the Accessibility list in System Preferences. See https://github.com/sdeken/keycastr/issues/5 EOS From 54e320d4e32968f627ee33ea5ac59a086e9dc9e8 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 17/24] remove #{title} in ksdiff --- Casks/ksdiff.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Casks/ksdiff.rb b/Casks/ksdiff.rb index bf4da266e144c..623b0b0a2de0d 100644 --- a/Casks/ksdiff.rb +++ b/Casks/ksdiff.rb @@ -9,9 +9,12 @@ pkg 'Install ksdiff.pkg' uninstall :pkgutil => 'com.blackpixel.kaleidoscope.ksdiff.installer.pkg' - # todo: conflicts_with_cask kaleidoscope + # todo + # conflicts_with :cask => 'kaleidoscope' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - The #{title} Cask is not needed when installing Kaleidoscope via Cask. It + The #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} Cask is not needed when installing Kaleidoscope via Cask. It is provided for users who have purchased Kaleidoscope via the App Store. EOS end From 791335cee85b3714bc1430391d9b2d82d04ca571 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 18/24] remove #{title} in multibrowser --- Casks/multibrowser.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/multibrowser.rb b/Casks/multibrowser.rb index 81e4234938039..05c194b2eff64 100644 --- a/Casks/multibrowser.rb +++ b/Casks/multibrowser.rb @@ -9,8 +9,9 @@ app 'MultiBrowser.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS From 773726768b239a1d241ca33f94882f40935fc118 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 19/24] remove #{title} in pemdas-widget --- Casks/pemdas-widget.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/pemdas-widget.rb b/Casks/pemdas-widget.rb index ee2d522a4531a..3646180f8867e 100644 --- a/Casks/pemdas-widget.rb +++ b/Casks/pemdas-widget.rb @@ -7,8 +7,10 @@ license :oss widget 'PEMDAS.wdgt' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Currently, Dashboard Widgets such as '#{title}' do NOT work correctly + Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly when installed via brew-cask. The bug is being tracked here: https://github.com/caskroom/homebrew-cask/issues/2206 From 7c86aa030e877c32e8b5a2c6fb341e6e0036900f Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 20/24] remove #{title} in qgis --- Casks/qgis.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/qgis.rb b/Casks/qgis.rb index 608a5c71028d7..188ec7b6ed53c 100644 --- a/Casks/qgis.rb +++ b/Casks/qgis.rb @@ -8,8 +8,10 @@ pkg 'Install QGIS.pkg' uninstall :pkgutil => 'org.qgis.qgis-*' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires the GDAL framework and Matplotlib to be installed first, + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires the GDAL framework and Matplotlib to be installed first, otherwise the installation will fail. In case of problems, try installing them: From 63c7b84fabddcf7f2d94d28028c950521cca0a45 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 21/24] remove #{title} in sevenzx --- Casks/sevenzx.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/sevenzx.rb b/Casks/sevenzx.rb index 88675e89b7022..b2fea49165781 100644 --- a/Casks/sevenzx.rb +++ b/Casks/sevenzx.rb @@ -12,8 +12,9 @@ app '7zX.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Warning: #{title} has been abandoned by its author, and the + Warning: #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} has been abandoned by its author, and the vendor homepage is defunct. This Cask downloads an untrusted copy from an alternative source. EOS From a9928e9c71e3dff95537c542bd40cf92a7ab39a5 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 22/24] remove #{title} in tv-show-tracker --- Casks/tv-show-tracker.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/tv-show-tracker.rb b/Casks/tv-show-tracker.rb index 3d9ae27dc8fd3..96354589d1690 100644 --- a/Casks/tv-show-tracker.rb +++ b/Casks/tv-show-tracker.rb @@ -7,8 +7,10 @@ license :oss widget 'TV Show Tracker.wdgt' + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - Currently, Dashboard Widgets such as '#{title}' do NOT work correctly + Currently, Dashboard Widgets such as '#{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase}' do NOT work correctly when installed via brew-cask. The bug is being tracked here: https://github.com/caskroom/homebrew-cask/issues/2206 From 86a3f7cfbe1a24b8c608923e0d894cd11af0e069 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 23/24] remove #{title} in tvrenamer --- Casks/tvrenamer.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/tvrenamer.rb b/Casks/tvrenamer.rb index 9eeb55568b5b2..15635c8b12590 100644 --- a/Casks/tvrenamer.rb +++ b/Casks/tvrenamer.rb @@ -7,8 +7,10 @@ license :gpl app "TVRenamer-#{version}.app" + + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires a Java JRE to be installed. You should be prompted to install + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires a Java JRE to be installed. You should be prompted to install Java on the first execution if it is not already present. EOS end From 6cbd95181971567cd80dce498ed0c53469629ec5 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 5 Dec 2014 10:32:49 -0500 Subject: [PATCH 24/24] remove #{title} in workamajig --- Casks/workamajig.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/workamajig.rb b/Casks/workamajig.rb index a244baebf5885..7ce0433618f25 100644 --- a/Casks/workamajig.rb +++ b/Casks/workamajig.rb @@ -9,8 +9,9 @@ app 'Workamajig.app' + # todo: transitional, replace #{self.name...} with #{token} caveats <<-EOS.undent - #{title} requires Adobe Air, available via + #{self.name.sub(/^KlassPrefix/,'').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').gsub(/([a-zA-Z\d])([A-Z])/,'\1-\2').downcase} requires Adobe Air, available via brew cask install adobe-air EOS