summaryrefslogtreecommitdiff
path: root/lib/bundler/index.rb
diff options
context:
space:
mode:
authorVictor Koronen <koronen@kth.se>2015-08-08 16:31:37 +0200
committerVictor Koronen <koronen@kth.se>2015-08-14 12:29:43 +0200
commit1399023b14f684d2af7976416bd25fff689d0518 (patch)
tree70e08a9d12d2d2b0660927e68d1b967400d59bb8 /lib/bundler/index.rb
parente57b712070d7b247cd2d411697780e5660a38098 (diff)
downloadbundler-1399023b14f684d2af7976416bd25fff689d0518.tar.gz
Fix Style/OpMethod
Diffstat (limited to 'lib/bundler/index.rb')
-rw-r--r--lib/bundler/index.rb4
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