Sha256: 6633ad843270e4952cea0c159f2c3f2995fd506c989c2eac2ad7a57b3b13c47b

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require_relative "../patcher"

require_relative "result_extractor"

module Datadog
  module CI
    module Contrib
      module Simplecov
        # Patcher enables patching of 'SimpleCov' module.
        module Patcher
          include Datadog::CI::Contrib::Patcher

          module_function

          def patch
            ::SimpleCov.include(ResultExtractor)
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datadog-ci-1.12.0 lib/datadog/ci/contrib/simplecov/patcher.rb
datadog-ci-1.11.0 lib/datadog/ci/contrib/simplecov/patcher.rb
datadog-ci-1.10.0 lib/datadog/ci/contrib/simplecov/patcher.rb
datadog-ci-1.9.0 lib/datadog/ci/contrib/simplecov/patcher.rb