Sha256: 84671966af91fb56654328b77b50c242e33617bdfa8033485df55620f3c8d41a

Contents?: true

Size: 548 Bytes

Versions: 3

Compression:

Stored size: 548 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"
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 !~ /^(bin|lib)/
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bovem-3.0.1 spec/coverage_helper.rb
bovem-3.0.0 spec/coverage_helper.rb
bovem-2.4.1 spec/coverage_helper.rb