class Bundler::Definition

def dependencies_for_source_changed?(source, locked_source = source)

def dependencies_for_source_changed?(source, locked_source = source)
  deps_for_source = @dependencies.select {|s| s.source == source }
  locked_deps_for_source = locked_dependencies.select {|dep| dep.source == locked_source }
  deps_for_source.uniq.sort != locked_deps_for_source.sort
end