Sha256: a969edd1e2e54f0ba92b10a49238126980ec68f6c452d0ba4046ab97e9166197
Contents?: true
Size: 900 Bytes
Versions: 25
Compression:
Stored size: 900 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/racecar/configuration/settings' require 'ddtrace/contrib/racecar/patcher' module Datadog module Contrib module Racecar # Description of Racecar integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('0.3.5') register_as :racecar, auto_patch: false def self.version Gem.loaded_specs['racecar'] && Gem.loaded_specs['racecar'].version end def self.loaded? !defined?(::Racecar).nil? \ && !defined?(::ActiveSupport::Notifications).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