Sha256: c107775d2fdd778fb685ade90e6a7b97a2b29f5f5dbbea1adeacf28f02f38033

Contents?: true

Size: 902 Bytes

Versions: 24

Compression:

Stored size: 902 Bytes

Contents

# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

require 'contrast/agent/patching/policy/after_load_patch'

module Contrast
  module Framework
    module Rack
      module Patch
        # Extension point allowing for the registration of Patches required to
        # support the Rack framework.
        module Support
          # (See BaseSupport#after_load_patches)
          def after_load_patches
            Set.new([
                      Contrast::Agent::Patching::Policy::AfterLoadPatch.new(
                          'Rack::Session::Cookie',
                          'contrast/framework/rack/patch/session_cookie',
                          instrumenting_module: 'Contrast::Framework::Rack::Patch::SessionCookie')
                    ])
          end
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
contrast-agent-6.11.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.10.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.9.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.8.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.7.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.6.5 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.6.4 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.6.3 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.6.2 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.6.1 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.6.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.5.1 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.5.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.4.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.3.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.2.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.1.2 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.1.1 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.1.0 lib/contrast/framework/rack/patch/support.rb
contrast-agent-6.0.0 lib/contrast/framework/rack/patch/support.rb