Sha256: d21f29559b6cde2fb1cb2072d92e070ff75ea728028d6b89ea112dee7716a5b2

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'lotus/setup'
require 'rom-lotus'

require_relative '../lib/dummy'
require_relative '../apps/web/application'

Lotus::Container.configure do
  mount Web::Application, at: '/'

  ROM::Lotus.setup(Web::Application) do |setup|
    setup.repositories[:default] = [:sql, "sqlite:///tmp/test.sqlite"]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-lotus-0.1.0 spec/dummy/config/environment.rb
rom-lotus-0.0.1 spec/dummy/config/environment.rb