Sha256: 5d7918ae2861f9e3ee16934d100cca3979cce376836b1a2d00f3e4ab9e758eea

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 Bytes

Contents

module HomesteadingPublisher
  class Engine < ::Rails::Engine
    isolate_namespace HomesteadingPublisher

    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

    initializer :append_migrations do |app|
      if app.root.to_s != 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

3 entries across 3 versions & 1 rubygems

Version Path
homesteading_publisher-0.2.4 lib/homesteading_publisher/engine.rb
homesteading_publisher-0.2.3 lib/homesteading_publisher/engine.rb
homesteading_publisher-0.2.2 lib/homesteading_publisher/engine.rb