class Bundler::Checksum::Store

def to_lock(spec)

def to_lock(spec)
  lock_name = spec.name_tuple.lock_name
  checksums = @store[lock_name]
  if checksums
    "#{lock_name} #{checksums.values.map(&:to_lock).sort.join(",")}"
  else
    lock_name
  end
end