Sha256: cdf7d4dee08969df0256b9fd06d023e68624e660ae8d583b8144013ea4d40dba

Contents?: true

Size: 454 Bytes

Versions: 10

Compression:

Stored size: 454 Bytes

Contents

module Assetable
  class Engine < ::Rails::Engine
    config.generators.integration_tool :rspec
    config.generators.test_framework :rspec

    # Run the engine migrations with the main app rake task
    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths["db/migrate"].expanded.each do |expanded_path|
          app.config.paths["db/migrate"] << expanded_path
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
assetable-0.2.4 lib/assetable/engine.rb
assetable-0.2.2 lib/assetable/engine.rb
assetable-0.2.1 lib/assetable/engine.rb
assetable-0.1.10 lib/assetable/engine.rb
assetable-0.1.9 lib/assetable/engine.rb
assetable-0.1.8 lib/assetable/engine.rb
assetable-0.1.7 lib/assetable/engine.rb
assetable-0.1.6 lib/assetable/engine.rb
assetable-0.1.3 lib/assetable/engine.rb
assetable-0.1.2 lib/assetable/engine.rb