Sha256: 2a1c80fd643d0b15498ff955ae5c2ad2e44775c853a98709f1ebe38166723de8
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 Bytes
Contents
# typed: true require 'ddtrace/contrib/patcher' require 'ddtrace/ext/app_types' require 'ddtrace/contrib/rake/ext' require 'ddtrace/contrib/rake/instrumentation' module Datadog module Contrib module Rake # Patcher enables patching of 'rake' module. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch # Add instrumentation patch to Rake task ::Rake::Task.include(Instrumentation) end def get_option(option) Datadog.configuration[:rake].get_option(option) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems