aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/dsl.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-07-18 16:47:28 -0600
committerAndre Arko <andre@arko.net>2015-07-18 16:47:28 -0600
commit77c9dd8fbe602c05040d7f2df3ff7decb08eb53e (patch)
tree97ba081c3cd569ba2f6227df8dd9cbfbe114191f /lib/bundler/dsl.rb
parent0f8bc78180ce4f8bae5dc48e2078b44cd4fafe44 (diff)
downloadbundler-77c9dd8fbe602c05040d7f2df3ff7decb08eb53e.tar.gz
Fix Style/SpaceAroundOperators
closes #3854
Diffstat (limited to 'lib/bundler/dsl.rb')
-rw-r--r--lib/bundler/dsl.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index 0d0255ac..7928dcaa 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -302,8 +302,8 @@ module Bundler
end
end
- opts["source"] ||= @source
- opts["env"] ||= @env
+ opts["source"] ||= @source
+ opts["env"] ||= @env
opts["platforms"] = platforms.dup
opts["group"] = groups
opts["should_include"] = install_if
@@ -321,7 +321,7 @@ module Bundler
def validate_keys(command, opts, valid_keys)
invalid_keys = opts.keys - valid_keys
if invalid_keys.any?
- message = "You passed #{invalid_keys.map {|k| ":"+k }.join(", ")} "
+ message = "You passed #{invalid_keys.map {|k| ":" + k }.join(", ")} "
message << if invalid_keys.size > 1
"as options for #{command}, but they are invalid."
else