Sha256: 9961a3e8335bacc9ce66c3569677f1ee8ad05e194a931865911d0fb2197ac73d
Contents?: true
Size: 570 Bytes
Versions: 9
Compression:
Stored size: 570 Bytes
Contents
# encoding: utf-8 # # This file is part of the devdns 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["DEVDNSD_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\/devdnsd\/patches/ || path !~ /^(bin|lib)/ end end end
Version data entries
9 entries across 9 versions & 1 rubygems