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