Sha256: 9954b87029088b3f2b640efbfba53a9108ea49378ee805d322917db52082536e

Contents?: true

Size: 503 Bytes

Versions: 4

Compression:

Stored size: 503 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../api', __dir__)
$LOAD_PATH.unshift File.expand_path('../app', __dir__)
$LOAD_PATH.unshift __dir__

require 'boot'
require 'erb'

Bundler.require :default, ENV['RACK_ENV']

<% if app_orm == 'activerecord' -%>
OTR::ActiveRecord.configure_from_file! "config/database.yml"
<% end -%>

require_rel '../app'
require_rel '../lib'
require_rel Dir.glob('../api/*/*', base: __dir__).reject { |f| f =~ /base\.rb/ }
require_rel '../api/*/base.rb'
require_rel '../api/base.rb'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grapethor-0.2.3 lib/grapethor/templates/new/config/application.rb.tt
grapethor-0.2.2 lib/grapethor/templates/new/config/application.rb.tt
grapethor-0.2.1 lib/grapethor/templates/new/config/application.rb.tt
grapethor-0.2.0 lib/grapethor/templates/new/config/application.rb.tt