Sha256: e9db5b495ec054e10b8bf258fe806b87aa1f69c325f90cbf904c8d5fc56616e4

Contents?: true

Size: 590 Bytes

Versions: 1

Compression:

Stored size: 590 Bytes

Contents

# encoding: utf-8
#
# This file is part of the devdnsd gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
#

require "pathname"
require "simplecov"
require "coveralls"

Coveralls.wear! if ENV["CI"] || ENV["JENKINS_URL"]

SimpleCov.start do
  root = Pathname.new(File.dirname(__FILE__)) + ".."

  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devdnsd-3.0.0 spec/coverage_helper.rb