module Bundler::Plugin::API::Source
def to_lock
and not override this.
Plugin should use `options_to_lock` to save information in lockfile
Saves type and remote and also calls to `options_to_lock`.
Generates the content to be entered into the lockfile.
def to_lock out = String.new("#{LockfileParser::PLUGIN}\n") out << " remote: #{@uri}\n" out << " type: #{@type}\n" options_to_lock.each do |opt, value| out << " #{opt}: #{value}\n" end out << " specs:\n" end