app/models/journaled/writer.rb in journaled-2.0.3 vs app/models/journaled/writer.rb in journaled-2.1.0

- old
+ new

@@ -4,10 +4,10 @@ journaled_partition_key journaled_attributes journaled_app_name ).freeze - def initialize(journaled_event:, priority: Journaled::JobPriority::EVENTUAL) + def initialize(journaled_event:, priority:) raise "An enqueued event must respond to: #{EVENT_METHOD_NAMES.to_sentence}" unless respond_to_all?(journaled_event, EVENT_METHOD_NAMES) unless journaled_event.journaled_schema_name.present? && journaled_event.journaled_partition_key.present? && journaled_event.journaled_attributes.present?