diff options
author | Andre Arko <andre@arko.net> | 2014-01-26 14:37:50 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-01-26 14:37:50 -0800 |
commit | 4873c8a425081e8b0feb31b49398143bc034a3fc (patch) | |
tree | 33f31c77b13b0378b6a8392bcca04da08c8978f6 | |
parent | 106a2589ee09d4d113780062b0befc9ab9938605 (diff) | |
download | bundler-4873c8a425081e8b0feb31b49398143bc034a3fc.tar.gz |
whitespace style
-rw-r--r-- | lib/bundler/cli.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/cache.rb | 3 | ||||
-rw-r--r-- | lib/bundler/cli/check.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/clean.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/common.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/config.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/console.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/exec.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/gem.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/init.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/inject.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/install.rb | 2 | ||||
-rw-r--r-- | lib/bundler/cli/open.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/outdated.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/package.rb | 2 | ||||
-rw-r--r-- | lib/bundler/cli/platform.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/show.rb | 1 | ||||
-rw-r--r-- | lib/bundler/cli/update.rb | 5 | ||||
-rw-r--r-- | lib/bundler/cli/viz.rb | 1 |
19 files changed, 22 insertions, 5 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 5e04e25c42..292bffeee8 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -367,5 +367,6 @@ module Bundler def env Env.new.write($stdout) end + end end diff --git a/lib/bundler/cli/cache.rb b/lib/bundler/cli/cache.rb index 59317979f9..d404676afa 100644 --- a/lib/bundler/cli/cache.rb +++ b/lib/bundler/cli/cache.rb @@ -18,7 +18,7 @@ module Bundler exit 1 end - private + private def setup_cache_all Bundler.settings[:cache_all] = options[:all] if options.key?("all") @@ -29,5 +29,6 @@ module Bundler "on Bundler 2.0." end end + end end diff --git a/lib/bundler/cli/check.rb b/lib/bundler/cli/check.rb index 09a4368085..071bcc3a42 100644 --- a/lib/bundler/cli/check.rb +++ b/lib/bundler/cli/check.rb @@ -30,5 +30,6 @@ module Bundler Bundler.ui.info "The Gemfile's dependencies are satisfied" end end + end end diff --git a/lib/bundler/cli/clean.rb b/lib/bundler/cli/clean.rb index 8ec6448bfa..e7a4c01460 100644 --- a/lib/bundler/cli/clean.rb +++ b/lib/bundler/cli/clean.rb @@ -14,5 +14,6 @@ module Bundler exit 1 end end + end end diff --git a/lib/bundler/cli/common.rb b/lib/bundler/cli/common.rb index c04fe57c76..8eaa7d5297 100644 --- a/lib/bundler/cli/common.rb +++ b/lib/bundler/cli/common.rb @@ -49,5 +49,6 @@ module Bundler message += "\nDid you mean #{suggestions}?" if suggestions message end + end end diff --git a/lib/bundler/cli/config.rb b/lib/bundler/cli/config.rb index f4e2503940..cad67a571d 100644 --- a/lib/bundler/cli/config.rb +++ b/lib/bundler/cli/config.rb @@ -79,5 +79,6 @@ module Bundler exit 1 end end + end end diff --git a/lib/bundler/cli/console.rb b/lib/bundler/cli/console.rb index ff20928407..bf000936fc 100644 --- a/lib/bundler/cli/console.rb +++ b/lib/bundler/cli/console.rb @@ -37,5 +37,6 @@ module Bundler console.start end + end end diff --git a/lib/bundler/cli/exec.rb b/lib/bundler/cli/exec.rb index 503c9e1d7e..1739ab6f78 100644 --- a/lib/bundler/cli/exec.rb +++ b/lib/bundler/cli/exec.rb @@ -32,5 +32,6 @@ module Bundler exit 128 end end + end end diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb index 7adfaab886..aabdf639dd 100644 --- a/lib/bundler/cli/gem.rb +++ b/lib/bundler/cli/gem.rb @@ -56,5 +56,6 @@ module Bundler thor.run("#{options["edit"]} \"#{gemspec_dest}\"") # Open gemspec in editor end end + end end diff --git a/lib/bundler/cli/init.rb b/lib/bundler/cli/init.rb index 71ded0dc26..d6b2e7422d 100644 --- a/lib/bundler/cli/init.rb +++ b/lib/bundler/cli/init.rb @@ -28,5 +28,6 @@ module Bundler FileUtils.cp(File.expand_path('../../templates/Gemfile', __FILE__), 'Gemfile') end end + end end diff --git a/lib/bundler/cli/inject.rb b/lib/bundler/cli/inject.rb index e4660b3716..004e0a542c 100644 --- a/lib/bundler/cli/inject.rb +++ b/lib/bundler/cli/inject.rb @@ -28,5 +28,6 @@ module Bundler Bundler.ui.confirm "All injected gems were already present in the Gemfile" end end + end end diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb index 75bd33a869..3e29652c02 100644 --- a/lib/bundler/cli/install.rb +++ b/lib/bundler/cli/install.rb @@ -113,7 +113,7 @@ module Bundler raise e end - private + private def without_groups_messages if Bundler.settings.without.any? diff --git a/lib/bundler/cli/open.rb b/lib/bundler/cli/open.rb index b081ce470f..577aea3409 100644 --- a/lib/bundler/cli/open.rb +++ b/lib/bundler/cli/open.rb @@ -20,5 +20,6 @@ module Bundler Bundler.ui.info "Could not run '#{command}'" unless success end end + end end diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb index 85f8e63f08..7859bedc83 100644 --- a/lib/bundler/cli/outdated.rb +++ b/lib/bundler/cli/outdated.rb @@ -77,5 +77,6 @@ module Bundler exit 1 end end + end end diff --git a/lib/bundler/cli/package.rb b/lib/bundler/cli/package.rb index 6c89677985..9f272a68cb 100644 --- a/lib/bundler/cli/package.rb +++ b/lib/bundler/cli/package.rb @@ -16,7 +16,7 @@ module Bundler Bundler.load.cache(custom_path) end - private + private def install require 'bundler/cli/install' diff --git a/lib/bundler/cli/platform.rb b/lib/bundler/cli/platform.rb index 8a3855370b..bc947cf870 100644 --- a/lib/bundler/cli/platform.rb +++ b/lib/bundler/cli/platform.rb @@ -38,5 +38,6 @@ module Bundler Bundler.ui.info output.join("\n\n") end + end end diff --git a/lib/bundler/cli/show.rb b/lib/bundler/cli/show.rb index ee6c8d9d4d..a2269a6c73 100644 --- a/lib/bundler/cli/show.rb +++ b/lib/bundler/cli/show.rb @@ -39,5 +39,6 @@ module Bundler end end end + end end diff --git a/lib/bundler/cli/update.rb b/lib/bundler/cli/update.rb index d027bac36e..1dae7f75f2 100644 --- a/lib/bundler/cli/update.rb +++ b/lib/bundler/cli/update.rb @@ -37,7 +37,7 @@ module Bundler opts["update"] = true opts["local"] = options[:local] - Bundler.settings[:jobs] = opts["jobs"] if opts["jobs"] + Bundler.settings[:jobs] = opts["jobs"] if opts["jobs"] # rubygems plugins sometimes hook into the gem install process Gem.load_env_plugins if Gem.respond_to?(:load_env_plugins) @@ -55,7 +55,7 @@ module Bundler without_groups_messages end - private + private def without_groups_messages if Bundler.settings.without.any? @@ -63,5 +63,6 @@ module Bundler Bundler.ui.confirm Bundler::CLI::Common.without_groups_message end end + end end diff --git a/lib/bundler/cli/viz.rb b/lib/bundler/cli/viz.rb index 8b0f34d256..c404ddbbc5 100644 --- a/lib/bundler/cli/viz.rb +++ b/lib/bundler/cli/viz.rb @@ -22,5 +22,6 @@ module Bundler raise end end + end end |