Sha256: 35d26602fe09cb2de45eee62fff867aba4bfc3d382aa71abc0af48047187cf0f
Contents?: true
Size: 369 Bytes
Versions: 5
Compression:
Stored size: 369 Bytes
Contents
# frozen_string_literal: true module Coverband class Middleware def initialize(app) @app = app end def call(env) @app.call(env) ensure if Coverband.configuration.background_reporting_enabled Coverband::Background.start else Coverband::Collectors::Coverage.instance.report_coverage end end end end
Version data entries
5 entries across 5 versions & 1 rubygems