Creates a new TarHeader
using vals
Creates a new TarReader
on io
and yields it to the block, if given.
Creates a new TarWriter
, yielding it if a block is given
Creates a new GemDependencyAPI
that will add dependencies to the Gem::RequestSet
set
based on the dependency API description in path
.
Creates a new ActivationRequest
that will activate spec
. The parent request
is used to provide diagnostics in case of conflicts.
Creates a new APISet
that will retrieve gems from uri
using the RubyGems API URL dep_uri
which is described at guides.rubygems.org/rubygems-org-api
Creates a BestSet
for the given sources
or Gem::sources
if none are specified. sources
must be a Gem::SourceList
.
Creates a new ComposedSet
containing sets
. Use Gem::Resolver::compose_sets
instead.
Creates a new resolver conflict when dependency
is in conflict with an already activated
specification.
Creates a new DependencyRequest
for dependency
from requester
. +requester may be nil if the request came from a user.
An IndexSpecification
is created from the index format described in ‘gem help generate_index`.
The set
contains other specifications for this (URL) source
.
The name
, version
and platform
are the name, version and platform of the gem.
Creates a new InstallerSet
that will look for gems in domain
.
Creates a new LockSet
from the given sources
Creates a new RequirementList
.
Creates a SourceSet
for the given sources
or Gem::sources
if none are specified. sources
must be a Gem::SourceList
.
A SpecSpecification
is created for a set
for a Gem::Specification
in spec
. The source
is either where the spec
came from, or should be loaded from.
Sets default instance variables for the specification.