Sha256: a281ef6a06c9406fbd615cc71020742f0f2e7135b7eab542714d36f84b7e027c
Contents?: true
Size: 866 Bytes
Versions: 35
Compression:
Stored size: 866 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 register_as :sucker_punch, auto_patch: true def self.version Gem.loaded_specs['sucker_punch'] && Gem.loaded_specs['sucker_punch'].version end def self.present? super && defined?(::SuckerPunch) end def self.compatible? super && Gem::Version.new(::SuckerPunch::VERSION) >= Gem::Version.new('2.0.0') end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
35 entries across 35 versions & 2 rubygems