lib/csscss/reporter.rb in csscss-1.3.2 vs lib/csscss/reporter.rb in csscss-1.3.3
- old
+ new
@@ -11,10 +11,10 @@
io = StringIO.new
@redundancies.each do |selector_groups, declarations|
selector_groups = selector_groups.map {|selectors| "{#{maybe_color(selectors, :red, should_color)}}" }
last_selector = selector_groups.pop
count = declarations.size
- io.puts %Q(#{selector_groups.join(", ")} AND #{last_selector} share #{maybe_color(count, :red, should_color)} rule#{"s" if count > 1})
+ io.puts %Q(#{selector_groups.join(", ")} AND #{last_selector} share #{maybe_color(count, :red, should_color)} declaration#{"s" if count > 1})
if verbose
declarations.each {|dec| io.puts(" - #{maybe_color(dec, :yellow, should_color)}") }
end
end