[libdbix-class-helpers-perl] 06/08: Add a patch and a lintian override for spelling mistakes.

gregor herrmann gregoa at debian.org
Sun Jul 24 15:40:02 UTC 2016


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

gregoa pushed a commit to branch master
in repository libdbix-class-helpers-perl.

commit 015083c13d18f0f8cc6501c7f5f6f631ab061037
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jul 24 17:37:24 2016 +0200

    Add a patch and a lintian override for spelling mistakes.
---
 .../libdbix-class-helpers-perl.lintian-overrides   |  2 +
 debian/patches/series                              |  1 +
 debian/patches/spelling.patch                      | 60 ++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/debian/libdbix-class-helpers-perl.lintian-overrides b/debian/libdbix-class-helpers-perl.lintian-overrides
new file mode 100644
index 0000000..f3f57ca
--- /dev/null
+++ b/debian/libdbix-class-helpers-perl.lintian-overrides
@@ -0,0 +1,2 @@
+# name of a method
+libdbix-class-helpers-perl: spelling-error-in-manpage usr/share/man/man3/DBIx::Class::Helper::ResultSet::DateMethods1.3pm.gz millenium millennium
diff --git a/debian/patches/series b/debian/patches/series
index 30ac1e7..5e831e7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix-a-strictness-error-in-a-deprecated-module.patch
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..4ddfa35
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,60 @@
+Description: spelling fixes
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-07-24
+Forwarded: https://github.com/frioux/DBIx-Class-Helpers/issues/71
+Bug: https://github.com/frioux/DBIx-Class-Helpers/issues/71
+
+--- a/lib/DBIx/Class/Helper/Row/OnColumnChange.pm
++++ b/lib/DBIx/Class/Helper/Row/OnColumnChange.pm
+@@ -227,7 +227,7 @@
+ in as the $old_value.  Also note the C<txn_wrap> option.  This allows you to
+ specify that you want the call to C<update> and the call to the method you
+ requested to be wrapped in a transaction.  If you end up calling more than
+-one method due to multple column change methods and more than one specify
++one method due to multiple column change methods and more than one specify
+ C<txn_wrap> it will still only wrap once.
+ 
+ I've gone to great lengths to ensure that order is preserved, so C<before>
+--- a/lib/DBIx/Class/Helper/Row/RelationshipDWIM.pm
++++ b/lib/DBIx/Class/Helper/Row/RelationshipDWIM.pm
+@@ -75,7 +75,7 @@
+ 
+  # Define various class bits here
+ 
+- # succint relationship definition yeah!
++ # succinct relationship definition yeah!
+ 
+  __PACKAGE__->has_many(friends => '::Person', 'foo_id');
+ 
+--- a/lib/DBIx/Class/Helper/Schema/Verifier.pm
++++ b/lib/DBIx/Class/Helper/Schema/Verifier.pm
+@@ -90,7 +90,7 @@
+ 
+ =head1 DESCRIPTION
+ 
+-C<DBIx::Class::Helper::Schema::Verifier> is a miniscule framework to assist in
++C<DBIx::Class::Helper::Schema::Verifier> is a minuscule framework to assist in
+ creating schemata that are to your very own exacting specifications.  It is
+ inspired by my own travails in discovering that C<< use mro 'c3' >> is both
+ required and barely documented in much Perl code.  As time goes by I expect to
+@@ -110,7 +110,7 @@
+ 
+ Initially I kept this module simple, but after using it in production at
+ L<ZipRecruiter|https://www.ziprecruiter.com> I found that showing the user the
+-first error that occured and then giving up was pretty annoying.  Now
++first error that occurred and then giving up was pretty annoying.  Now
+ C<Schema::Verifier> wraps both L<DBIx::Class::Schema/load_namespaces> and
+ L<DBIx::Class::Schema/load_classes> and shows all the exceptions encoutered as a
+ list at the end of loading all the results.
+--- a/lib/DBIx/Class/Helper/Schema/Verifier/ColumnInfo.pm
++++ b/lib/DBIx/Class/Helper/Schema/Verifier/ColumnInfo.pm
+@@ -113,7 +113,7 @@
+ It's entirely possible that you would like to use some non-default config keys,
+ especially if you use some column-extension components. Override this method in
+ your schema and append your new keys to the list returned by the superclass
+-call.  The overriden method must return a list of keys.
++call.  The overridden method must return a list of keys.
+ 
+  sub allowed_column_keys {
+    my $self = shift;

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



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