The Requirement of the unresolved dependency (not Version).
Changes in rubygems to lazily loading ‘rubygems/command` (in order to lazily load `optparse` as a side effect) affect bundler’s custom installer which uses ‘Gem::Command` without requiring it (up until bundler 2.2.29). This hook is to compensate for that missing require.
TODO: Remove when rubygems no longer supports running on bundler older than 2.2.29.
Filename of the gem being installed.
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 requirement is a prerelease if any of the versions inside of it are prereleases
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.
Loads Ruby format gemspec from file
.
Load custom marshal format, re-initializing defaults as needed
Recursively walk dependencies of this spec, executing the block
for each hop.
Set
the version to version
.
Display an informational alert. Will ask question
if it is not nil.
Returns an array of syntax error messages
If no missing pairs are found it falls back on the original error messages