Sha256: 622586be6fc82b7ea5d694fe0677c778221dd9d0a966a2d0c7344b3a2d39eac1
Contents?: true
Size: 657 Bytes
Versions: 3
Compression:
Stored size: 657 Bytes
Contents
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | lib/ddtrace/contrib/rake/patcher.rb |
ddtrace-0.51.0 | lib/ddtrace/contrib/rake/patcher.rb |
ddtrace-0.50.0 | lib/ddtrace/contrib/rake/patcher.rb |