Sha256: 4cb673deac4502ce680a551d31e62a1eab750176016e77fdfbabfb1300899f51

Contents?: true

Size: 546 Bytes

Versions: 4

Compression:

Stored size: 546 Bytes

Contents

# encoding: utf-8
#
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
# 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

4 entries across 4 versions & 1 rubygems

Version Path
bovem-3.0.5 spec/coverage_helper.rb
bovem-3.0.4 spec/coverage_helper.rb
bovem-3.0.3 spec/coverage_helper.rb
bovem-3.0.2 spec/coverage_helper.rb