Create a new Gem::Security::Policy
object with the given mode and options.
Creates a new extension builder for spec
. If the spec
does not yet have build arguments, saved, set build_args
which is an ARGV-style array.
Creates a new DigestIO
instance. Using ::wrap
is recommended, see the ::wrap
documentation for documentation of io
and digests
.
Creates a new old-format package reader for gem
. Old-format packages cannot be written.
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.
others_possible
indicates that other specifications may also match this activation request.
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 an APISpecification
for the given set
from the rubygems.org api_data
.
See guides.rubygems.org/rubygems-org-api/#misc_methods for the format of the api_data
.
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.