Skip to content

Commit

Permalink
mass whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandwalker committed Feb 23, 2014
1 parent 19da6e5 commit 6f6a07f
Show file tree
Hide file tree
Showing 26 changed files with 29 additions and 39 deletions.
2 changes: 1 addition & 1 deletion Casks/adobe-air.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class AdobeAir < Cask
version '4.0'
sha1 'f319c2c603ff39e596c1c78c257980cf4fb0d0ef'
caskroom_only true

after_install do
system "sudo #{destination_path}/Adobe\\ AIR\\ Installer.app/Contents/MacOS/Adobe\\ AIR\\ Installer -silent"
end
Expand Down
2 changes: 1 addition & 1 deletion Casks/audio-hijack-pro.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class AudioHijackPro < Cask
url 'http://rogueamoeba.com/audiohijackpro/download/AudioHijackPro.zip'
homepage 'http://www.rogueamoeba.com/audiohijackpro/'
version 'latest'
version 'latest'
no_checksum
link 'Audio Hijack Pro.app'
end
2 changes: 1 addition & 1 deletion Casks/cocktail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Cocktail < Cask
no_checksum
link 'Cocktail.app'
caveats <<-EOS.undent
This version of Cocktail is for OS X Mavericks only. If you are using other versions of
This version of Cocktail is for OS X Mavericks only. If you are using other versions of
OS X, please run 'brew tap caskroom/versions' and install cocktail-mountainlion /
cocktail-lion / cocktail-snowleopard
EOS
Expand Down
2 changes: 1 addition & 1 deletion Casks/haroopad.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ class Haroopad < Cask
version '0.11.0'
sha1 'd71eb302f0d1f2484918cf65e47d4579cb12713c'
link 'haroopad.app'
end
end
2 changes: 1 addition & 1 deletion Casks/less-app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ class LessApp < Cask
url 'http://incident57.com/less/files/Less.zip'
homepage 'http://incident57.com/less/'
version 'latest'
no_checksum
no_checksum
link 'Less.app'
end
2 changes: 1 addition & 1 deletion Casks/librecad.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Librecad < Cask
else
url 'http://downloads.sourceforge.net/project/librecad/OSX/2.0.2/LibreCAD-Mavericks.dmg'
version '2.0.2'
sha1 '6420b84d69efda59b12d40ab07f01a469c1fac86'
sha1 '6420b84d69efda59b12d40ab07f01a469c1fac86'
end
homepage 'http://librecad.org/'
link 'LibreCAD.app'
Expand Down
1 change: 0 additions & 1 deletion Casks/litecoin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ class Litecoin < Cask
sha256 'dbe4a31306d7878ce913a4cfb5ba73f3acba9c4626847459dd4485738b2cd9c9'
link 'Litecoin-Qt.app'
end

4 changes: 2 additions & 2 deletions Casks/mp4tools.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class Mp4tools < Cask
url 'http://www.emmgunn.com/downloads/mp4tools3.3.7.zip',
:referer => 'http://www.emmgunn.com/mp4tools/mp4toolsdownload.html'
url 'http://www.emmgunn.com/downloads/mp4tools3.3.7.zip',
:referer => 'http://www.emmgunn.com/mp4tools/mp4toolsdownload.html'
homepage 'http://www.emmgunn.com/mp4tools/mp4toolshome.html'
version '3.3.7'
sha1 '88583e29dcd22fb07a3a6993905d0dd83b31d516'
Expand Down
1 change: 0 additions & 1 deletion Casks/openoffice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ class Openoffice < Cask
sha1 '6aed6c0a7fb6226ecbd4b6a2b371dc713ac58cd8'
link 'OpenOffice.app'
end

12 changes: 6 additions & 6 deletions Casks/opensesame.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
class Opensesame < Cask
if MacOS.version == :snowleopard
url 'http://files.cogsci.nl/software/opensesame/opensesame_0.26-macos-2.zip'
version '0.26'
sha256 'b2a37cfd1c514b2ae8ddd0be09a274844420bfa432318ef87df308fdd3b6a770'
url 'http://files.cogsci.nl/software/opensesame/opensesame_0.26-macos-2.zip'
version '0.26'
sha256 'b2a37cfd1c514b2ae8ddd0be09a274844420bfa432318ef87df308fdd3b6a770'
else
url 'http://www.cogsci.nl/dschreij/opensesame-mac/opensesame-0.27.4-macos-x86_64-1.dmg'
version '0.27.4'
sha256 '8814da8fe5e638cb7db18b4e8188fc97028bd98f1603ceae006aff13745fc739'
url 'http://www.cogsci.nl/dschreij/opensesame-mac/opensesame-0.27.4-macos-x86_64-1.dmg'
version '0.27.4'
sha256 '8814da8fe5e638cb7db18b4e8188fc97028bd98f1603ceae006aff13745fc739'
end
homepage 'http://osdoc.cogsci.nl/'
link 'opensesame.app'
Expand Down
2 changes: 1 addition & 1 deletion Casks/opera-mail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ class OperaMail < Cask
url 'http://get-ash-1.opera.com/pub/opera/mail/1.0/mac/Opera-Mail-1.0-1040.i386.dmg'
homepage 'http://www.opera.com/computer/mail'
version '1.0'
sha1 '890a0461890014383f3c8088f60762fafef76cba'
sha1 '890a0461890014383f3c8088f60762fafef76cba'
link 'Opera Mail.app'
end
2 changes: 1 addition & 1 deletion Casks/paraview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ class Paraview < Cask
version is 2.7. If you are running OS X Lion (10.7) or Mountain
Lion (10.8) and your system Python version is 2.6, please instead
run 'brew tap caskroom/versions' and install paraview-lion-python27.
EOS
EOS
end
2 changes: 1 addition & 1 deletion Casks/reflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ class Reflector < Cask
url 'http://download.airsquirrels.com/Reflector/Mac/Reflector.dmg'
homepage 'http://www.airsquirrels.com/reflector/'
version 'latest'
no_checksum
no_checksum
link 'Reflector.app'
end
2 changes: 1 addition & 1 deletion Casks/scribus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ class Scribus < Cask
version '1.4.3'
sha1 '380dbd4ba8ed3e9d617a066ff73cc7bc04c3edb3'
link 'Scribus.app'
end
end
10 changes: 5 additions & 5 deletions Casks/xmarks-safari.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class XmarksSafari < Cask
url 'https://static.xmarks.com/clients/safari/xmarks_for_safari_2.0.11.dmg'
homepage 'http://www.xmarks.com/'
version '2.0.11'
sha1 'eae9ce0865bf1d4a3e6a2ff020793b36efdf1b51'
install 'Xmarks for Safari Installer.pkg'
url 'https://static.xmarks.com/clients/safari/xmarks_for_safari_2.0.11.dmg'
homepage 'http://www.xmarks.com/'
version '2.0.11'
sha1 'eae9ce0865bf1d4a3e6a2ff020793b36efdf1b51'
install 'Xmarks for Safari Installer.pkg'
end
2 changes: 1 addition & 1 deletion developer/bin/develop_brew_cask
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [[ $1 =~ ^-+h(elp)?$ ]]; then
printf "develop_brew_cask
Symlink private repo directories into Homebrew's Cellar, so
that the 'brew cask' command will use code and Casks from
that the 'brew cask' command will use code and Casks from
the current development branch in your private repo.
Saves the production Homebrew directories under new names.
Expand Down
1 change: 0 additions & 1 deletion lib/cask/artifact/after_block.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ def uninstall
@cask.artifacts[:after_uninstall].each { |block| @cask.instance_eval &block }
end
end

1 change: 0 additions & 1 deletion lib/cask/cli/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ def self.help
"creates a cask of the given name and opens it in an editor"
end
end

1 change: 0 additions & 1 deletion lib/cask/container/naked.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ def target_file
URI.decode(File.basename(@cask.url.path))
end
end

1 change: 0 additions & 1 deletion lib/cask/container/tar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ def extract
end
end
end

1 change: 0 additions & 1 deletion lib/cask/source/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ def cask_class_name
path.basename.to_s.sub(/\.rb/, '').split('-').map(&:capitalize).join
end
end

8 changes: 4 additions & 4 deletions test/cask/artifact/two_links_correct_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
# @@@ todo
# it "only uses linkables when they are specified" do
# cask = local_two_links_caffeine
#
#
# app_path = cask.destination_path.join('Caffeine.app')
# FileUtils.cp_r app_path, app_path.sub('Caffeine.app', 'CaffeineAgain.app')
#
#
# shutup do
# Cask::Artifact::App.new(cask).install
# end
#
#
# TestHelper.valid_alias?(Cask.appdir/'AnotherName.app').must_equal true
# TestHelper.valid_alias?(Cask.appdir/'AnotherNameAgain.app').must_equal false
# end
Expand Down Expand Up @@ -97,7 +97,7 @@

(Cask.appdir/'AnotherName.app').wont_be :symlink?
end

it "happily clobbers an existing symlink (link 1)" do
cask = local_two_links_caffeine

Expand Down
1 change: 0 additions & 1 deletion test/cask/cli/home_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ module Cask::CLI::Home
]
end
end

1 change: 0 additions & 1 deletion test/support/Casks/local-caffeine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ class LocalCaffeine < TestCask

link 'Caffeine.app'
end

1 change: 0 additions & 1 deletion test/support/Casks/nested-app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ class NestedApp < TestCask
nested_container 'NestedApp.dmg'
link 'MyNestedApp.app'
end

2 changes: 1 addition & 1 deletion test/support/fake_fetcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Cask::FakeFetcher
def self.fake_response_for(url, response)
def self.fake_response_for(url, response)
@responses[url] = response
end

Expand Down

0 comments on commit 6f6a07f

Please sign in to comment.