summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSmit Shah <who828@gmail.com>2014-01-08 11:04:42 +0530
committerSmit Shah <who828@gmail.com>2014-01-08 11:04:42 +0530
commit83d1d74378ccc9fe71f483cd7c68e02c2b5a6632 (patch)
tree4dec15d45255cc30b60843cd6fd5c2a7f18c83cc
parent47aac07bd17773c78ee8d0e17f9fdad35059287e (diff)
downloadbundler-83d1d74378ccc9fe71f483cd7c68e02c2b5a6632.tar.gz
Removed trailing whitespaces
-rw-r--r--lib/bundler/cli.rb1
-rw-r--r--lib/bundler/cli/binstubs.rb2
-rw-r--r--lib/bundler/cli/cache.rb2
-rw-r--r--lib/bundler/cli/check.rb2
-rw-r--r--lib/bundler/cli/console.rb2
-rw-r--r--lib/bundler/cli/init.rb2
-rw-r--r--lib/bundler/cli/inject.rb2
-rw-r--r--lib/bundler/cli/install.rb2
-rw-r--r--lib/bundler/cli/open.rb2
-rw-r--r--lib/bundler/cli/outdated.rb2
-rw-r--r--lib/bundler/cli/package.rb3
-rw-r--r--lib/bundler/cli/platform.rb2
-rw-r--r--lib/bundler/cli/show.rb2
-rw-r--r--lib/bundler/cli/update.rb2
-rw-r--r--lib/bundler/cli/viz.rb2
-rw-r--r--lib/bundler/parallel_workers/worker.rb2
-rw-r--r--lib/bundler/vendor/net/http/faster.rb1
-rw-r--r--lib/bundler/vendor/net/http/persistent.rb1
-rw-r--r--lib/bundler/vendor/net/http/persistent/ssl_reuse.rb1
-rw-r--r--spec/install/binstubs_spec.rb2
-rw-r--r--spec/install/bundler_spec.rb2
-rw-r--r--spec/install/gemfile_spec.rb2
-rw-r--r--spec/install/gems/groups_spec.rb2
-rw-r--r--spec/install/gems/platform_spec.rb1
-rw-r--r--spec/install/gemspecs_spec.rb2
-rw-r--r--spec/install/path_spec.rb2
-rw-r--r--spec/install/prereleases_spec.rb2
27 files changed, 22 insertions, 28 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index df67df7572..fdc4b4a2fa 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -481,4 +481,3 @@ module Bundler
end
end
end
-
diff --git a/lib/bundler/cli/binstubs.rb b/lib/bundler/cli/binstubs.rb
index 22e8640147..3fd74038b0 100644
--- a/lib/bundler/cli/binstubs.rb
+++ b/lib/bundler/cli/binstubs.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Binstubs
+ class CLI::Binstubs
attr_reader :options, :gems
def initialize(options, gems)
@options = options
diff --git a/lib/bundler/cli/cache.rb b/lib/bundler/cli/cache.rb
index 70565837d5..59317979f9 100644
--- a/lib/bundler/cli/cache.rb
+++ b/lib/bundler/cli/cache.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Cache
+ class CLI::Cache
attr_reader :options
def initialize(options)
@options = options
diff --git a/lib/bundler/cli/check.rb b/lib/bundler/cli/check.rb
index a8261df423..09a4368085 100644
--- a/lib/bundler/cli/check.rb
+++ b/lib/bundler/cli/check.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Check
+ class CLI::Check
attr_reader :options
def initialize(options)
@options = options
diff --git a/lib/bundler/cli/console.rb b/lib/bundler/cli/console.rb
index ee96d46607..ff20928407 100644
--- a/lib/bundler/cli/console.rb
+++ b/lib/bundler/cli/console.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Console
+ class CLI::Console
attr_reader :options, :group, :consoles
def initialize(options, group, consoles)
@options = options
diff --git a/lib/bundler/cli/init.rb b/lib/bundler/cli/init.rb
index 60096ebbe1..71ded0dc26 100644
--- a/lib/bundler/cli/init.rb
+++ b/lib/bundler/cli/init.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Init
+ class CLI::Init
attr_reader :options
def initialize(options)
@options = options
diff --git a/lib/bundler/cli/inject.rb b/lib/bundler/cli/inject.rb
index 2c54ba1c59..e4660b3716 100644
--- a/lib/bundler/cli/inject.rb
+++ b/lib/bundler/cli/inject.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Inject
+ class CLI::Inject
attr_reader :options, :name, :version, :gems
def initialize(options, name, version, gems)
@options = options
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 72a6c28e72..75bd33a869 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Install
+ class CLI::Install
attr_reader :options
def initialize(options)
@options = options
diff --git a/lib/bundler/cli/open.rb b/lib/bundler/cli/open.rb
index 681c03b042..b081ce470f 100644
--- a/lib/bundler/cli/open.rb
+++ b/lib/bundler/cli/open.rb
@@ -1,7 +1,7 @@
require 'bundler/cli/common'
module Bundler
- class CLI::Open
+ class CLI::Open
attr_reader :options, :name
def initialize(options, name)
@options = options
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index d1a2e0a568..85f8e63f08 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -1,7 +1,7 @@
require 'bundler/cli/common'
module Bundler
- class CLI::Outdated
+ class CLI::Outdated
attr_reader :options, :gems
def initialize(options, gems)
@options = options
diff --git a/lib/bundler/cli/package.rb b/lib/bundler/cli/package.rb
index 0fbff47fdf..6c89677985 100644
--- a/lib/bundler/cli/package.rb
+++ b/lib/bundler/cli/package.rb
@@ -7,7 +7,7 @@ module Bundler
end
def run
- Bundler.ui.level = "warn" if options[:quiet]
+ Bundler.ui.level = "warn" if options[:quiet]
Bundler.settings[:path] = File.expand_path(options[:path]) if options[:path]
setup_cache_all
install
@@ -34,4 +34,3 @@ module Bundler
end
end
end
-
diff --git a/lib/bundler/cli/platform.rb b/lib/bundler/cli/platform.rb
index 94352e33c9..8a3855370b 100644
--- a/lib/bundler/cli/platform.rb
+++ b/lib/bundler/cli/platform.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Platform
+ class CLI::Platform
attr_reader :options
def initialize(options)
@options = options
diff --git a/lib/bundler/cli/show.rb b/lib/bundler/cli/show.rb
index e62481146f..0b6b4e7adf 100644
--- a/lib/bundler/cli/show.rb
+++ b/lib/bundler/cli/show.rb
@@ -1,7 +1,7 @@
require 'bundler/cli/common'
module Bundler
- class CLI::Show
+ class CLI::Show
attr_reader :options, :gem_name
def initialize(options, gem_name)
@options = options
diff --git a/lib/bundler/cli/update.rb b/lib/bundler/cli/update.rb
index 22816e0568..7142f9e200 100644
--- a/lib/bundler/cli/update.rb
+++ b/lib/bundler/cli/update.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Update
+ class CLI::Update
attr_reader :options, :gems
def initialize(options, gems)
@options = options
diff --git a/lib/bundler/cli/viz.rb b/lib/bundler/cli/viz.rb
index 7507a0a366..8b0f34d256 100644
--- a/lib/bundler/cli/viz.rb
+++ b/lib/bundler/cli/viz.rb
@@ -1,5 +1,5 @@
module Bundler
- class CLI::Viz
+ class CLI::Viz
attr_reader :options, :gem_name
def initialize(options)
@options = options
diff --git a/lib/bundler/parallel_workers/worker.rb b/lib/bundler/parallel_workers/worker.rb
index 379f79dbc2..974e9cd888 100644
--- a/lib/bundler/parallel_workers/worker.rb
+++ b/lib/bundler/parallel_workers/worker.rb
@@ -45,7 +45,7 @@ module Bundler
end
private
- # Stop the worker threads by sending a poison object down the request queue
+ # Stop the worker threads by sending a poison object down the request queue
# so as worker threads after retrieving it, shut themselves down
def stop_threads
@threads.each do
diff --git a/lib/bundler/vendor/net/http/faster.rb b/lib/bundler/vendor/net/http/faster.rb
index e5e09080c2..74b94d1d99 100644
--- a/lib/bundler/vendor/net/http/faster.rb
+++ b/lib/bundler/vendor/net/http/faster.rb
@@ -24,4 +24,3 @@ class Net::BufferedIO #:nodoc:
end
end
end if RUBY_VERSION < '1.9'
-
diff --git a/lib/bundler/vendor/net/http/persistent.rb b/lib/bundler/vendor/net/http/persistent.rb
index f99f0625ed..b883e64db8 100644
--- a/lib/bundler/vendor/net/http/persistent.rb
+++ b/lib/bundler/vendor/net/http/persistent.rb
@@ -1215,4 +1215,3 @@ application:
end
require 'net/http/persistent/ssl_reuse'
-
diff --git a/lib/bundler/vendor/net/http/persistent/ssl_reuse.rb b/lib/bundler/vendor/net/http/persistent/ssl_reuse.rb
index 05139703cf..d73aa54996 100644
--- a/lib/bundler/vendor/net/http/persistent/ssl_reuse.rb
+++ b/lib/bundler/vendor/net/http/persistent/ssl_reuse.rb
@@ -126,4 +126,3 @@ class Net::HTTP::Persistent::SSLReuse < Net::HTTP
private :connect
end
-
diff --git a/spec/install/binstubs_spec.rb b/spec/install/binstubs_spec.rb
index 91f532f59e..9a76c52974 100644
--- a/spec/install/binstubs_spec.rb
+++ b/spec/install/binstubs_spec.rb
@@ -21,4 +21,4 @@ describe "bundle install" do
end
end
-end \ No newline at end of file
+end
diff --git a/spec/install/bundler_spec.rb b/spec/install/bundler_spec.rb
index 09a6b25031..b85ddf8c94 100644
--- a/spec/install/bundler_spec.rb
+++ b/spec/install/bundler_spec.rb
@@ -143,4 +143,4 @@ describe "bundle install" do
end
end
-end \ No newline at end of file
+end
diff --git a/spec/install/gemfile_spec.rb b/spec/install/gemfile_spec.rb
index 3b0383f052..267a7f55db 100644
--- a/spec/install/gemfile_spec.rb
+++ b/spec/install/gemfile_spec.rb
@@ -41,4 +41,4 @@ describe "bundle install" do
end
end
-end \ No newline at end of file
+end
diff --git a/spec/install/gems/groups_spec.rb b/spec/install/gems/groups_spec.rb
index 4321787c7b..afce362ad8 100644
--- a/spec/install/gems/groups_spec.rb
+++ b/spec/install/gems/groups_spec.rb
@@ -305,4 +305,4 @@ describe "bundle install with groups" do
end
end
-end \ No newline at end of file
+end
diff --git a/spec/install/gems/platform_spec.rb b/spec/install/gems/platform_spec.rb
index 042332af34..71603e1036 100644
--- a/spec/install/gems/platform_spec.rb
+++ b/spec/install/gems/platform_spec.rb
@@ -193,4 +193,3 @@ describe "when a gem has no architecture" do
should_be_installed "rcov 1.0.0"
end
end
-
diff --git a/spec/install/gemspecs_spec.rb b/spec/install/gemspecs_spec.rb
index c3ac0fc69e..201ba9564a 100644
--- a/spec/install/gemspecs_spec.rb
+++ b/spec/install/gemspecs_spec.rb
@@ -47,4 +47,4 @@ describe "bundle install" do
should_be_installed "activesupport 2.3.2"
end
-end \ No newline at end of file
+end
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb
index c5c7e0db2f..2ddceb23d5 100644
--- a/spec/install/path_spec.rb
+++ b/spec/install/path_spec.rb
@@ -147,4 +147,4 @@ describe "bundle install" do
end
end
-end \ No newline at end of file
+end
diff --git a/spec/install/prereleases_spec.rb b/spec/install/prereleases_spec.rb
index 3c911a54b9..f4f79af47a 100644
--- a/spec/install/prereleases_spec.rb
+++ b/spec/install/prereleases_spec.rb
@@ -40,4 +40,4 @@ describe "bundle install" do
end
end
-end \ No newline at end of file
+end