Sha256: c225b46ce3c1ae5f8c27480e27492d7eb3fa0d7d42bee4b628a83da937a1677c

Contents?: true

Size: 478 Bytes

Versions: 5

Compression:

Stored size: 478 Bytes

Contents

# encoding: utf-8
#
# This file is part of the clavem 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"

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 !~ /^(bin|lib)/
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
clavem-1.2.2 spec/coverage_helper.rb
clavem-1.2.1 spec/coverage_helper.rb
clavem-1.2.0 spec/coverage_helper.rb
clavem-1.1.1 spec/coverage_helper.rb
clavem-1.1.0 spec/coverage_helper.rb