lib/bundler/definition.rb in bundler-2.2.25 vs lib/bundler/definition.rb in bundler-2.2.26

- old
+ new

@@ -159,16 +159,10 @@ def multisource_allowed? @multisource_allowed end - def resolve_only_locally! - @remote = false - sources.local_only! - resolve - end - def resolve_with_cache! sources.cached! resolve end @@ -503,10 +497,10 @@ specs end def precompute_source_requirements_for_indirect_dependencies? - sources.non_global_rubygems_sources.all?(&:dependency_api_available?) && !sources.aggregate_global_source? + @remote && sources.non_global_rubygems_sources.all?(&:dependency_api_available?) && !sources.aggregate_global_source? end def current_ruby_platform_locked? return false unless generic_local_platform == Gem::Platform::RUBY