Sha256: 60f748b160a9a474a505e02f0d06ec4445ca44caee51011982d7799a6665d303

Contents?: true

Size: 550 Bytes

Versions: 3

Compression:

Stored size: 550 Bytes

Contents

# encoding: utf-8
#
# This file is part of the devdnsd gem. Copyright (C) 2013 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 "pathname"
require "simplecov"
require "coveralls"

Coveralls.wear!

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

3 entries across 3 versions & 1 rubygems

Version Path
devdnsd-2.4.0 spec/coverage_helper.rb
devdnsd-2.3.1 spec/coverage_helper.rb
devdnsd-2.3.0 spec/coverage_helper.rb