Sha256: c933f7822b3eaf46207a83ae7d11364a07ce7ceeb5650c4e04f0a7d8a134382c

Contents?: true

Size: 799 Bytes

Versions: 8

Compression:

Stored size: 799 Bytes

Contents

#!/usr/bin/env ruby
if ENV['VOOM_ENV']=='integration_testing'
  require 'simplecov'
  if ENV['CIRCLE_ARTIFACTS']
    dir = File.join(ENV['CIRCLE_ARTIFACTS'], "coverage")
    SimpleCov.coverage_dir(dir)
  end
  SimpleCov.start
end

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

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 config.ru
voom-presenters-0.1.12 config.ru
voom-presenters-0.1.11 config.ru
voom-presenters-0.1.10 config.ru
voom-presenters-0.1.9 config.ru
voom-presenters-0.1.8 config.ru
voom-presenters-0.1.7 config.ru
voom-presenters-0.1.6 config.ru