lib/nanoc/base/entities/outdatedness_status.rb in nanoc-4.7.3 vs lib/nanoc/base/entities/outdatedness_status.rb in nanoc-4.7.4
- old
+ new
@@ -8,10 +8,10 @@
@reasons = reasons
@props = props
end
def useful_to_apply?(rule)
- (rule.instance.reason.props.active - @props.active).any?
+ (rule.affected_props - @props.active).any?
end
def update(reason)
self.class.new(
reasons: @reasons + [reason],