lib/contrast/framework/manager.rb in contrast-agent-3.12.2 vs lib/contrast/framework/manager.rb in contrast-agent-3.13.0
- old
+ new
@@ -1,9 +1,8 @@
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true
-cs__scoped_require 'contrast/framework/view_technologies_descriptor'
cs__scoped_require 'contrast/framework/platform_version'
cs__scoped_require 'contrast/framework/rack/support'
cs__scoped_require 'contrast/framework/rails/support'
cs__scoped_require 'contrast/framework/sinatra/support'
cs__scoped_require 'contrast/components/interface'
@@ -57,14 +56,10 @@
patches.merge(framework_patches) if framework_patches && !framework_patches.empty?
end
patches
end
- def find_applicable_view_technologies
- scan_views_for_all_frameworks
- end
-
def find_route_discovery_data
routes_for_all_frameworks
end
def platform_version
@@ -120,13 +115,9 @@
private
def enable_framework_support? klass
Contrast::Utils::ClassUtil.truly_defined?(klass)
- end
-
- def scan_views_for_all_frameworks
- data_for_all_frameworks :scan_views
end
def routes_for_all_frameworks
data_for_all_frameworks :collect_routes
end