Sha256: 7a4c4712c0bc4c9cfea7164a26ce72fec9d043e9ba9ce9a7d3bd4045249b20b0
Contents?: true
Size: 551 Bytes
Versions: 8
Compression:
Stored size: 551 Bytes
Contents
# encoding: utf-8 # # This file is part of the cowtech-extensions 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
8 entries across 8 versions & 1 rubygems