Version of the gem
Override to display the usage for an individual gem command.
The text “[options]” is automatically appended to the usage text.
Create on demand parser.
The Requirement of the unresolved dependency (not Version).
Indicate if this NameTuple
is for a prerelease version.
Verifies that this gem:
Contains a valid gem specification
Contains a contents archive
The contents archive is not corrupt
After verification the gem specification from the gem is available from spec
Noop this out so there are no anchors
Cached RemoteFetcher
instance.
Moves the gem spec
from source_uri
to the cache dir unless it is already there. If the source_uri is local the gem cache dir copy is always replaced.
Declare that a gem of name name
with reqs
requirements is needed.
A string representation of this Version
.
A version is considered a prerelease if it contains a letter.
Downloads spec
and writes it to dir
. See also Gem::RemoteFetcher#download
.
Default fetcher instance. Use this instead of ::new
to reduce object allocation.
Display an informational alert. Will ask question
if it is not nil.
def sort(*filenames) Sort.new(self, *filenames) end
Returns a Glob
filter object, with the given pattern
object