lib/hrw/formatter.rb in hrw-0.1.0 vs lib/hrw/formatter.rb in hrw-0.2.0

- old
+ new

@@ -5,10 +5,11 @@ # # Third-party libraries # require 'rainbow' +require 'rainbow/ext/string' module Hrw # # Format result and pretty print it # @@ -39,10 +40,10 @@ puts "Name: #{dep['name']}" puts "Version: #{dep['version']}" puts "Advisory: #{vuln['name']}" puts "Severity: #{vuln['severity']}" puts "Link: #{vuln['link']}" - puts "Patched version: #{patched_version['spec'].join(', ')}" + puts "Patched: #{patched_version['spec'].join(', ')}" puts end end end end \ No newline at end of file