Sha256: 2eccc8f96f4052c9ae668845fd85457009a96371fa2c9523257ef535f792d525
Contents?: true
Size: 778 Bytes
Versions: 35
Compression:
Stored size: 778 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/sinatra/configuration/settings' require 'ddtrace/contrib/sinatra/patcher' module Datadog module Contrib module Sinatra # Description of Sinatra integration class Integration include Contrib::Integration register_as :sinatra def self.version Gem.loaded_specs['sinatra'] && Gem.loaded_specs['sinatra'].version end def self.present? super && defined?(::Sinatra) end def self.compatible? super && version >= Gem::Version.new('1.4.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