lib/tork/config/coverage/master.rb in tork-19.3.2 vs lib/tork/config/coverage/master.rb in tork-19.4.0

- old
+ new

@@ -17,9 +17,14 @@ holes << index + 1 if hits.zero? end end grade = ((nsloc - holes.length) / nsloc.to_f) * 100 + # + # NOTE: It's OK to use Ruby 1.9 hash syntax here because + # the coverage library does not exist for Ruby 1.8 + # so we'd actually never get this far in Ruby 1.8! + # report[file] = { grade: grade, nsloc: nsloc, holes: holes } end end require 'yaml'