Sha256: 044c3b68b1461c981088eb00cbbaa489c9451042a8e60971a7e7167852c27f42

Contents?: true

Size: 440 Bytes

Versions: 6

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

if defined?(Spring) && ENV['DISABLE_SPRING'].nil?
  puts '**** NO COVERAGE FOR YOU! ****'
  puts 'Please disable Spring to get COVERAGE by `DISABLE_SPRING=1 COVERAGE=1 bin/rspec`'
else
  SimpleCov.start 'rails' do
    add_filter %w[app/views bin spec test]

    maximum_coverage_drop 0.5
  end

  if ENV['CODECOV_TOKEN']
    require 'codecov'
    SimpleCov.formatter = SimpleCov::Formatter::Codecov
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jt_tools-0.0.19 lib/install/.simplecov
jt_tools-0.0.18 lib/install/.simplecov
jt_tools-0.0.17 lib/install/.simplecov
jt_tools-0.0.16 lib/install/.simplecov
jt_tools-0.0.15 lib/install/.simplecov
jt_tools-0.0.6 lib/install/.simplecov