From f6a8f6c001d89c4a3344c9a79b5a86441b0a4b55 Mon Sep 17 00:00:00 2001 From: vaughan britton Date: Thu, 13 Sep 2018 17:20:37 +0100 Subject: [PATCH 1/4] prevent args context from being nil even if passed as nil into constructor --- lib/eventq/eventq_base/message_args.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eventq/eventq_base/message_args.rb b/lib/eventq/eventq_base/message_args.rb index 854743a..43d7997 100644 --- a/lib/eventq/eventq_base/message_args.rb +++ b/lib/eventq/eventq_base/message_args.rb @@ -14,7 +14,7 @@ def initialize(type:, retry_attempts:, context: {}, content_type:, id: nil, sent @retry_attempts = retry_attempts @abort = false @drop = false - @context = context + @context = context || {} @content_type = content_type @id = id @sent = sent From 1febb57e528c62d4279c5f686d6bebd5b6b3030e Mon Sep 17 00:00:00 2001 From: vaughan britton Date: Thu, 13 Sep 2018 17:34:12 +0100 Subject: [PATCH 2/4] update gem version --- EVENTQ_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EVENTQ_VERSION b/EVENTQ_VERSION index 227cea2..38f77a6 100644 --- a/EVENTQ_VERSION +++ b/EVENTQ_VERSION @@ -1 +1 @@ -2.0.0 +2.0.1 From 524d0c6eea8c1087067f4baabd785a2d66f56d58 Mon Sep 17 00:00:00 2001 From: vaughan britton Date: Thu, 13 Sep 2018 17:35:14 +0100 Subject: [PATCH 3/4] update gem version --- EVENTQ_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EVENTQ_VERSION b/EVENTQ_VERSION index 38f77a6..227cea2 100644 --- a/EVENTQ_VERSION +++ b/EVENTQ_VERSION @@ -1 +1 @@ -2.0.1 +2.0.0 From b126911f6b2543a2bdfe84de153c50e9b458147e Mon Sep 17 00:00:00 2001 From: vaughan britton Date: Thu, 13 Sep 2018 17:35:32 +0100 Subject: [PATCH 4/4] update gem version --- EVENTQ_VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EVENTQ_VERSION b/EVENTQ_VERSION index 227cea2..38f77a6 100644 --- a/EVENTQ_VERSION +++ b/EVENTQ_VERSION @@ -1 +1 @@ -2.0.0 +2.0.1