lib/keep_up/updater.rb in keep_up-0.10.0 vs lib/keep_up/updater.rb in keep_up-0.10.1

- old
+ new

@@ -33,14 +33,15 @@ private def apply_updated_dependency(dependency) report_intent dependency - bundle.update_gemfile_contents(dependency) - bundle.update_gemspec_contents(dependency) + update = bundle.update_gemspec_contents(dependency) + update2 = bundle.update_gemfile_contents(dependency) + update ||= update2 result = bundle.update_lockfile(dependency) report_result dependency, result - result + update || result if result end def report_intent(dependency) @out.puts "Updating #{dependency.name}" end