lib/nanoc/base/repos/aggregate_data_source.rb in nanoc-4.8.10 vs lib/nanoc/base/repos/aggregate_data_source.rb in nanoc-4.8.11
- old
+ new
@@ -20,7 +20,15 @@
@_layouts ||= begin
objs = @data_sources.flat_map(&:layouts)
Nanoc::Int::LayoutCollection.new(@config, objs)
end
end
+
+ def item_changes
+ SlowEnumeratorTools.merge(@data_sources.map(&:item_changes))
+ end
+
+ def layout_changes
+ SlowEnumeratorTools.merge(@data_sources.map(&:layout_changes))
+ end
end
end