Sha256: ca0e4ef31abe2ae73b2164a161e8630731cbce9381bf99efa6ec4a970ba68b60
Contents?: true
Size: 531 Bytes
Versions: 2
Compression:
Stored size: 531 Bytes
Contents
# encoding: utf-8 # # This file is part of the akaer 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["AKAER_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
akaer-1.0.0 | spec/coverage_helper.rb |
akaer-0.3.0 | spec/coverage_helper.rb |