1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|storage|test] Track if the version is the latest or not.

This commit is contained in:
Kevin Menard 2011-12-07 10:41:51 -05:00
parent d53f2409b0
commit f9de06b603

View file

@ -93,7 +93,7 @@ module Fog
'LastModified' => Time.parse(object['Last-Modified']),
'Owner' => bucket['Owner'],
'Size' => object['Content-Length'].to_i,
'IsLatest' => true
'IsLatest' => object == bucket[:objects][object['Key']].last
})
data
end