Sha256: de8af159dc73ab1463c7320894c6b1b28952dcd44c333f31283e661c904240e0
Contents?: true
Size: 872 Bytes
Versions: 25
Compression:
Stored size: 872 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/sucker_punch/configuration/settings' require 'ddtrace/contrib/sucker_punch/patcher' module Datadog module Contrib module SuckerPunch # Description of SuckerPunch integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('2.0.0') register_as :sucker_punch, auto_patch: true def self.version Gem.loaded_specs['sucker_punch'] && Gem.loaded_specs['sucker_punch'].version end def self.loaded? !defined?(::SuckerPunch).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
25 entries across 25 versions & 2 rubygems