Sha256: 3ba12546eef0d8be6dc3e05ffc48d960229133ab4572aa1109ca7d9fc0943a8a

Contents?: true

Size: 625 Bytes

Versions: 10

Compression:

Stored size: 625 Bytes

Contents

module Prosperity
  class Engine < ::Rails::Engine
    isolate_namespace Prosperity
    config.autoload_paths << File.expand_path("../../", __FILE__)
    config.after_initialize do
      require "prosperity/exception"
    end

    config.generators do |g|
      g.test_framework :rspec, :fixtures => false
      g.view_specs false
      g.fixture_replacement nil
    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

10 entries across 10 versions & 1 rubygems

Version Path
prosperity-0.0.11 lib/prosperity/engine.rb
prosperity-0.0.10 lib/prosperity/engine.rb
prosperity-0.0.9 lib/prosperity/engine.rb
prosperity-0.0.8 lib/prosperity/engine.rb
prosperity-0.0.7 lib/prosperity/engine.rb
prosperity-0.0.6 lib/prosperity/engine.rb
prosperity-0.0.5 lib/prosperity/engine.rb
prosperity-0.0.4 lib/prosperity/engine.rb
prosperity-0.0.3 lib/prosperity/engine.rb
prosperity-0.0.2 lib/prosperity/engine.rb