File: spelling.patch

package info (click to toggle)
libmongodb-perl 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,004 kB
  • ctags: 2,932
  • sloc: perl: 12,511; ansic: 9,566; makefile: 22
file content (207 lines) | stat: -rw-r--r-- 7,315 bytes parent folder | download
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
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