[libhtml-microformats-perl] 07/09: Add the 01-typos patch to fix a couple of errors.
Peter Pentchev
roam at ringlet.net
Fri May 1 13:38:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
roam-guest pushed a commit to branch master
in repository libhtml-microformats-perl.
commit b315f83e7a35e7988c4e17519e15f20d871e5439
Author: Peter Pentchev <roam at ringlet.net>
Date: Wed Apr 29 18:57:15 2015 +0300
Add the 01-typos patch to fix a couple of errors.
---
debian/patches/01-typos.patch | 92 +++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 93 insertions(+)
diff --git a/debian/patches/01-typos.patch b/debian/patches/01-typos.patch
new file mode 100644
index 0000000..79c7aa6
--- /dev/null
+++ b/debian/patches/01-typos.patch
@@ -0,0 +1,92 @@
+Description: Fix a couple of typographical and grammatical errors.
+Forwarded: not yet
+Author: Peter Pentchev <roam at ringlet.net>
+Last-Update: 2015-05-01
+
+--- a/README
++++ b/README
+@@ -56,7 +56,7 @@
+
+ "$doc->add_profile(@profiles)"
+ Using "add_profile" you can add one or more profile URIs, and they
+- are treated as if they were found on the document.
++ are treated as if they were found in the document.
+
+ For example:
+
+@@ -100,7 +100,7 @@
+ "$doc->clear_microformats"
+ Forgets information gleaned by "parse_microformats" and thus allows
+ "parse_microformats" to be run again. This is useful if you've
+- modified added some profiles between runs of "parse_microformats".
++ modified or added some profiles between runs of "parse_microformats".
+
+ Returns a reference to the document.
+
+@@ -115,7 +115,7 @@
+ context, returns an arrayref.)
+
+ Each object is, for example, an HTML::Microformat::hCard object, or
+- an HTML::Microformat::RelTag object, etc. See the relevent
++ an HTML::Microformat::RelTag object, etc. See the relevant
+ documentation for details.
+
+ "$doc->all_objects"
+@@ -124,7 +124,7 @@
+ arrayrefs of objects.
+
+ Each object is, for example, an HTML::Microformat::hCard object, or
+- an HTML::Microformat::RelTag object, etc. See the relevent
++ an HTML::Microformat::RelTag object, etc. See the relevant
+ documentation for details.
+
+ "$doc->json(%opts)"
+--- a/lib/HTML/Microformats.pm
++++ b/lib/HTML/Microformats.pm
+@@ -283,7 +283,7 @@
+ =item C<< $doc->add_profile(@profiles) >>
+
+ Using C<add_profile> you can add one or more profile URIs, and they are
+-treated as if they were found on the document.
++treated as if they were found in the document.
+
+ For example:
+
+@@ -336,7 +336,7 @@
+
+ Forgets information gleaned by C<parse_microformats> and thus allows
+ C<parse_microformats> to be run again. This is useful if you've modified
+-added some profiles between runs of C<parse_microformats>.
++or added some profiles between runs of C<parse_microformats>.
+
+ Returns a reference to the document.
+
+@@ -357,7 +357,7 @@
+ returns an arrayref.)
+
+ Each object is, for example, an HTML::Microformat::hCard object, or an
+-HTML::Microformat::RelTag object, etc. See the relevent documentation
++HTML::Microformat::RelTag object, etc. See the relevant documentation
+ for details.
+
+ =item C<< $doc->all_objects >>
+@@ -366,7 +366,7 @@
+ (e.g. 'hCard', 'RelTag', etc), and the values are arrayrefs of objects.
+
+ Each object is, for example, an HTML::Microformat::hCard object, or an
+-HTML::Microformat::RelTag object, etc. See the relevent documentation
++HTML::Microformat::RelTag object, etc. See the relevant documentation
+ for details.
+
+ =item C<< $doc->json(%opts) >>
+--- a/lib/HTML/Microformats/Datatype/Duration.pm
++++ b/lib/HTML/Microformats/Datatype/Duration.pm
+@@ -160,7 +160,7 @@
+ # Standard=ISO-8601.
+ if ($string2 =~ /^
+ \s*
+- ([\+\-])? # Potentially negitive...
++ ([\+\-])? # Potentially negative...
+ P # Period of...
+ (?:([\d\.]*)Y)? # n Years
+ (?:([\d\.]*)M)? # n Months
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..13e6418
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-typos.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-microformats-perl.git
More information about the Pkg-perl-cvs-commits
mailing list