Sha256: 9ad06cddb0de551d656dfbb425da6501f56377dfca0b06eff86f2e3aefb8f546

Contents?: true

Size: 471 Bytes

Versions: 7

Compression:

Stored size: 471 Bytes

Contents

# encoding: utf-8
#
# This file is part of the elephas 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 !~ /^lib/
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
elephas-4.0.0 spec/coverage_helper.rb
elephas-3.0.1 spec/coverage_helper.rb
elephas-3.0.0 spec/coverage_helper.rb
elephas-2.2.0 spec/coverage_helper.rb
elephas-2.1.3 spec/coverage_helper.rb
elephas-2.1.2 spec/coverage_helper.rb
elephas-2.1.1 spec/coverage_helper.rb