Sha256: fce89c1549f250367b41585a7203662ae372c0fc2954ab501f7331abb667b475

Contents?: true

Size: 728 Bytes

Versions: 2

Compression:

Stored size: 728 Bytes

Contents

require 'sequel'

Sequel.extension :pg_json
Sequel.default_timezone = :utc

require 'event_sourcery'
require 'event_sourcery/postgres/version'
require 'event_sourcery/postgres/config'
require 'event_sourcery/postgres/queue_with_interval_callback'
require 'event_sourcery/postgres/schema'
require 'event_sourcery/postgres/optimised_event_poll_waiter'
require 'event_sourcery/postgres/event_store'
require 'event_sourcery/postgres/table_owner'
require 'event_sourcery/postgres/projector'
require 'event_sourcery/postgres/reactor'
require 'event_sourcery/postgres/tracker'

module EventSourcery
  module Postgres
    def self.configure
      yield config
    end

    def self.config
      @config ||= Config.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
event_sourcery-postgres-0.4.0 lib/event_sourcery/postgres.rb
event_sourcery-postgres-0.3.0 lib/event_sourcery/postgres.rb