[libtext-xslate-perl] 08/10: Add patch spelling-error-in-manpage.patch
Nick Morrott
nickm-guest at moszumanska.debian.org
Sun Mar 27 05:41:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
nickm-guest pushed a commit to branch master
in repository libtext-xslate-perl.
commit fa3daf9eba836160ca57d6f340f1c2a111538cd0
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date: Sun Mar 27 04:57:57 2016 +0100
Add patch spelling-error-in-manpage.patch
---
debian/patches/series | 1 +
debian/patches/spelling-error-in-manpage.patch | 69 ++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f7c4b35
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling-error-in-manpage.patch
diff --git a/debian/patches/spelling-error-in-manpage.patch b/debian/patches/spelling-error-in-manpage.patch
new file mode 100644
index 0000000..9024138
--- /dev/null
+++ b/debian/patches/spelling-error-in-manpage.patch
@@ -0,0 +1,69 @@
+Description: Correct spelling-error-in-manpage lintian warnings
+Author: Nick Morrott <knowledgejunkie at gmail.com>
+Bug: https://github.com/xslate/p5-Text-Xslate/pull/161
+Last-Update: 2016-03-27
+---
+--- a/lib/Text/Xslate/Bridge/Star.pm
++++ b/lib/Text/Xslate/Bridge/Star.pm
+@@ -153,7 +153,7 @@
+
+ =head2 C<rx($regex_pattern)>
+
+-Compiles I<$regex_patter> as a regular expression and return the regex object. You can pass a regex object to C<match()> or C<replace()> described bellow.
++Compiles I<$regex_patter> as a regular expression and return the regex object. You can pass a regex object to C<match()> or C<replace()> described below.
+ The same as C<qr//> operator in Perl.
+
+ =head2 C<match($str, $pattern)>
+--- a/lib/Text/Xslate/Manual/FAQ.pod
++++ b/lib/Text/Xslate/Manual/FAQ.pod
+@@ -87,7 +87,7 @@
+ For example, Text::Xslate assumes that most templates will be rendered to be
+ about the same as the previous run, so when a template is rendered it uses
+ the size allocated for the previous rendering as an approximation of how much
+-space the current rendering will require. This allows to greatly reduce the
++space the current rendering will require. This allows you to greatly reduce the
+ number of C<malloc()> calls required to render a template.
+
+ =back
+@@ -196,7 +196,7 @@
+ you to export any functions to templates. Any function-based modules
+ are available by the C<module> option.
+
+-Xslate also allows to call methods for object instances, so you can
++Xslate also allows you to call methods for object instances, so you can
+ use any object-oriented modules, except for classes which only provide
+ class methods (they need wrappers).
+
+--- a/script/xslate
++++ b/script/xslate
+@@ -31,7 +31,7 @@
+ --ie --input_encoding Input encoding (default: UTF-8)
+ -i --ignore Regular expression the process will ignore
+ -c --cache_dir Directory the cache files will be saved in
+- -o --dest Destination directry
++ -o --dest Destination directory
+ -w --verbose Warning level (default: 2)
+
+ # one liners, with $ARGV and $ENV
+--- a/lib/Text/Xslate/Runner.pm
++++ b/lib/Text/Xslate/Runner.pm
+@@ -141,7 +141,7 @@
+ );
+
+ has dest => (
+- documentation => 'Destination directry',
++ documentation => 'Destination directory',
+ cmd_aliases => [qw(o)],
+ is => 'ro',
+ isa => 'Str', # Maybe[Str]
+--- a/t/200_app/001_hello.t
++++ b/t/200_app/001_hello.t
+@@ -24,7 +24,7 @@
+
+ is $?, 0, "command executed successfully (1)";
+
+-ok -d CACHE_DIR, 'cache directry created';
++ok -d CACHE_DIR, 'cache directory created';
+
+ ok -f sprintf('%s/out/hello.txt', $Bin), 'correct file generated';
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-xslate-perl.git
More information about the Pkg-perl-cvs-commits
mailing list