Adds a dependency on gem dependency
with type type
that requires requirements
. Valid types are currently :runtime
and :development
.
Corrects path
(usually returned by ‘URI.parse().path` on Windows), that comes with a leading slash.
@!visibility private
Build an array of PossibilitySets, with each element representing a group of dependency versions that all have the same sub-dependency version constraints and are contiguous. @param [Array] possibilities an array of possibilities @return [Array<PossibilitySet>] an array of possibility sets