lib/nanoc/base/source_data/layout.rb in nanoc-3.6.9 vs lib/nanoc/base/source_data/layout.rb in nanoc-3.6.10
- old
+ new
@@ -86,12 +86,10 @@
end
# @return [String] The checksum for this object. If its contents change,
# the checksum will change as well.
def checksum
- attributes = @attributes.dup
- attributes.delete(:file)
- @raw_content.checksum + ',' + attributes.checksum
+ Nanoc::Checksummer.calc(self)
end
memoize :checksum
def hash
self.class.hash ^ identifier.hash