Sha256: f4db5448a7341e036aee4f9188ca210bc57e0e1d7fb705b49d147bb3fe3fe598
Contents?: true
Size: 1 KB
Versions: 5
Compression:
Stored size: 1 KB
Contents
require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' require_relative 'request_middleware' require_relative 'request_body_middleware' module Datadog module AppSec module Contrib module Rack # Description of Rack integration class Integration include Datadog::AppSec::Contrib::Integration MINIMUM_VERSION = Gem::Version.new('1.1.0') register_as :rack, auto_patch: false def self.version Gem.loaded_specs['rack'] && Gem.loaded_specs['rack'].version end def self.loaded? !defined?(::Rack).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def self.auto_instrument? false end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems