markbates / cover_me

An RCov-esque coverage tool for Ruby 1.9
http://www.metabates.com
MIT License
203 stars 18 forks source link

Fixing a divide-by-zero bug :) #39

Closed willrjmarshall closed 13 years ago

willrjmarshall commented 13 years ago

Patching report.rb so we don't get divide-by-zero bugs when processing files with 0% coverage!

markbates commented 13 years ago

Thanks! I'll do a release tomorrow.

willrjmarshall commented 13 years ago

Hmm.

I'm thinking it would also make sense to patch the default file matching pattern to cover specs inside engines, since Rails 3.1 will be big on then. I've got a working Regexp if you think this is useful...

markbates commented 13 years ago

I'd love a patch if you have one.