class Bundler::Dependency

def to_lock

def to_lock
  out = "  #{name}"
  unless requirement == Gem::Requirement.default
    reqs = requirement.requirements.map{|o,v| "#{o} #{v}" }
    out << " (#{reqs.join(', ')})"
  end
  out << '!' if source
  out << "\n"
end