Sha256: 782ec5422d8b11c585eb3600177dd1387436ba2d462879e100da965ded131671

Contents?: true

Size: 525 Bytes

Versions: 10

Compression:

Stored size: 525 Bytes

Contents

module ConfigManager
  class Engine < ::Rails::Engine
    isolate_namespace ConfigManager

		initializer :append_migrations do |app|
			unless app.root.to_s.match(root.to_s) && false
				config.paths["db/migrate"].expanded.each do |expanded_path|
					app.config.paths["db/migrate"] << expanded_path
				end
			end
		end

    config.autoload_paths += Dir["#{config.root}/lib/**/"]

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
config_manager-1.0.0 lib/config_manager/engine.rb
config_manager-0.0.10 lib/config_manager/engine.rb
config_manager-0.0.9 lib/config_manager/engine.rb
config_manager-0.0.8 lib/config_manager/engine.rb
config_manager-0.0.7 lib/config_manager/engine.rb
config_manager-0.0.6 lib/config_manager/engine.rb
config_manager-0.0.5 lib/config_manager/engine.rb
config_manager-0.0.4 lib/config_manager/engine.rb
config_manager-0.0.2 lib/config_manager/engine.rb
config_manager-0.0.1 lib/config_manager/engine.rb