Sha256: 986a953c7e9e6009a06e17d7b06d313d0c92da504305c888f70206619f70f245

Contents?: true

Size: 654 Bytes

Versions: 10

Compression:

Stored size: 654 Bytes

Contents

module Woo
  class Engine < ::Rails::Engine
    isolate_namespace Woo

    config.generators do |g|
      g.test_framework      :rspec,        :fixture => false
      g.fixture_replacement :factory_girl, :dir => 'spec/factories'
      g.assets false
      g.helper false
    end

    config.woo = ActiveSupport::OrderedOptions.new
    config.woo.stylesheets = %w(woo/application application)
    config.woo.javascripts = %w(woo/application application)

    initializer 'precompile custom assets' do |app|
      app.config.assets.precompile += app.config.woo.stylesheets
      app.config.assets.precompile += app.config.woo.javascripts
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
woo-0.2.0 lib/woo/engine.rb
woo-0.1.12 lib/woo/engine.rb
woo-0.1.11 lib/woo/engine.rb
woo-0.1.10 lib/woo/engine.rb
woo-0.1.9 lib/woo/engine.rb
woo-0.1.8 lib/woo/engine.rb
woo-0.1.7 lib/woo/engine.rb
woo-0.1.6 lib/woo/engine.rb
woo-0.1.5 lib/woo/engine.rb
woo-0.1.4 lib/woo/engine.rb