lib/contrast/framework/manager.rb in contrast-agent-4.8.0 vs lib/contrast/framework/manager.rb in contrast-agent-4.9.0
- old
+ new
@@ -1,20 +1,19 @@
# Copyright (c) 2021 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true
+require 'contrast/components/logger'
require 'contrast/framework/platform_version'
require 'contrast/framework/rack/support'
require 'contrast/framework/rails/support'
require 'contrast/framework/sinatra/support'
-require 'contrast/components/interface'
require 'contrast/utils/class_util'
module Contrast
module Framework
# Allows access to framework specific information
class Manager
- include Contrast::Components::Interface
- access_component :analysis, :logging
+ include Contrast::Components::Logger::InstanceMethods
# Order here does matter as the first framework listed will be the first one we pull information from
# Rack will be a special case that may involve updating some logic to handle only applying Rack if Rails/Sinatra
# do not exist
SUPPORTED_FRAMEWORKS = [