Sha256: 115d7c36a50cee54bdbaae604a21d714034d422077412bd6c94661a825c05f12
Contents?: true
Size: 872 Bytes
Versions: 17
Compression:
Stored size: 872 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/action_pack/configuration/settings' require 'ddtrace/contrib/action_pack/patcher' module Datadog module Contrib module ActionPack # Describes the ActionPack integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('3.0') register_as :action_pack, auto_patch: false def self.version Gem.loaded_specs['actionpack'] && Gem.loaded_specs['actionpack'].version end def self.loaded? !defined?(::ActionPack).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def default_configuration Configuration::Settings.new end def patcher ActionPack::Patcher end end end end end
Version data entries
17 entries across 17 versions & 2 rubygems