class Bundler::SourceList

def expired_sources?(replacement_sources)

Returns true if there are changes
def expired_sources?(replacement_sources)
  return false if replacement_sources.empty?
  lock_sources = dup_with_replaced_sources(replacement_sources).lock_sources
  different_sources?(lock_sources, replacement_sources)
end