Sha256: 245925ffc346e6455ad93250d4aa660d012b912d8904c664e006c1bfaedc7129

Contents?: true

Size: 641 Bytes

Versions: 15

Compression:

Stored size: 641 Bytes

Contents

module InstantUpload
  class Engine < ::Rails::Engine
    isolate_namespace InstantUpload

    config.generators do |g|
      g.test_framework :rspec, fixture: true
      g.fixture_replacement :factory_girl, dir: 'spec/factories'

      g.view_specs false
      g.helper_specs false

      g.stylesheets = false
      g.javascripts = false
    end

    initializer 'instant_upload.initialize' do
      ActiveSupport.on_load(:action_view) do
        include InstantUpload::Helpers::UploadHelper
      end

      ActiveSupport.on_load(:action_controller) do
        include InstantUpload::Helpers::ControllerHelper
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
instant-upload-1.1.4 lib/instant_upload/engine.rb
instant-upload-1.1.3 lib/instant_upload/engine.rb
instant-upload-1.1.2 lib/instant_upload/engine.rb
instant-upload-1.1.1 lib/instant_upload/engine.rb
instant-upload-1.1.0 lib/instant_upload/engine.rb
instant-upload-1.0.9 lib/instant_upload/engine.rb
instant-upload-1.0.8 lib/instant_upload/engine.rb
instant-upload-1.0.7 lib/instant_upload/engine.rb
instant-upload-1.0.6 lib/instant_upload/engine.rb
instant-upload-1.0.5 lib/instant_upload/engine.rb
instant-upload-1.0.4 lib/instant_upload/engine.rb
instant-upload-1.0.3 lib/instant_upload/engine.rb
instant-upload-1.0.2 lib/instant_upload/engine.rb
instant-upload-1.0.1 lib/instant_upload/engine.rb
instant-upload-1.0.0 lib/instant_upload/engine.rb