From d40c31bb007a5447d8ba8547d4f4bd0e03ce3972 Mon Sep 17 00:00:00 2001 From: Jim Menard Date: Sat, 7 Feb 2009 14:36:08 -0500 Subject: [PATCH] comments --- lib/mongo/gridfs/chunk.rb | 2 -- lib/mongo/util/bson.rb | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/mongo/gridfs/chunk.rb b/lib/mongo/gridfs/chunk.rb index ca63cc1..5ac68d9 100644 --- a/lib/mongo/gridfs/chunk.rb +++ b/lib/mongo/gridfs/chunk.rb @@ -8,8 +8,6 @@ module XGen module GridFS # A chunk stores a portion of GridStore data. - # - # TODO: user-defined chunk size class Chunk DEFAULT_CHUNK_SIZE = 1024 * 256 diff --git a/lib/mongo/util/bson.rb b/lib/mongo/util/bson.rb index 7bdaf6d..c0e8af9 100644 --- a/lib/mongo/util/bson.rb +++ b/lib/mongo/util/bson.rb @@ -54,7 +54,7 @@ class BSON end else def self.to_utf8(str) - str # TODO punt for now + str # TODO Ruby 1.8 punt for now end end @@ -117,7 +117,7 @@ class BSON when UNDEFINED serialize_undefined_element(@buf, k) when CODE_W_SCOPE - # TODO + # TODO CODE_W_SCOPE unimplemented; may be removed raise "unimplemented type #{type}" else raise "unhandled type #{type}" @@ -177,7 +177,7 @@ class BSON key = deserialize_cstr(@buf) doc[key] = deserialize_binary_data(@buf) when CODE_W_SCOPE - # TODO + # TODO CODE_W_SCOPE unimplemented; may be removed raise "unimplemented type #{type}" when EOO break