Sha256: 296d0a289bb6590d7e270a7c138b856641d720affd39b491081d28284f97401f

Contents?: true

Size: 467 Bytes

Versions: 15

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

begin
  unless RUBY_VERSION.start_with?('1.8')
    require 'simplecov'

    if ENV['CIRCLE_ARTIFACTS']
      coverage_directory = File.join(ENV['CIRCLE_ARTIFACTS'], 'coverage')

      ::SimpleCov.coverage_dir(coverage_directory)
    end

    ::SimpleCov.start do
      add_filter '/config/'
      add_filter '/spec/'
      add_filter '/test/'
      add_filter '/features/'
      add_filter '/system/'
    end
  end
rescue LoadError
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rspeckled-2.1.1 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-2.1.0 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-2.0.1 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-2.0.0 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.4.0 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.3.1 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.3.0 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.2.1 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.2.0 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.1.3 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.1.2 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.1.1 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.1.0 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.0.5 lib/rspeckled/plugins/configuration/simple_cov.rb
rspeckled-1.0.4 lib/rspeckled/plugins/configuration/simple_cov.rb