Sha256: dbe4084f0a1620635140011659d06ccc21f00f7416b872455259d411fc74a16b
Contents?: true
Size: 531 Bytes
Versions: 4
Compression:
Stored size: 531 Bytes
Contents
# encoding: utf-8 # # This file is part of the bovem gem. Copyright (C) 2012 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["BOVEM_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 !~ /^(bin|lib)/ end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bovem-0.8.1 | spec/coverage_helper.rb |
bovem-0.8.0 | spec/coverage_helper.rb |
bovem-0.6.0 | spec/coverage_helper.rb |
bovem-0.5.0 | spec/coverage_helper.rb |