diff options
author | Piotr Szotkowski <chastell@chastell.net> | 2014-09-06 17:11:51 +0200 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-09-14 11:22:04 +0300 |
commit | 456c78651679cb9c3c0ee8bb4d08801ad990399b (patch) | |
tree | 20896c5f0c9a727f00f5afae0ef52879d786089b /lib/bundler | |
parent | a57822f6869eece5db9c5d001b934471633d9d65 (diff) | |
download | bundler-456c78651679cb9c3c0ee8bb4d08801ad990399b.tar.gz |
Add parens to not make Ruby throw a warning on ambiguous * usage
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/index.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/index.rb b/lib/bundler/index.rb index 104bf444..e9fc09fe 100644 --- a/lib/bundler/index.rb +++ b/lib/bundler/index.rb @@ -107,7 +107,7 @@ module Bundler # returns a list of the dependencies def unmet_dependency_names names = [] - each{|s| names.push *s.dependencies.map{|d| d.name } } + each{|s| names.push(*s.dependencies.map{|d| d.name }) } names.uniq! names.delete_if{|n| n == "bundler" } names.select{|n| search(n).empty? } |