A Resolver::Specification contains a subset of the information contained in a Gem::Specification. Only the information necessary for dependency resolution in the resolver is included.

Attributes

The dependencies of the gem for this specification

Read

The name of the gem for this specification

Read

The platform this gem works on.

set

Read

The set this specification came from.

Read

The source for this specification

Read

The Gem::Specification for this Resolver::Specification.

Implementers, note that install updates @spec, so be sure to cache the Gem::Specification in @spec when overriding.

Read

The version of the gem for this specification.

The required_ruby_version constraint for this specification.

The required_ruby_version constraint for this specification.

Class Methods

Sets default instance variables for the specification.

Instance Methods
No documentation available

The name and version of the specification.

Unlike Gem::Specification#full_name, the platform is not included.

Installs this specification using the Gem::Installer options. The install method yields a Gem::Installer instance, which indicates the gem will be installed, or nil, which indicates the gem is already installed.

After installation spec is updated to point to the just-installed specification.

Returns true if this specification is installable on this platform.