Sha256: 52c1d9314705a13787e0dbaaa98f912131f1201f21f220b731c51e615f1876a4
Contents?: true
Size: 759 Bytes
Versions: 9
Compression:
Stored size: 759 Bytes
Contents
module Dradis::Plugins::Calculators::CVSS class Engine < ::Rails::Engine isolate_namespace Dradis::Plugins::Calculators::CVSS include Dradis::Plugins::Base provides :addon description 'Risk Calculator: CVSSv3' initializer 'calculator_cvss.asset_precompile_paths' do |app| app.config.assets.precompile += ["dradis/plugins/calculators/cvss/manifests/*"] end initializer "calculator_cvss.inflections" do |app| ActiveSupport::Inflector.inflections do |inflect| inflect.acronym('CVSS') end end initializer 'calculator_cvss.mount_engine' do Rails.application.routes.append do mount Dradis::Plugins::Calculators::CVSS::Engine => '/', as: :cvss_calculator end end end end
Version data entries
9 entries across 9 versions & 1 rubygems