envato / event_sourcery

A library for building event sourced applications in Ruby
MIT License
84 stars 10 forks source link

Resolve Ruby warnings #189

Closed orien closed 6 years ago

orien commented 6 years ago

Ruby produces several warnings while running our test suite: https://travis-ci.org/envato/event_sourcery/jobs/322691568

This change set resolves these warnings:

event_sourcery/lib/event_sourcery/memory/config.rb:13: warning: method redefined; discarding old event_store
event_sourcery/lib/event_sourcery/memory/config.rb:17: warning: method redefined; discarding old event_source
event_sourcery/lib/event_sourcery/memory/config.rb:21: warning: method redefined; discarding old event_sink
event_sourcery/spec/event_sourcery/event_processing/esp_runner_spec.rb:104: warning: instance variable @stop_process not initialized
event_sourcery/lib/event_sourcery/event_processing/error_handlers/exponential_backoff_retry.rb:36: warning: instance variable @error_event_uuid not initialized
event_sourcery/lib/event_sourcery/config.rb:57: warning: instance variable @event_builder not initialized
event_sourcery/lib/event_sourcery/event_processing/event_stream_processor.rb:83: warning: instance variable @processes_event_types not initialized