Sha256: 8078ae8bdf3a6c8d882b3adfe364b8085cadb2bc4bedbf3f4a2ca43b199a2567

Contents?: true

Size: 588 Bytes

Versions: 6

Compression:

Stored size: 588 Bytes

Contents

#!/usr/bin/env ruby
ENV['VOOM_ROOT'] = File.expand_path(__dir__)
libdir = File.join(ENV['VOOM_ROOT'], 'lib')
$:.unshift(libdir) unless $:.include?(libdir)
require 'voom/presenters/api/app'
require 'voom/presenters/web_client/app'
require 'voom/presenters/demo/search'
require 'voom/presenters/demo/echo'


use Voom::Presenters::Demo::Search
use Voom::Presenters::Demo::Echo

use Voom::Presenters::WebClient::App
run Voom::Presenters::Api::App

Voom::Presenters::Settings.configure do |config|
  config.presenters.root = File.join(ENV['VOOM_ROOT'], 'app')
end
Voom::Presenters::App.boot!

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.1.5 config.ru
voom-presenters-0.1.4 config.ru
voom-presenters-0.1.3 config.ru
voom-presenters-0.1.2 config.ru
voom-presenters-0.1.1 config.ru
voom-presenters-0.1.0 config.ru