[PATCH] Convert ANSI color codes in RSpec output to HTML
Reported by Kent R. Spillner | May 1st, 2008 @ 10:59 PM
spec --color is great on the command line, but the ANSI color codes look like gibberish in build logs in CruiseControl.rb. Attached are a Rails plugin to convert ANSI color codes to HTML spans with inline CSS style attributes for coloring text on the builds page, and a diff against app/helpers/builds_helper.rb to do the conversion.
I was really hoping this would work as a CruiseControl.rb plugin, but the build log output is being sanitized in the view. I'm willing to rework this stuff if we can come up with a suiteable work-around, but the only alternative I could think of was to modify CruiseControl.rb itself.
Comments and changes to this ticket
-
Kent R. Spillner May 1st, 2008 @ 11:00 PM
- no changes were found...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป