class Bundler::PubGrub::VersionUnion

def allows_all?(other)

def allows_all?(other)
  my_ranges = ranges.dup
  my_range = my_ranges.shift
  other.ranges.all? do |other_range|
    while my_range
      break if my_range.allows_all?(other_range)
      my_range = my_ranges.shift
    end
    !!my_range
  end
end