Sha256: bd4838fdc8212e64aa3bc759fb575d27d537adea2fdbddbfead6932d0eac6aad
Contents?: true
Size: 859 Bytes
Versions: 19
Compression:
Stored size: 859 Bytes
Contents
require_relative '../integration' 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['railties'] && Gem.loaded_specs['railties'].version end def self.loaded? !defined?(::Rails).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def self.auto_instrument? true end def patcher Patcher end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems