class Bundler::Index

def spec_satisfies_dependency?(spec, dep)

def spec_satisfies_dependency?(spec, dep)
  return false unless dep.name === spec.name
  dep.requirement.satisfied_by?(spec.version)
end