# File lib/bundler/dependency.rb, line 86
    def to_lock
      out = super
      out << '!' if source
      out << "\n"
    end