lib/covered/policy/default.rb in covered-0.9.0 vs lib/covered/policy/default.rb in covered-0.10.0
- old
+ new
@@ -23,16 +23,14 @@
# Only files in the root would be tracked:
root Dir.pwd
# We will ignore any files in the test or spec directory:
- skip /test|spec/
+ skip /^(test|spec|vendor)/
# We will include all files under lib, even if they aren't loaded:
include "lib/**/*.rb"
source
- if coverage = ENV['COVERAGE']
- self.summary_class = Covered.const_get(coverage) || Covered::BriefSummary
- end
+ reports!
end