Sha256: bf389ddf8c47c242f3235b52babe55eaae86e5dfd19d86ab69e550fb4b0729bc
Contents?: true
Size: 879 Bytes
Versions: 25
Compression:
Stored size: 879 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/concurrent_ruby/patcher' require 'ddtrace/contrib/concurrent_ruby/configuration/settings' module Datadog module Contrib module ConcurrentRuby # Describes the ConcurrentRuby integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('0.9') register_as :concurrent_ruby def self.version Gem.loaded_specs['concurrent-ruby'] && Gem.loaded_specs['concurrent-ruby'].version end def self.loaded? !defined?(::Concurrent::Future).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