module Bundler::Plugin::API::Source

def can_lock?(spec)

NOTE: Do not override if you don't know what you are doing.
def can_lock?(spec)
  spec.source == self
end