Sha256: 667f2a1e68cfff42d79eeb9ca6bec4fd903bda2cfce8126dce309e0eeb458e1d

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

module Redde
  class Engine < ::Rails::Engine
    config.generators do |g|
      g.test_framework      :rspec,        fixture: false
      g.fixture_replacement :factory_bot, dir: 'spec/factories'
      g.assets false
      g.helper false
    end
    config.to_prepare do
      Rails.application.config.assets.precompile += %w(
        redde/favicon.png
      )
    end
    initializer 'ReddeEngine.add_message_bus' do |app|
      app.middleware.use MessageBus::Rack::Middleware
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redde-0.4.4 lib/redde/engine.rb
redde-0.4.3 lib/redde/engine.rb
redde-0.4.2 lib/redde/engine.rb
redde-0.4.1 lib/redde/engine.rb
redde-0.4.0 lib/redde/engine.rb