Sha256: f4765de18f850c94d0b8328e3aa1927bde1f7855d7801c097668970cde59897e

Contents?: true

Size: 475 Bytes

Versions: 5

Compression:

Stored size: 475 Bytes

Contents

# typed: true
require 'ddtrace/contrib/patcher'
require 'ddtrace/contrib/action_pack/action_controller/patcher'

module Datadog
  module Contrib
    module ActionPack
      # Patcher enables patching of 'action_pack' module.
      module Patcher
        include Contrib::Patcher

        module_function

        def target_version
          Integration.version
        end

        def patch
          ActionController::Patcher.patch
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.54.2 lib/ddtrace/contrib/action_pack/patcher.rb
ddtrace-0.54.1 lib/ddtrace/contrib/action_pack/patcher.rb
ddtrace-0.54.0 lib/ddtrace/contrib/action_pack/patcher.rb
ddtrace-0.53.0 lib/ddtrace/contrib/action_pack/patcher.rb
ddtrace-0.52.0 lib/ddtrace/contrib/action_pack/patcher.rb