[SCM] Debian packaging of MongoDBx-Class CPAN distribution branch, master, updated. acc5e5c3165576fdde9513b65295eb55389b3826

Dominique Dumont dod at debian.org
Sun Oct 14 13:56:02 UTC 2012


The following commit has been merged in the master branch:
commit acc5e5c3165576fdde9513b65295eb55389b3826
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Oct 14 15:52:31 2012 +0200

    patch to fix spelling mistakes

diff --git a/debian/patches/fix-spelling b/debian/patches/fix-spelling
new file mode 100644
index 0000000..a6dfd46
--- /dev/null
+++ b/debian/patches/fix-spelling
@@ -0,0 +1,44 @@
+Description: Fix spelling in pod doc
+Author: dod
+--- a/lib/MongoDBx/Class.pm
++++ b/lib/MongoDBx/Class.pm
+@@ -195,7 +195,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
diff --git a/debian/patches/series b/debian/patches/series
index 247a260..15db257 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-spelling
 fix-cursor-expand-bug
 fix-pod-typo

-- 
Debian packaging of MongoDBx-Class CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list