class Bundler::Definition

def specs_changed?(source)

according to the locked source.
Check if the specs of the given source changed
def specs_changed?(source)
  locked = @locked_sources.find {|s| s == source }
  !locked || dependencies_for_source_changed?(source, locked) || specs_for_source_changed?(source)
end