require_nested_dependencies_for(possibility_set)
private
Requires the dependencies that the recently activated spec has @param [Object] activated_possibility the PossibilitySet
that has just been
activated
@return [void]
# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 736
def require_nested_dependencies_for(possibility_set)
nested_dependencies = dependencies_for(possibility_set.latest_version)
debug(depth) { "Requiring nested dependencies (#{nested_dependencies.join(', ')})" }
nested_dependencies.each do |d|
activated.add_child_vertex(name_for(d), nil, [name_for(possibility_set.latest_version)], d)
parent_index = states.size - 1
parents = @parents_of[d]
parents << parent_index if parents.empty?
end
push_state_for_requirements(requirements + nested_dependencies, !nested_dependencies.empty?)
end