Sha256: 1250ea9168aca9b9ee884ea27bbecc411fd8bb4cd5cc198e906ca0fc8ad633d0

Contents?: true

Size: 759 Bytes

Versions: 4

Compression:

Stored size: 759 Bytes

Contents

module Dradis
  module Plugins
    module HtmlExport
      class Engine < ::Rails::Engine

        # Standard Rails Engine stuff
        isolate_namespace Dradis::Plugins::HtmlExport
        engine_name 'dradis_html_export'

        # use rspec for tests
        config.generators do |g|
          g.test_framework :rspec
        end

        # Connect to the Framework
        include Dradis::Plugins::Base

        # plugin_name 'HTML export'
        provides :export, :rtp
        description 'Generate advanced HTML reports'


        initializer 'dradis-html_export.mount_engine' do
          Rails.application.routes.append do
            mount Dradis::Plugins::HtmlExport::Engine => '/export/html'
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dradis-html_export-4.8.0 lib/dradis/plugins/html_export/engine.rb
dradis-html_export-4.7.0 lib/dradis/plugins/html_export/engine.rb
dradis-html_export-4.6.0 lib/dradis/plugins/html_export/engine.rb
dradis-html_export-4.5.0 lib/dradis/plugins/html_export/engine.rb