lib/apis/filesystem_api.rb in daftos-0.4.0 vs lib/apis/filesystem_api.rb in daftos-0.4.1
- old
+ new
@@ -62,10 +62,10 @@
ret[:is_dir] = false
ret[:bytes] = file.size
ret[:client_mtime] = file.mtime
ret[:modified] = file.ctime
ret[:mime_type] = Rack::Mime.mime_type("." + file.path.split('.').last)
- ret[:binary] = File.binary?(ret[:absolute_path])
+ #ret[:binary] = File.binary?(ret[:absolute_path])
ret
end
end