lib/covered/summary.rb in covered-0.13.0 vs lib/covered/summary.rb in covered-0.13.1

- old
+ new

@@ -19,19 +19,19 @@ # THE SOFTWARE. require_relative 'statistics' require_relative 'wrapper' -require 'event/terminal' +require 'console/terminal' module Covered class Summary def initialize(threshold: 1.0) @threshold = threshold end def terminal(output) - Event::Terminal.for(output).tap do |terminal| + Console::Terminal.for(output).tap do |terminal| terminal[:path] ||= terminal.style(nil, nil, :bold, :underline) terminal[:brief_path] ||= terminal.style(:yellow) terminal[:uncovered_prefix] ||= terminal.style(:red) terminal[:covered_prefix] ||= terminal.style(:green)