Sha256: 985ac433dfbf784fb65d3efba5f1f4b30445261d121e0fe01ea29e3c19a4e1f4

Contents?: true

Size: 367 Bytes

Versions: 9

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

module Coverband
  class Railtie < Rails::Railtie
    initializer 'coverband.configure' do |app|
      app.middleware.use Coverband::Middleware
    end

    config.after_initialize do
      Coverband::Collectors::Coverage.instance.report_coverage(true)
    end

    rake_tasks do
      load 'coverband/utils/tasks.rb'
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
coverband-4.1.0.beta lib/coverband/utils/railtie.rb
coverband-4.2.0.beta lib/coverband/utils/railtie.rb
coverband-4.2.0.alpha lib/coverband/utils/railtie.rb
coverband-4.1.0.alpha lib/coverband/utils/railtie.rb
coverband-4.0.1 lib/coverband/utils/railtie.rb
coverband-4.0.1.beta lib/coverband/utils/railtie.rb
coverband-4.0.1.alpha lib/coverband/utils/railtie.rb
coverband-4.0.0 lib/coverband/utils/railtie.rb
coverband-4.0.0.alpha lib/coverband/utils/railtie.rb