summaryrefslogtreecommitdiff
path: root/lib/bundler/graph.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/graph.rb')
-rw-r--r--lib/bundler/graph.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/graph.rb b/lib/bundler/graph.rb
index daf4749bef..92f538b9fd 100644
--- a/lib/bundler/graph.rb
+++ b/lib/bundler/graph.rb
@@ -91,7 +91,7 @@ module Bundler
Gem::Dependency.class_eval do
def matching_specs platform_only = false
matches = Bundler.load.specs.select { |spec|
- self.name === spec.name and # TODO: == instead of ===
+ self.name == spec.name and
requirement.satisfied_by? spec.version
}