lib/nanoc3/data_sources/filesystem.rb in nanoc3-3.2.0a1 vs lib/nanoc3/data_sources/filesystem.rb in nanoc3-3.2.0a2

- old
+ new

@@ -121,18 +121,13 @@ mtime = content_mtime else raise RuntimeError, "meta_mtime and content_mtime are both nil" end - # Get checksum - meta_checksum = meta_filename ? Nanoc3::Checksummer.checksum_for(meta_filename) : nil - content_checksum = content_filename ? Nanoc3::Checksummer.checksum_for(content_filename) : nil - checksum = [ meta_checksum, content_checksum ].compact.join('-') - # Create layout object klass.new( content_or_filename, attributes, identifier, - :binary => is_binary, :mtime => mtime, :checksum => checksum + :binary => is_binary, :mtime => mtime ) end end # Finds all items/layouts/... in the given base directory. Returns a hash