lib/reactor/event.rb in reactor-0.9.9 vs lib/reactor/event.rb in reactor-0.10.0

- old
+ new

@@ -52,10 +52,10 @@ def perform(name, data) new.perform(name, data) end def publish(name, data = {}) - message = new(data.merge(event: name)) + message = new(data.merge(event: name, uuid: SecureRandom.uuid)) if message.at perform_at message.at, name, message.data else perform_async name, message.data