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