latest_specs

latest_specs(prerelease = false) Class Public methods Return the latest specs, optionally including prerelease specs if prerelease is true.

from_yaml

from_yaml(input) Class Public methods Special loader for YAML files. When a Specification object is loaded from a YAML file, it bypasses the normal Ruby object initialization routine (#initialize). This method makes up for that and deals with gems of different ages. input can be anything that YAML.load() accepts: String or IO.

find_inactive_by_path

find_inactive_by_path(path) Class Public methods Return the best specification that contains the file matching path amongst the specs that are not activated.

find_in_unresolved_tree

find_in_unresolved_tree(path) Class Public methods Search through all unresolved deps and sub-dependencies and return specs that contain the file matching path.

find_in_unresolved

find_in_unresolved(path) Class Public methods Return currently unresolved specs that contain the file matching path.

find_by_path

find_by_path(path) Class Public methods Return the best specification that contains the file matching path.

find_by_name

find_by_name(name, *requirements) Class Public methods Find the best specification matching a name and requirements. Raises if the dependency doesn't resolve to a valid specification.

find_all_by_name

find_all_by_name(name, *requirements) Class Public methods Returns every spec that matches name and optional requirements.

each

each() Class Public methods Enumerate every known spec. See ::dirs= and ::add_spec to set the list of specs.

dirs=

dirs=(dirs) Class Public methods Set the directories that Specification uses to find specs. Setting this resets the list of known specs.