frozen_string_literal: false
Used Internally. Wraps a Dependency object to also track which spec contained the Dependency.
- D
- E
- I
- M
- N
- R
- T
| [R] | dependency | The wrapped Gem::Dependency |
| [R] | requester | The request for this dependency. |
Creates a new DependencyRequest for
dependency from requester. +requester may be nil
if the request came from a user.
Is this dependency a development dependency?
Indicate that the request is for a gem explicitly requested by the user
Indicate that the request is for a gem requested as a dependency of another gem
Does this dependency request match spec?
NOTE: match? only matches prerelease versions when dependency is a prerelease dependency.
Does this dependency request match spec?
NOTE: matches_spec? matches prerelease versions. See also match?
The name of the gem this dependency request is requesting.
Return a String indicating who caused this request to be added (only valid for implicit requests)
The version requirement for this dependency request