lib/arborist/observer_runner.rb in arborist-0.5.0 vs lib/arborist/observer_runner.rb in arborist-0.6.0

- old
+ new

@@ -168,10 +168,11 @@ ### Add the specified +observer+ and subscribe to the events it wishes to receive. def add_observer( observer ) self.log.info "Adding observer: %s" % [ observer.description ] observer.subscriptions.each do |sub| - subid = self.client.subscribe( sub ) + self.log.debug "HI: %p" % [ sub ] + subid = self.client.subscribe( **sub ) self.subscriptions[ subid ] = observer self.client.event_api.subscribe( subid ) self.log.debug " subscribed to %p with subscription %s" % [ sub, subid ] end end