Reorders an array of nodes so that they are in document order It tries to do this efficiently.
FIXME: I need to get rid of this, but the issue is that most of the XPath
interpreter functions as a filter, which means that we lose context going in and out of function calls. If I knew what the index of the nodes was, I wouldn’t have to do this. Maybe add a document IDX for each node? Problems with mutable documents. Or, rewrite everything.
Set
@@default_parser to new_value if it is one of the available parsers. Else raise NotValidXMLParser
error.
Merge a set of command options with the set of default options (without modifying the default option hash).
Handle the command arguments.
Is this dependency simply asking for the latest version of a gem?
Does this dependency match spec
?
NOTE: This is not a convenience method. Unlike match?
this method returns true when spec
is a prerelease version even if this dependency is not a prerelease dependency.
append a platform to the list of mismatched platforms.
Platforms are added via this instead of injected via the constructor so that we can loop over a list of mismatches and just add them rather than perform some kind of calculation mismatch summary before creation.
Compacts Marshal
output for the specs index data source by using identical objects as much as possible.
Builds and installs indices.
Perform an in-place update of the repository from newly added gems.