mattsears/nyan-cat-formatter

Colors lacking in the 4 spec counters

Opened this issue · 2 comments

Hi NyanCatFormatters ^^

I'm discovering this awesome gem under Ubuntu 14.04 and I'm just a tiny bit bugged by the lack of colors on the 4 spec counters on the right of the kitty's trail. The colors are otherwise visible on the trail and in the ending report, so it's kind of a nitpick, and I don't know quite where to look to try and give you more symptoms right now, but I'm gonna try.

Keep on doing amazing stuff ^^d

There seems to lie the culprit:
https://github.com/mattsears/nyan-cat-formatter/blob/master/lib/nyan_cat_formatter/common.rb#L71

I'll see if I can make a patch and send a pull request as soon as I figure out how to place colors in the string.

Tried that:

  # lib/nyan_cat_formatter/common.rb:71
  value = "#{success_color(scoreboard[index])}/#{success_color(@example_count)}:"

Didn't work.