Sha256: 0b1cf161c65251055ce1f0d60b11b083d7df7a934a144ffb1e0047a72631804a

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
bovem-2.2.2 spec/coverage_helper.rb
bovem-2.2.1 spec/coverage_helper.rb
bovem-2.2.0 spec/coverage_helper.rb
bovem-2.1.3 spec/coverage_helper.rb
bovem-2.1.2 spec/coverage_helper.rb
bovem-2.1.1 spec/coverage_helper.rb