Sha256: 4a14cc9d4540959afef9c78227055b5bcb1d69cbd14a9c1329c38ce19de99758

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

require 'rubygems'
require 'sinatra/base'

require File.dirname(__FILE__) + '/config/config'

Sinatra::Base.set(:config, Config.environment_config)
Config.setup

base = File.dirname(__FILE__)
Dir.glob(base + '/lib/*.rb'             ).each { |f| require f }
Dir.glob(base + '/model_helpers/*.rb'   ).each { |f| require f }
Dir.glob(base + '/models/*.rb'          ).each { |f| require f }
Dir.glob(base + '/resource_helpers/*.rb').each { |f| require f }
Dir.glob(base + '/resources/*.rb'       ).each { |f| require f }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra_resource-0.4.23 examples/datacatalog/app.rb
sinatra_resource-0.4.22 examples/datacatalog/app.rb