class Bundler::Molinillo::Resolver::Resolution

def require_nested_dependencies_for(activated_spec)

Returns:
  • (void) -

Parameters:
  • activated_spec (Object) -- the specification that has just been
def require_nested_dependencies_for(activated_spec)
  nested_dependencies = dependencies_for(activated_spec)
  debug(depth) { "Requiring nested dependencies (#{nested_dependencies.join(', ')})" }
  nested_dependencies.each do |d|
    activated.add_child_vertex(name_for(d), nil, [name_for(activated_spec)], 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