[libdbix-searchbuilder-perl] 05/10: Add 01-spelling-error-in-manpage.patch

Nick Morrott nickm-guest at moszumanska.debian.org
Sun Aug 7 01:34:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libdbix-searchbuilder-perl.

commit d8f88b8b4e0d6d60384105f9969e692feea5ef92
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date:   Sat Aug 6 23:48:55 2016 +0100

    Add 01-spelling-error-in-manpage.patch
---
 debian/patches/01-spelling-error-in-manpage.patch | 91 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 92 insertions(+)

diff --git a/debian/patches/01-spelling-error-in-manpage.patch b/debian/patches/01-spelling-error-in-manpage.patch
new file mode 100644
index 0000000..cc42276
--- /dev/null
+++ b/debian/patches/01-spelling-error-in-manpage.patch
@@ -0,0 +1,91 @@
+Description: Correct spelling errors in manpages
+Author: Nick Morrott <knowledgejunkie at gmail.com>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=116765
+Last-Update: 2016-08-07
+---
+--- a/lib/DBIx/SearchBuilder.pm
++++ b/lib/DBIx/SearchBuilder.pm
+@@ -812,7 +812,7 @@
+ 
+ Example:
+ 
+-Suppose you want to create Limit statments which would produce results
++Suppose you want to create Limit statements which would produce results
+ the same as the following SQL:
+ 
+    SELECT * FROM Users WHERE EmailAddress OR Name OR RealName OR Email LIKE $query;
+--- a/lib/DBIx/SearchBuilder/Handle.pm
++++ b/lib/DBIx/SearchBuilder/Handle.pm
+@@ -816,7 +816,7 @@
+ If there is no transaction in progress then method throw
+ warning unless action is forced.
+ 
+-Method returns true on success or false if error occured.
++Method returns true on success or false if error occurred.
+ 
+ =cut
+ 
+--- a/lib/DBIx/SearchBuilder/Record.pm
++++ b/lib/DBIx/SearchBuilder/Record.pm
+@@ -139,7 +139,7 @@
+ 
+ =back
+ 
+-And really, thats it.  So lets have some sample code.
++And really, that's it.  So lets have some sample code.
+ 
+ =head2 An Annotated Example
+ 
+@@ -199,7 +199,7 @@
+ 
+ Here we set our handle and table name, while its not obvious so far, we'll 
+ see later that $handle (line: 006) gets passed via ::Record::new when a 
+-new instance is created.  Thats actually an important concept, the DB handle 
++new instance is created.  That's actually an important concept, the DB handle 
+ is not bound to a single object but rather, its shared across objects. 
+ 
+   013: 
+@@ -286,12 +286,12 @@
+   015: print "Foo : ", $s->Foo(), "\n";
+   016: print "Bar : ", $s->Bar(), "\n";
+ 
+-Thats all you have to to get the data, now to change the data!
++That's all you have to to get the data, now to change the data!
+ 
+   017:
+   018: $s->SetBar('NewBar');
+ 
+-Pretty simple! Thats really all there is to it.  Set<Field>($) returns 
++Pretty simple! That's really all there is to it.  Set<Field>($) returns 
+ a boolean and a string describing the problem.  Lets look at an example of
+ what will happen if we try to set a 'Id' which we previously defined as 
+ read only. 
+@@ -331,7 +331,7 @@
+ 
+ And its gone. 
+ 
+-For simple use, thats more or less all there is to it.  In the future, I hope to exapand 
++For simple use, that's more or less all there is to it.  In the future, I hope to exapand 
+ this HowTo to discuss using container classes,  overloading, and what 
+ ever else I think of.
+ 
+@@ -1024,7 +1024,7 @@
+ current column value as argument. It uses the array reference as
+ the object constructor's arguments.
+ Subclasses can override _Object to insert custom access control or
+-define default contructor arguments.
++define default constructor arguments.
+ 
+ Note that if you are using a C<Schema> with a C<REFERENCES> field, 
+ this is unnecessary: the method to access the column's value will
+--- a/lib/DBIx/SearchBuilder/SchemaGenerator.pm
++++ b/lib/DBIx/SearchBuilder/SchemaGenerator.pm
+@@ -88,7 +88,7 @@
+ 
+ =for public_doc CreateTableSQLText
+ 
+-Returns a string containg a sequence of SQL statements to create tables for all of
++Returns a string containing a sequence of SQL statements to create tables for all of
+ the models added to the SchemaGenerator.
+ 
+ =cut
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..91842c8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-spelling-error-in-manpage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbix-searchbuilder-perl.git



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