Verifies each certificate in chain has signed the following certificate and is valid for the given time.
Adds symlink name with permissions mode, linking to target.
Return an array of APISpecification objects matching DependencyRequest req.
Finds all specs matching req in all sets.
Return the 2 dependency objects that conflicted
Does this dependency request match spec?
NOTE: matches_spec? matches prerelease versions. See also match?
Finds all git gems matching req
Return an array of IndexSpecification objects matching DependencyRequest req.
Returns true if this gem is installable for the current platform.
Returns an array of IndexSpecification objects matching DependencyRequest req.
Returns true if this gem is installable for the current platform.
Returns an Array of IndexSpecification objects matching the DependencyRequest req.
The find_all method must be implemented. It returns all Resolver Specification objects matching the given DependencyRequest req.
Returns true if this specification is installable on this platform.
Returns an Array of VendorSpecification objects matching the DependencyRequest req.
@param [Conflict] conflict @return [Array] minimal array of requirements that would cause the passed
conflict to occur.
Iterates the given block for each element with an index, which starts from offset. If no block is given, returns a new Enumerator that includes the index, starting from offset
offsetthe starting index to use
Returns a new lazy enumerator with the concatenated results of running block once for every element in the lazy enumerator.
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force #=> ["f", "o", "o", "b", "a", "r"]
A value x returned by block is decomposed if either of the following conditions is true:
x responds to both each and force, which means that x is a lazy enumerator.
x is an array or responds to to_ary.
Otherwise, x is contained as-is in the return value.
[{a:1}, {b:2}].lazy.flat_map {|i| i}.force
#=> [{:a=>1}, {:b=>2}]
Like Enumerable#select, but chains operation to be lazy-evaluated.
Like Enumerable#filter_map, but chains operation to be lazy-evaluated.
(1..).lazy.filter_map { |i| i * 2 if i.even? }.first(5) #=> [4, 8, 12, 16, 20]
Returns the Object#object_id of the internal object.