diff options
author | Victor Koronen <koronen@kth.se> | 2015-08-08 16:31:37 +0200 |
---|---|---|
committer | Victor Koronen <koronen@kth.se> | 2015-08-14 12:29:43 +0200 |
commit | 1399023b14f684d2af7976416bd25fff689d0518 (patch) | |
tree | 70e08a9d12d2d2b0660927e68d1b967400d59bb8 /lib/bundler/index.rb | |
parent | e57b712070d7b247cd2d411697780e5660a38098 (diff) | |
download | bundler-1399023b14f684d2af7976416bd25fff689d0518.tar.gz |
Fix Style/OpMethod
Diffstat (limited to 'lib/bundler/index.rb')
-rw-r--r-- | lib/bundler/index.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/index.rb b/lib/bundler/index.rb index 6c4ed3996c..17e7fbbd1b 100644 --- a/lib/bundler/index.rb +++ b/lib/bundler/index.rb @@ -127,9 +127,9 @@ module Bundler end end - def ==(o) + def ==(other) all? do |spec| - other_spec = o[spec].first + other_spec = other[spec].first (spec.dependencies & other_spec.dependencies).empty? && spec.source == other_spec.source end end |