lib/nanoc/base/repos/checksum_store.rb in nanoc-4.7.11 vs lib/nanoc/base/repos/checksum_store.rb in nanoc-4.7.12

- old
+ new

@@ -29,9 +29,12 @@ contract c_obj => self def add(obj) if obj.is_a?(Nanoc::Int::Document) @checksums[[obj.reference, :content]] = Nanoc::Int::Checksummer.calc_for_content_of(obj) + end + + if obj.is_a?(Nanoc::Int::Document) || obj.is_a?(Nanoc::Int::Configuration) @checksums[[obj.reference, :each_attribute]] = Nanoc::Int::Checksummer.calc_for_each_attribute_of(obj) end @checksums[obj.reference] = Nanoc::Int::Checksummer.calc(obj)