Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Ruby Warnings #47

Merged
merged 2 commits into from
Dec 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 9 additions & 7 deletions lib/event_sourcery/postgres/config.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
module EventSourcery
module Postgres
class Config
attr_accessor :event_store_database,
:lock_table_to_guarantee_linear_sequence_id_growth,
attr_accessor :lock_table_to_guarantee_linear_sequence_id_growth,
:write_events_function_name,
:events_table_name,
:aggregates_table_name,
:tracker_table_name,
:callback_interval_if_no_new_events,
:auto_create_projector_tracker,
:event_tracker,
:projections_database,
:event_store,
:event_source,
:event_sink
:event_tracker

attr_writer :event_store,
:event_source,
:event_sink

attr_reader :event_store_database,
:projections_database

def initialize
@lock_table_to_guarantee_linear_sequence_id_growth = true
Expand Down
1 change: 1 addition & 0 deletions spec/event_sourcery/postgres/event_store_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
event_id = Integer(payload)
end
end
expect(event_id).not_to be_nil
end
end

Expand Down