lib/arborist/event/node.rb in arborist-0.3.0 vs lib/arborist/event/node.rb in arborist-0.4.0

- old
+ new

@@ -39,12 +39,13 @@ ### Inject useful node metadata into the generated hash. def to_h return super.merge( - identifier: self.node.identifier, - parent: self.node.parent, - nodetype: self.node.type + identifier: self.node.identifier, + parent: self.node.parent, + nodetype: self.node.type, + flapping: self.node.flapping? ) end end # module Arborist::Event::NodeMatching