Delegates to @hash
Iterator over dependency_order
Construct an installer object for the gem file located at path
Factory method to create a Version
object. Input may be a Version
or a String
. Intended to simplify client code.
ver1 = Version.create('1.3.17') # -> (Version object) ver2 = Version.create(ver1) # -> (ver1) ver3 = Version.create(nil) # -> nil
Yields each source URI
in the list.
Checks that the specification contains all required fields, and does a very basic sanity check.
Raises InvalidSpecificationException if the spec does not pass the checks.
Normalize the URI
by adding “http://” if it is missing.
See IO.foreach
when path
is a file.
See Dir.foreach
when path
is a directory.
Returns a Echo
object, for the given strings
Returns a Cat
object, for the given filenames
Returns a Concat
object, for the given jobs
Iterates a block for each line.