Sha256: 0e1b856e4daecb295c09076bc757e2651a619b498e1b9e553deed76219c2f532

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

if ENV['COVERAGE'] == 'true'
  require 'simplecov'
  require 'codecov'

  SimpleCov.formatter = SimpleCov::Formatter::Codecov

  SimpleCov.minimum_coverage(ENV.fetch('MINIMUM_COVERAGE', 80).to_i)

  SimpleCov.start('rails') do
    add_filter [
      '/lib/generators',
      '/vendor',
      '/lib/authorizy/version.rb',
    ]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authorizy-0.5.0 spec/support/coverage.rb
authorizy-0.4.1 spec/support/coverage.rb
authorizy-0.4.0 spec/support/coverage.rb
authorizy-0.3.0 spec/support/coverage.rb
authorizy-0.2.2 spec/support/coverage.rb
authorizy-0.2.1 spec/support/coverage.rb
authorizy-0.2.0 spec/support/coverage.rb