Sha256: 7df3db2769decdff34e62d4b7d16a622d1186004c0533daacd5d5cc32dd9bb9b

Contents?: true

Size: 526 Bytes

Versions: 8

Compression:

Stored size: 526 Bytes

Contents

# frozen_string_literal: true

require "datadog/tracing/contrib/patcher"
require_relative "example"

module Datadog
  module CI
    module Contrib
      module RSpec
        # Patcher enables patching of 'rspec' module.
        module Patcher
          include Datadog::Tracing::Contrib::Patcher

          module_function

          def target_version
            Integration.version
          end

          def patch
            ::RSpec::Core::Example.include(Example)
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog-ci-0.5.1 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.5.0 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.4.1 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.4.0 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.3.0 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.2.0 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.1.1 lib/datadog/ci/contrib/rspec/patcher.rb
datadog-ci-0.1.0 lib/datadog/ci/contrib/rspec/patcher.rb