class Bundler::SourceMap
def locked_requirements
def locked_requirements @locked_requirements ||= begin requirements = {} locked_specs.each do |locked_spec| source = locked_spec.source source.add_dependency_names(locked_spec.name) requirements[locked_spec.name] = source end requirements end end