Sha256: 5fbd0c402ad94698f985007dc8ef9e5931358d7d0888c93a6aa50bbeb13b0f3a

Contents?: true

Size: 760 Bytes

Versions: 10

Compression:

Stored size: 760 Bytes

Contents

require_relative 'database_events/event'
require_relative 'database_events/synchronizer'
require_relative 'database_events/event_store'
require_relative 'database_events/manager'

# TERMINOLOGY
#
# For clarity, we have chosen to define terms as follows for better communication in the code, and when 
# discussing the database event implementation.
#
# "Event":      "Native" Clockwork events, whether Clockwork::Event or Clockwork::DatabaseEvents::Event
# "Model":      Database-backed model instances representing events to be created in Clockwork

module Clockwork

  module Methods
    def sync_database_events(options={}, &block)
      DatabaseEvents::Synchronizer.setup(options, &block)
    end
  end

  extend Methods

  module DatabaseEvents
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
clockwork-3.0.2 lib/clockwork/database_events.rb
clockwork-3.0.1 lib/clockwork/database_events.rb
clockwork-3.0.0 lib/clockwork/database_events.rb
clockwork-2.0.4 lib/clockwork/database_events.rb
clockwork-2.0.3 lib/clockwork/database_events.rb
clockwork-2.0.2 lib/clockwork/database_events.rb
clockwork-2.0.1 lib/clockwork/database_events.rb
clockwork-1.3.1 lib/clockwork/database_events.rb
clockwork-1.3.0 lib/clockwork/database_events.rb
clockwork-2.0.0 lib/clockwork/database_events.rb