Class Bundler::Molinillo::Resolver::Resolution
In: lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
Parent: Object

A specific resolution from a given {Resolver}

Methods

new   resolve  

Constants

Conflict = Struct.new( :requirement, :requirements, :existing, :possibility, :locked_requirement, :requirement_trees, :activated_by_name   A conflict that the resolution process encountered @attr [Object] requirement the requirement that immediately led to the conflict @attr [{String,Nil=>[Object]}] requirements the requirements that caused the conflict @attr [Object, nil] existing the existing spec that was in conflict with
  the {#possibility}

@attr [Object] possibility the spec that was unable to be activated due

  to a conflict

@attr [Object] locked_requirement the relevant locking requirement. @attr [Array<Array<Object>>] requirement_trees the different requirement

  trees that led to every requirement for the conflicting name.

@attr [{String=>Object}] activated_by_name the already-activated specs.

Attributes

base  [R]  @return [DependencyGraph] the base dependency graph to which
  dependencies should be 'locked'
original_requested  [R]  @return [Array] the dependencies that were explicitly required
resolver_ui  [R]  @return [UI] the UI that knows how to communicate feedback about the
  resolution process back to the user
specification_provider  [R]  @return [SpecificationProvider] the provider that knows about
  dependencies, requirements, specifications, versions, etc.

Public Class methods

@param [SpecificationProvider] specification_provider

  see {#specification_provider}

@param [UI] resolver_ui see {resolver_ui} @param [Array] requested see {original_requested} @param [DependencyGraph] base see {base}

Public Instance methods

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

[Validate]