Sha256: 28141ad1f0accc806e510e5fcbaaa2c39a0dc287334d77e20720178747ee130d

Contents?: true

Size: 518 Bytes

Versions: 8

Compression:

Stored size: 518 Bytes

Contents

require "sandthorn_driver_sequel/version"
require "sandthorn_driver_sequel/event_store_context"
require 'sandthorn_driver_sequel/event_store'
require 'sandthorn_driver_sequel/errors'
require 'sandthorn_driver_sequel/migration'

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sandthorn_driver_sequel-1.1.0 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.6 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.5 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.4 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.3 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.2 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.1 lib/sandthorn_driver_sequel.rb
sandthorn_driver_sequel-1.0.0 lib/sandthorn_driver_sequel.rb