lib/trifle/docs/harvester/file.rb in trifle-docs-0.2.0 vs lib/trifle/docs/harvester/file.rb in trifle-docs-0.3.0
- old
+ new
@@ -20,10 +20,11 @@
end
def meta
{
'path' => file,
- 'type' => 'file'
+ 'type' => 'file',
+ 'updated_at' => ::File.stat(file).mtime
}
end
end
end
end