class Bundler::SpecSet
def merge(set)
def merge(set) arr = sorted.dup set.each do |s| next if arr.any? { |s2| s2.name == s.name && s2.version == s.version && s2.platform == s.platform } arr << s end SpecSet.new(arr) end
def merge(set) arr = sorted.dup set.each do |s| next if arr.any? { |s2| s2.name == s.name && s2.version == s.version && s2.platform == s.platform } arr << s end SpecSet.new(arr) end