new

new(gem_repository, dry_run = false) Class Public methods Creates a new Gem::Doctor that will clean up gem_repository. Only one gem repository may be cleaned at a time. If dry_run is true no files or directories will be removed.

skip_during

skip_during() Class Public methods Temporarily turn off warnings. Intended for tests only.

deprecate

deprecate(name, repl, year, month) Class Public methods Simple deprecation method that deprecates name by wrapping it up in a dummy method. It warns on each call to the dummy method telling the user of repl (unless repl is :none) and the year/month that it is planned to go away.

resolve_for

resolve_for(needed, specs) Instance Public methods The meat of the algorithm. Given needed DependencyRequest objects and specs being a list to ActivationRequest, calculate a new list of ActivationRequest objects.

resolve

resolve() Instance Public methods Proceed with resolution! Returns an array of ActivationRequest objects.

requests

requests(s, act) Instance Public methods

new

new(needed, set=IndexSet.new) Class Public methods Create DependencyResolver object which will resolve the tree starting with needed Depedency objects. set is an object that provides where to look for specifications to satisify the Dependencies. This defaults to IndexSet, which will query rubygems.org.

for_current_gems

for_current_gems(needed) Class Public methods Provide a DependencyResolver that queries only against the already installed gems.

spec

spec() Instance Public methods

full_name

full_name() Instance Public methods