Sha256: e65ea81303bd7b2307703c9fb7ea77be9c89c747ea5ecd2f716ed62f256abf25
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
# encoding: utf-8 # # This file is part of the lazier gem. Copyright (C) 2011 and above Shogun <shogun_panda@me.com>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # require "simplecov" require "pathname" if ENV["COWTECH_EXTENSIONS_COVERAGE"] == "TRUE" then root = Pathname.new(File.dirname(__FILE__)) + ".." SimpleCov.start do add_filter do |src_file| path = Pathname.new(src_file.filename).relative_path_from(root).to_s path !~ /^lib/ end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lazier-1.0.0 | spec/coverage_helper.rb |