Method: Bundler::SourceList#expired_sources?

Defined in:
lib/bundler/source_list.rb

#expired_sources?(replacement_sources) ⇒ Boolean

Returns true if there are changes

Returns:

  • (Boolean)


131
132
133
134
135
136
137
# File 'lib/bundler/source_list.rb', line 131

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