presidentbeef/brakeman — pull request #33 by daveworth (2012-01-27 20:11:45+00:00)
Title: Add slightly prettier reports for rescanning

Good afternoon,

I've modified the `#to_s` method in the RescanReport class to produce tables in much the same fashion as are produced in the standard report. The motivation for this is that the guard-brakeman gem was simply outputting hashes via `#puts` in its output. By making this modification I can output tables as you do in your standard report via guard!

Part of me wanted to refactor the two reports to either mixin a reporting module or inherit from a common baseclass to do all of the nice outputting regardless of the source (a regular scan or a re-scan) but spent some time on that path and could not satisfactorily accomplish this easily (without lots of lame overhead).

If this patch is meaningful please considering merging this request. I attempted to make as little modification as possible to accomplish this.

Regards,
Dave