Sha256: 4de6acc9216bce63806ade65bd5a11daa37ed075847203912abfa8fab5b142ed

Contents?: true

Size: 1 KB

Versions: 10

Compression:

Stored size: 1 KB

Contents

module IB
  class Engine < ::Rails::Engine
    isolate_namespace Ib

    #paths["app"]                 # => ["app"]
    #paths["app/controllers"]     # => ["app/controllers"]
    #paths["app/helpers"]         # => ["app/helpers"]
    paths["app/models"] = "lib/models"
    #paths["app/views"]           # => ["app/views"]
    #paths["lib"]                 # => ["lib"]
    #paths["lib/tasks"]           # => ["lib/tasks"]
    #paths["config"]              # => ["config"]
    #paths["config/initializers"] # => ["config/initializers"]
    #paths["config/locales"]      # => ["config/locales"]
    #paths["config/routes"]       # => ["config/routes.rb"]

    config.generators do |gen|
      gen.integration_tool :rspec
      gen.test_framework :rspec
      gen.helper_specs false
      # gen.view_specs false
    end

    config.to_prepare do
    end

    initializer "ib.active_record" do |app|
      ActiveSupport.on_load :active_record do
        require 'ib/db'
        require 'ib/requires'
      end
    end

  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
my-ib-api-0.0.4 lib/ib/engine.rb
my-ib-api-0.0.3 lib/ib/engine.rb
my-ib-api-0.0.2 lib/ib/engine.rb
my-ib-api-0.0.1 lib/ib/engine.rb
ib-ruby-0.9.2 lib/ib/engine.rb
ib-ruby-0.9.1 lib/ib/engine.rb
ib-ruby-0.9.0 lib/ib/engine.rb
ib-ruby-0.8.5 lib/ib/engine.rb
ib-ruby-0.8.4 lib/ib/engine.rb
ib-ruby-0.8.3 lib/ib/engine.rb