Sha256: 8e79524f1be62253192de040a8092eff243b16057aa93d51659149346004707a
Contents?: true
Size: 627 Bytes
Versions: 4
Compression:
Stored size: 627 Bytes
Contents
# -*- encoding : utf-8 -*- require 'em-synchrony/activerecord' CONFIG = { Goliath.env.to_sym => { :adapter => 'sqlite3', :database => ":memory:" } } ActiveRecord::Base.configurations = CONFIG ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations[Goliath.env]) ActiveRecord::Schema.define do create_table :users, :force => true do |t| t.string :name t.timestamp :created_at t.timestamp :updated_at end end Untied::Publisher.configure do |config| config.logger = Logger.new(STDOUT) config.deliver_messages = true config.service_name = "goliath" config.doorkeeper = "Doorkeeper" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
untied-0.0.7.pre3 | examples/goliath/config/srv.rb |
untied-0.0.5 | examples/goliath/config/srv.rb |
untied-0.0.4 | examples/goliath/config/srv.rb |
untied-0.0.1 | examples/goliath/config/srv.rb |