lib/reactor/models/concerns/subscribable.rb in reactor-0.9.6 vs lib/reactor/models/concerns/subscribable.rb in reactor-0.9.7
- old
+ new
@@ -26,10 +26,12 @@
def perform(data)
return :__perform_aborted__ if dont_perform && !Reactor::TEST_MODE_SUBSCRIBERS.include?(source)
event = Reactor::Event.new(data)
if method.is_a?(Symbol)
- source.delay_for(delay).send(method, event)
+ ActiveSupport::Deprecation.silence do
+ source.delay_for(delay).send(method, event)
+ end
else
method.call(event)
end
end