lib/bundler/patch/scanner.rb in bundler-patch-0.6.0 vs lib/bundler/patch/scanner.rb in bundler-patch-0.6.1

- old
+ new

@@ -18,12 +18,10 @@ puts @no_vulns_message else puts # extra line to separate from advisory db update text puts 'Detected vulnerabilities:' puts '-------------------------' - gem_patches.each do |gp| - puts "Need to update #{gp.gem_name}: #{gp.old_version} => #{gp.new_version}" # TODO: Bundler.ui - end + puts gem_patches.map(&:to_s).uniq.sort.join("\n") end end option :strict, type: :boolean, desc: 'Do not allow any gem to be upgraded past most recent release (or minor if -m used). Sometimes raises VersionConflict.' option :minor_allowed, type: :boolean, desc: 'Upgrade to the latest minor.release version.'