class Bundler::Definition

def precompute_source_requirements_for_indirect_dependencies?

def precompute_source_requirements_for_indirect_dependencies?
  sources.non_global_rubygems_sources.all?(&:dependency_api_available?) && !sources.aggregate_global_source?
end