class Bundler::LazySpecification

def to_lock

def to_lock
  if platform == Gem::Platform::RUBY or platform.nil?
    out = "    #{name} (#{version})\n"
  else
    out = "    #{name} (#{version}-#{platform})\n"
  end
  dependencies.sort_by {|d| d.to_s }.uniq.each do |dep|
    next if dep.type == :development
    out << "    #{dep.to_lock}\n"
  end
  out
end