Sha256: 7a5de867fa9c3ace84dd1ccb7cb4c01cdceb3dc09f8859610d4d37d6de193791

Contents?: true

Size: 697 Bytes

Versions: 9

Compression:

Stored size: 697 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 => '/export/pdf'
          end
        end
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dradis-pdf_export-4.9.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.8.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.7.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.6.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.5.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.4.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.3.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.2.0 lib/dradis/plugins/pdf_export/engine.rb
dradis-pdf_export-4.1.0 lib/dradis/plugins/pdf_export/engine.rb