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.
- D
- F
- I
- N
Attributes
[R] | dependencies | The dependencies of the gem for this specification |
[R] | name | The name of the gem for this specification |
[R] | platform | The platform this gem works on. |
[R] | required_ruby_version | The |
[R] | required_rubygems_version | The |
[R] | set | The set this specification came from. |
[R] | source | The source for this specification |
[R] | spec | The Implementers, note that |
[R] | version | The version of the gem for this specification. |
Class Public methods
new() Link
Sets default instance variables for the specification.
Instance Public methods
download(options) Link
full_name() Link
The name and version of the specification.
Unlike Gem::Specification#full_name
, the platform is not included.
install(options = {}) Link
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.