Sha256: c55d308219dce608610632a44471c68502ec4d0ed05852b92f3f808940162ddc

Contents?: true

Size: 501 Bytes

Versions: 4

Compression:

Stored size: 501 Bytes

Contents

module ProviderTaxonomy
  class Engine < ::Rails::Engine
    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|
      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

4 entries across 4 versions & 1 rubygems

Version Path
provider_taxonomy-0.1.7 lib/provider_taxonomy/engine.rb
provider_taxonomy-0.1.6 lib/provider_taxonomy/engine.rb
provider_taxonomy-0.1.5 lib/provider_taxonomy/engine.rb
provider_taxonomy-0.1.4 lib/provider_taxonomy/engine.rb