From 95e75995f61beafa8ffd9687ee8c3bc1cff14359 Mon Sep 17 00:00:00 2001 From: Jim Menard Date: Wed, 17 Dec 2008 11:49:06 -0500 Subject: [PATCH] Doc tweaks --- README.rdoc | 2 +- lib/mongo/collection.rb | 4 ++-- lib/mongo/cursor.rb | 4 ++-- lib/mongo/db.rb | 4 ++-- lib/mongo/mongo.rb | 4 ++-- lib/mongo/objectid.rb | 4 ++-- lib/mongo/query.rb | 4 ++-- lib/mongo/util/bson.rb | 4 ++-- lib/mongo/util/byte_buffer.rb | 4 ++-- lib/mongo/util/ordered_hash.rb | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.rdoc b/README.rdoc index deeb716..39294d7 100644 --- a/README.rdoc +++ b/README.rdoc @@ -107,5 +107,5 @@ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. -See http://www.gnu.org/licenses/ for a copy of the GNU Affero General Public +See http://www.gnu.org/licenses for a copy of the GNU Affero General Public License. diff --git a/lib/mongo/collection.rb b/lib/mongo/collection.rb index 715aaaa..372d0ec 100644 --- a/lib/mongo/collection.rb +++ b/lib/mongo/collection.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'mongo/query' diff --git a/lib/mongo/cursor.rb b/lib/mongo/cursor.rb index 8156c32..2227eda 100644 --- a/lib/mongo/cursor.rb +++ b/lib/mongo/cursor.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'mongo/message' require 'mongo/util/byte_buffer' diff --git a/lib/mongo/db.rb b/lib/mongo/db.rb index 63274b1..40332d1 100644 --- a/lib/mongo/db.rb +++ b/lib/mongo/db.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'socket' require 'mongo/mongo' diff --git a/lib/mongo/mongo.rb b/lib/mongo/mongo.rb index 654effd..663fc23 100644 --- a/lib/mongo/mongo.rb +++ b/lib/mongo/mongo.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'mongo/db' diff --git a/lib/mongo/objectid.rb b/lib/mongo/objectid.rb index 0b30115..90ccba8 100644 --- a/lib/mongo/objectid.rb +++ b/lib/mongo/objectid.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'mutex_m' require 'mongo/util/byte_buffer' diff --git a/lib/mongo/query.rb b/lib/mongo/query.rb index 5309c00..99dc99c 100644 --- a/lib/mongo/query.rb +++ b/lib/mongo/query.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'socket' require 'mongo/collection' diff --git a/lib/mongo/util/bson.rb b/lib/mongo/util/bson.rb index 87dff7d..6c22ea9 100644 --- a/lib/mongo/util/bson.rb +++ b/lib/mongo/util/bson.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ require 'mongo/util/byte_buffer' require 'mongo/util/ordered_hash' diff --git a/lib/mongo/util/byte_buffer.rb b/lib/mongo/util/byte_buffer.rb index 675f8ba..67d698d 100644 --- a/lib/mongo/util/byte_buffer.rb +++ b/lib/mongo/util/byte_buffer.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ # A byte buffer. class ByteBuffer diff --git a/lib/mongo/util/ordered_hash.rb b/lib/mongo/util/ordered_hash.rb index af402ce..3ef0747 100644 --- a/lib/mongo/util/ordered_hash.rb +++ b/lib/mongo/util/ordered_hash.rb @@ -1,4 +1,4 @@ -# --- +# -- # Copyright (C) 2008 10gen Inc. # # This program is free software: you can redistribute it and/or modify it @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -# +++ +# ++ # A hash in which the order of keys are preserved. class OrderedHash < Hash