Sha256: 0f9ecd5f450c8608cead1f0dcf32484ad8f8f975475b195b75aeb513861dd57f

Contents?: true

Size: 520 Bytes

Versions: 12

Compression:

Stored size: 520 Bytes

Contents

# typed: true

require_relative '../../../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

12 entries across 12 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.8.0 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.7.0 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.6.1 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.6.0 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.5.2 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.5.1 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.5.0 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.4.2 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.4.1 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.4.0 lib/datadog/ci/contrib/rspec/patcher.rb
ddtrace-1.3.0 lib/datadog/ci/contrib/rspec/patcher.rb