Module: RubyEventStore

Defined in:
lib/ruby_event_store/event.rb,
lib/ruby_event_store/client.rb,
lib/ruby_event_store/errors.rb,
lib/ruby_event_store/stream.rb,
lib/ruby_event_store/version.rb,
lib/ruby_event_store/constants.rb,
lib/ruby_event_store/projection.rb,
lib/ruby_event_store/deprecations.rb,
lib/ruby_event_store/pub_sub/broker.rb,
lib/ruby_event_store/mappers/default.rb,
lib/ruby_event_store/serialized_record.rb,
lib/ruby_event_store/pub_sub/dispatcher.rb,
lib/ruby_event_store/in_memory_repository.rb

Defined Under Namespace

Modules: Mappers, PubSub Classes: Client, Event, EventNotFound, InMemoryRepository, InvalidHandler, Projection, SerializedRecord, Stream

Constant Summary collapse

WrongExpectedEventVersion =
Class.new(StandardError)
InvalidExpectedVersion =
Class.new(StandardError)
IncorrectStreamData =
Class.new(StandardError)
SubscriberNotExist =
Class.new(StandardError)
InvalidPageStart =
Class.new(ArgumentError)
InvalidPageSize =
Class.new(ArgumentError)
EventDuplicatedInStream =
Class.new(StandardError)
NotSupported =
Class.new(StandardError)
VERSION =
"0.25.2"
GLOBAL_STREAM =
'all'.freeze
PAGE_SIZE =
100.freeze

Class Method Summary collapse

Class Method Details

.const_missing(const_name) ⇒ Object



2
3
4
5
6
# File 'lib/ruby_event_store/deprecations.rb', line 2

def self.const_missing(const_name)
  super unless const_name == :MethodNotDefined
  warn "`RubyEventStore::MethodNotDefined` has been deprecated. Use `RubyEventStore::InvalidHandler` instead."
  InvalidHandler
end