lib/bundler/source/git.rb in bundler-1.6.0.rc2 vs lib/bundler/source/git.rb in bundler-1.6.0
- old
+ new
@@ -45,10 +45,10 @@
out << " glob: #{@glob}\n" unless @glob == DEFAULT_GLOB
out << " specs:\n"
end
def eql?(o)
- Git === o &&
+ o.is_a?(Git) &&
uri == o.uri &&
ref == o.ref &&
branch == o.branch &&
name == o.name &&
version == o.version &&