From 62cb473d4407d700ff181e86d4b469329c3bca7a Mon Sep 17 00:00:00 2001 From: dima Date: Mon, 4 Dec 2023 20:42:23 +0000 Subject: [PATCH 1/2] Don't sent hash with indifferent access to Sidekiq --- lib/reactor/event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reactor/event.rb b/lib/reactor/event.rb index f607980..aea1e6b 100644 --- a/lib/reactor/event.rb +++ b/lib/reactor/event.rb @@ -39,7 +39,7 @@ def perform(name, data) if need_to_fire data.merge!(fired_at: Time.current.to_s, name: name) - fire_block_subscribers(data, name) + fire_block_subscribers(data.to_hash, name) end end From de6e3236a694874bf249afa9c9e821a701896281 Mon Sep 17 00:00:00 2001 From: dima Date: Mon, 4 Dec 2023 20:44:26 +0000 Subject: [PATCH 2/2] Bump version --- lib/reactor/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reactor/version.rb b/lib/reactor/version.rb index 63f23b8..b5d8241 100644 --- a/lib/reactor/version.rb +++ b/lib/reactor/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Reactor - VERSION = '2.1.0' + VERSION = '2.1.1' end