Resolves the {#original_requested} dependencies into a full dependency
graph
@raise [ResolverError] if
successful resolution is impossible @return [DependencyGraph]
the dependency graph of successfully resolved
dependencies
# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 167
def resolve
start_resolution
while state
break if !state.requirement && state.requirements.empty?
indicate_progress
if state.respond_to?(:pop_possibility_state) # DependencyState
debug(depth) { "Creating possibility state for #{requirement} (#{possibilities.count} remaining)" }
state.pop_possibility_state.tap do |s|
if s
states.push(s)
activated.tag(s)
end
end
end
process_topmost_state
end
resolve_activated_specs
ensure
end_resolution
end