Sha256: 292105c8c1ac304c67d571fe1ac2f02e7a58d7e6e7e6e90a6581ea63ccfd59aa

Contents?: true

Size: 702 Bytes

Versions: 5

Compression:

Stored size: 702 Bytes

Contents

module Dradis
  module Plugins
    module PdfExport
      class Engine < ::Rails::Engine
        # Standard Rails Engine stuff
        isolate_namespace Dradis::Plugins::PdfExport

        # 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
        description 'Generate PDF reports'

        initializer 'dradis-pdf_export.mount_engine' do
          Rails.application.routes.append do
            mount Dradis::Plugins::PdfExport::Engine => '/', as: :pdf_export
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dradis-pdf_export-4.15.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.14.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.13.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.11.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.10.0 lib/dradis/plugins/pdf_export/engine.rb