Shards::MolinilloSolver
Inherits Molinillo::UI < Molinillo::SpecificationProvider < Reference < Object
Constructors
Class methods
Instance methods
Called after resolution ends (either successfully or with an error). By default, prints a newline.
@return [void]
Returns the dependencies of specification.
@note This method should be 'pure', i.e. the return value should depend
only on the specification parameter.
@param [Object] specification
@return [Array] the dependencies that are required by the given
specification.
Called roughly every {#progress_rate}, this method should convey progress to the user.
@return [void]
Returns the name for the given dependency.
@note This method should be 'pure', i.e. the return value should depend
only on the dependency parameter.
@param [Object] dependency
@return [String] the name for the given dependency.
@return [String] the name of the source of explicit dependencies, i.e. those passed to {Resolver#resolve} directly.
@return [String] the name of the source of 'locked' dependencies, i.e.
those passed to {Resolver#resolve} directly as the base
Search for the specifications that match the given dependency.
The specifications in the returned array will be considered in reverse
order, so the latest version ought to be last.
@note This method should be 'pure', i.e. the return value should depend
only on the dependency parameter.
@param [Object] dependency
@return [Array] the specifications that satisfy the given
dependency.