Description: spelling mistake
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-08-30
Fowarded: https://github.com/mongodb/mongo-perl-driver/pull/137
Bug: https://jira.mongodb.org/browse/PERL-657

--- a/lib/MongoDB/Examples.pod
+++ b/lib/MongoDB/Examples.pod
@@ -346,7 +346,7 @@
 The C<$unwind> stage of the aggregation query "peels off" elements of the courses
 array one-by-one and places them in their own documents. After this phase completes,
 there is a separate document for each (course, student) pair. The C<$project> stage
-then throws out unecessary fields and keeps the ones we are interested in. It also
+then throws out unnecessary fields and keeps the ones we are interested in. It also
 pulls the student ID field out of its subdocument and creates a top-level field
 with the key C<student_id>. Last, we group by student ID, using C<$addToSet> in
 order to add the unique courses for each student to the C<courses> array.
--- a/lib/MongoDB/Collection.pm
+++ b/lib/MongoDB/Collection.pm
@@ -1878,7 +1878,7 @@
 
 =head2 Error handling
 
-Unless otherwise explictly documented, all methods throw exceptions if
+Unless otherwise explicitly documented, all methods throw exceptions if
 an error occurs.  The error types are documented in L<MongoDB::Error>.
 
 To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
@@ -2746,7 +2746,7 @@
 relationship that is purely notional.
 
 The C<ensure_index>, C<drop_indexes>, C<drop_index>, and C<get_index>
-methods are deprecated. The new L<MongoDB::IndexView> class is accessable
+methods are deprecated. The new L<MongoDB::IndexView> class is accessible
 through the C<indexes> method, and offer greater consistency in behavior
 across drivers.
 
--- a/lib/MongoDB/Database.pm
+++ b/lib/MongoDB/Database.pm
@@ -473,7 +473,7 @@
 
 =head2 Error handling
 
-Unless otherwise explictly documented, all methods throw exceptions if
+Unless otherwise explicitly documented, all methods throw exceptions if
 an error occurs.  The error types are documented in L<MongoDB::Error>.
 
 To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
--- a/lib/MongoDB/Error.pm
+++ b/lib/MongoDB/Error.pm
@@ -317,11 +317,11 @@
 
 =head1 DESCRIPTION
 
-This class defines a heirarchy of exception objects.
+This class defines a hierarchy of exception objects.
 
 =head1 USAGE
 
-Unless otherwise explictly documented, all driver methods throw exceptions if
+Unless otherwise explicitly documented, all driver methods throw exceptions if
 an error occurs.
 
 To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
--- a/lib/MongoDB/GridFS.pm
+++ b/lib/MongoDB/GridFS.pm
@@ -502,7 +502,7 @@
 
 =head2 Error handling
 
-Unless otherwise explictly documented, all methods throw exceptions if
+Unless otherwise explicitly documented, all methods throw exceptions if
 an error occurs.  The error types are documented in L<MongoDB::Error>.
 
 To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
--- a/lib/MongoDB/GridFS/File.pm
+++ b/lib/MongoDB/GridFS/File.pm
@@ -177,7 +177,7 @@
 
 =head2 Error handling
 
-Unless otherwise explictly documented, all methods throw exceptions if
+Unless otherwise explicitly documented, all methods throw exceptions if
 an error occurs.  The error types are documented in L<MongoDB::Error>.
 
 To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
--- a/lib/MongoDB/QueryResult.pm
+++ b/lib/MongoDB/QueryResult.pm
@@ -308,7 +308,7 @@
 #pod
 #pod =head2 Error handling
 #pod
-#pod Unless otherwise explictly documented, all methods throw exceptions if
+#pod Unless otherwise explicitly documented, all methods throw exceptions if
 #pod an error occurs.  The error types are documented in L<MongoDB::Error>.
 #pod
 #pod To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
@@ -363,7 +363,7 @@
 
 =head2 Error handling
 
-Unless otherwise explictly documented, all methods throw exceptions if
+Unless otherwise explicitly documented, all methods throw exceptions if
 an error occurs.  The error types are documented in L<MongoDB::Error>.
 
 To catch and handle errors, the L<Try::Tiny> and L<Safe::Isa> modules
--- a/lib/MongoDB/Upgrading.pod
+++ b/lib/MongoDB/Upgrading.pod
@@ -719,7 +719,7 @@
 longer support fetching directly from L<MongoDB::DBRef>; users will need to
 implement their own methods for dereferencing.
 
-Additonally, the C<db> attribute is now optional, consistent with the
+Additionally, the C<db> attribute is now optional, consistent with the
 specification for DBRefs.
 
 Also, all attributes (C<ref>, C<id> and C<db>) are now read-only,
@@ -766,7 +766,7 @@
 
 =item *
 
-ensure_index, drop_indexes, drop_index, get_index — A new L<MongoDB::IndexView> class is accessable through the C<indexes> method, offering greater consistency in behavior across drivers.
+ensure_index, drop_indexes, drop_index, get_index — A new L<MongoDB::IndexView> class is accessible through the C<indexes> method, offering greater consistency in behavior across drivers.
 
 =item *
 
--- a/lib/MongoDB/WriteConcern.pm
+++ b/lib/MongoDB/WriteConcern.pm
@@ -51,7 +51,7 @@
 #pod =attr wtimeout
 #pod
 #pod Specifies how long to wait for the write concern to be satisfied (in
-#pod milliseonds).  Defaults to 1000.
+#pod milliseconds).  Defaults to 1000.
 #pod
 #pod =cut
 
@@ -168,7 +168,7 @@
 =head2 wtimeout
 
 Specifies how long to wait for the write concern to be satisfied (in
-milliseonds).  Defaults to 1000.
+milliseconds).  Defaults to 1000.
 
 =head2 j
 
--- a/lib/MongoDB/DataTypes.pod
+++ b/lib/MongoDB/DataTypes.pod
@@ -354,7 +354,7 @@
 
 "OID" stands for "Object ID", and is a unique id for identifying documents.
 OIDs are 12 bytes, which are guaranteed to be unique.  Their string form is
-a 24-character string of hexidecimal digits.
+a 24-character string of hexadecimal digits.
 
 To create a unique id:
 
--- a/lib/MongoDB/OID.pm
+++ b/lib/MongoDB/OID.pm
@@ -38,7 +38,7 @@
 #pod =head2 value
 #pod
 #pod The OID value. A random value will be generated if none exists already.
-#pod It is a 24-character hexidecimal string (12 bytes).
+#pod It is a 24-character hexadecimal string (12 bytes).
 #pod
 #pod Its string representation is the 24-character string.
 #pod
@@ -85,7 +85,7 @@
 #pod
 #pod     my $hex = $oid->to_string;
 #pod
-#pod Gets the value of this OID as a 24-digit hexidecimal string.
+#pod Gets the value of this OID as a 24-digit hexadecimal string.
 #pod
 #pod =cut
 
@@ -183,7 +183,7 @@
 =head2 value
 
 The OID value. A random value will be generated if none exists already.
-It is a 24-character hexidecimal string (12 bytes).
+It is a 24-character hexadecimal string (12 bytes).
 
 Its string representation is the 24-character string.
 
@@ -193,7 +193,7 @@
 
     my $hex = $oid->to_string;
 
-Gets the value of this OID as a 24-digit hexidecimal string.
+Gets the value of this OID as a 24-digit hexadecimal string.
 
 =head2 get_time
 
--- a/lib/MongoDB/GridFSBucket.pm
+++ b/lib/MongoDB/GridFSBucket.pm
@@ -586,7 +586,7 @@
 
 =head2 Error handling
 
-Unless otherwise explictly documented, all methods throw exceptions if
+Unless otherwise explicitly documented, all methods throw exceptions if
 an error occurs.  The error types are documented in L<MongoDB::Error>.
 
 =head1 ATTRIBUTES
