lib/oneshot_coverage.rb in oneshot_coverage-0.2.1 vs lib/oneshot_coverage.rb in oneshot_coverage-0.2.2

- old
+ new

@@ -50,10 +50,10 @@ return false if @bundler_path && filepath.start_with?(@bundler_path) true end def transform(filepath, value) - rel_path = filepath[@target_path.size..] + rel_path = filepath[@target_path.size..-1] md5_hash = if md5_hash_cache.key?(filepath) md5_hash_cache[filepath] else md5_hash_cache[filepath] = Digest::MD5.file(filepath).hexdigest