Sha256: 16b7aefae85dba6a703f581eede15205b52a67cdd08b4a8e9e31e698a16f104c

Contents?: true

Size: 887 Bytes

Versions: 1

Compression:

Stored size: 887 Bytes

Contents

require "sandthorn_driver_sequel_2/version"
require "sandthorn_driver_sequel_2/utilities"
require "sandthorn_driver_sequel_2/wrappers"
require "sandthorn_driver_sequel_2/event_query"
require "sandthorn_driver_sequel_2/event_store_context"
require "sandthorn_driver_sequel_2/access"
require "sandthorn_driver_sequel_2/storage"
require 'sandthorn_driver_sequel_2/event_store'
require 'sandthorn_driver_sequel_2/errors'
require 'sandthorn_driver_sequel_2/migration'
require 'sandthorn_driver_sequel_2/file_output_wrappers/events'

module SandthornDriverSequel2
  class << self
    def driver_from_url url: nil, context: nil, file_output_options: {}
      EventStore.new url: url, context: context, file_output_options: file_output_options
    end
    def migrate_db url: nil, context: nil
      migrator = Migration.new url: url, context: context
      migrator.migrate!
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sandthorn_driver_sequel_2-0.0.2 lib/sandthorn_driver_sequel_2.rb