Sha256: d42f1af711150fdb1b6db9f786b9fedba5962b2d153f387d95066c902dae42ec

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

# load bundler
Bundler.setup(:default)
require 'napa'
Bundler.require(:default, Napa.env.to_sym)
require 'will_paginate'
require 'will_paginate/active_record' 

# load environment
Dotenv.load(Napa.env.test? ? ".env.test" : ".env")

# autoload lib
Dir['./lib/**/**/*.rb'].map {|file| require file }

# autoload initalizers
Dir['./config/initializers/**/*.rb'].map {|file| require file }

# load middleware configs
Dir['./config/middleware/**/*.rb'].map {|file| require file }

# autoload app
Dir['./app/**/**/*.rb'].map {|file| require file }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
napa-0.1.2 lib/generators/templates/scaffold/app.rb
napa-0.1.1 lib/generators/templates/scaffold/app.rb
napa-0.1.0 lib/generators/templates/scaffold/app.rb