lib/bundler/source.rb in bundler-1.0.0.beta.8 vs lib/bundler/source.rb in bundler-1.0.0.beta.9
- old
+ new
@@ -303,10 +303,10 @@
def hash
self.class.hash
end
def eql?(o)
- Path === o &&
+ o.instance_of?(Path) &&
path == o.path &&
name == o.name &&
version == o.version
end