class Bundler::Index
def <<(spec)
def <<(spec) arr = specs_by_name(spec.name) arr.delete_if do |s| same_version?(s.version, spec.version) && s.platform == spec.platform end arr << spec spec end
def <<(spec) arr = specs_by_name(spec.name) arr.delete_if do |s| same_version?(s.version, spec.version) && s.platform == spec.platform end arr << spec spec end