lib/keep_up/repository.rb in keep_up-0.1.0 vs lib/keep_up/repository.rb in keep_up-0.2.0
- old
+ new
@@ -10,9 +10,9 @@
end
def updated_dependency_for(dependency)
candidates = remote_index.search(dependency)
latest = candidates.sort_by(&:version).last
- latest unless latest.version == dependency.locked_version
+ latest unless latest.version <= dependency.locked_version
end
end
end