1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
Description: Fix spelling in pod doc
Author: dod
--- a/lib/MongoDBx/Class.pm
+++ b/lib/MongoDBx/Class.pm
@@ -197,7 +197,7 @@
=over
-=item * MongoDBx::Class's flexibility is dependant on its ability to recognize
+=item * MongoDBx::Class's flexibility is dependent on its ability to recognize
which class a document in a MongoDB collection expands to. Currently,
MongoDBx::Class requires every document to have an attribute called "_class"
that contains the name of the document class to use. This isn't very
--- a/lib/MongoDBx/Class/ConnectionPool.pm
+++ b/lib/MongoDBx/Class/ConnectionPool.pm
@@ -51,7 +51,7 @@
number of connections as a setting. Give connections from the pool on a per-request
basis. The pool is empty at first, and connections are created for each
request, until the maximum is reached. The behaviour of the pool when this
-maximum is reached is dependant on the implementation. There are currently
+maximum is reached is dependent on the implementation. There are currently
two implementations:
=over
--- a/lib/MongoDBx/Class/Document.pm
+++ b/lib/MongoDBx/Class/Document.pm
@@ -125,7 +125,7 @@
=head2 update( [ \%object, [ \%options ] ] )
Saves a new version of the document to the database. The behavior of this
-method is dependant on the existance or non-existance of an object hash-ref:
+method is dependent on the existance or non-existance of an object hash-ref:
If an object hash-ref is provided, all of its key-value pairs are collapsed,
and a C<$set> update is performed on them. For example:
@@ -200,7 +200,7 @@
Both methods are equivalent. They are shortcut methods for invoking the
collection's C<remove()> method on this document only. So, umm, they remove
the document. But note that this operation does not cascade, so documents
-which are considered dependant on this document (such as those that reference
+which are considered dependent on this document (such as those that reference
it with C<belongs_to>) will not be removed too.
=cut
--- a/lib/MongoDBx/Class/Cursor.pm
+++ b/lib/MongoDBx/Class/Cursor.pm
@@ -44,7 +44,7 @@
=head1 OBJECT METHODS
-Aside from methods provided by L<MonogDB::Cursor>, the following method
+Aside from methods provided by L<MongoDB::Cursor>, the following method
modifications are performed:
=head2 next( [ $do_not_expand ] )
|