Sha256: 7c54445bc5a4fb6119990aad210d24e573168c658e7e9b7ecc3eca2711362ab2
Contents?: true
Size: 938 Bytes
Versions: 5
Compression:
Stored size: 938 Bytes
Contents
# typed: false # frozen_string_literal: true require 'ddtrace/contrib/integration' require 'ddtrace/contrib/sneakers/ext' require 'ddtrace/contrib/sneakers/configuration/settings' require 'ddtrace/contrib/sneakers/patcher' module Datadog module Contrib module Sneakers # Description of Sneakers integration class Integration include Datadog::Contrib::Integration MINIMUM_VERSION = Gem::Version.new('2.12.0') register_as :sneakers, auto_patch: true def self.version Gem.loaded_specs['sneakers'] && Gem.loaded_specs['sneakers'].version end def self.loaded? !defined?(::Sneakers).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
5 entries across 5 versions & 1 rubygems