Sha256: 076f938db0618b907b99f981882d26581d3ec25babd9f20ecad91988f9d7ffc1
Contents?: true
Size: 1.11 KB
Versions: 4
Compression:
Stored size: 1.11 KB
Contents
# frozen_string_literal: true # typed: false require 'datadog/tracing/contrib/integration' require 'datadog/tracing/contrib/sneakers/ext' require 'datadog/tracing/contrib/sneakers/configuration/settings' require 'datadog/tracing/contrib/sneakers/patcher' module Datadog module Tracing module Contrib module Sneakers # Description of Sneakers integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('2.12.0') # @public_api Changing the integration name or integration options can cause breaking changes 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 new_configuration Configuration::Settings.new end def patcher Patcher end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems