[libtree-simple-perl] 12/13: Add a patch to fix a spelling mistake.

gregor herrmann gregoa at debian.org
Fri Nov 8 23:19:33 UTC 2013


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

gregoa pushed a commit to branch master
in repository libtree-simple-perl.

commit d5de9a7b96d58c27e58fad427534c55a103af3e4
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Nov 9 00:16:09 2013 +0100

    Add a patch to fix a spelling mistake.
---
 debian/patches/series         |    1 +
 debian/patches/spelling.patch |   86 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..50e305c
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,86 @@
+Description: fix a spelling mistake
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=90171
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=90171
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-11-09
+
+--- a/Changelog.ini
++++ b/Changelog.ini
+@@ -207,7 +207,7 @@
+ both $child and an $index, and do the right thing
+ based upon which one was given. This of course
+ is how it works anyway since I maintained backwards
+-compatability. But take note, removeChildAt($index)
++compatibility. But take note, removeChildAt($index)
+ will not be supported. The method is still there,
+ but it will very soon go away.
+ I think this is a cleaner way to do this in the end.
+@@ -220,9 +220,9 @@
+ - removeChild($index) is now removeChildAt($index)
+ and removeChild($child) has replaced it. See the
+ documentation for more info.
+-- backwards compatability maintained under change.
++- backwards compatibility maintained under change.
+ - new tests written to test the new code and to
+-test the backwards compatability
++test the backwards compatibility
+ - Test suite is not at 99% coverage (with 415 tests)
+ - Moved object initialization code from Tree::Simple::Visitor::new
+ to Tree::Simple::Visitor::_init. This keeps in line with the
+--- a/Changes
++++ b/Changes
+@@ -148,7 +148,7 @@
+       both $child and an $index, and do the right thing
+       based upon which one was given. This of course
+       is how it works anyway since I maintained backwards
+-      compatability. But take note, removeChildAt($index)
++      compatibility. But take note, removeChildAt($index)
+       will not be supported. The method is still there,
+       but it will very soon go away.
+       I think this is a cleaner way to do this in the end.
+@@ -158,9 +158,9 @@
+         - removeChild($index) is now removeChildAt($index)
+           and removeChild($child) has replaced it. See the
+           documentation for more info.
+-        - backwards compatability maintained under change.
++        - backwards compatibility maintained under change.
+         - new tests written to test the new code and to
+-          test the backwards compatability
++          test the backwards compatibility
+     - Test suite is not at 99% coverage (with 415 tests)
+     - Moved object initialization code from Tree::Simple::Visitor::new
+       to Tree::Simple::Visitor::_init. This keeps in line with the
+--- a/lib/Tree/Simple/Visitor.pm
++++ b/lib/Tree/Simple/Visitor.pm
+@@ -195,7 +195,7 @@
+ 
+ =item B<new ($func, $depth)>
+ 
+-The new style interface means that all arguments to the constructor are now optional. As a means of defining the usage of the old and new, when no arguments are sent to the constructor, it is assumed that the new style interface is being used. In the new style, the C<$depth> is always assumed to be equivalent to C<RECURSIVE> and the C<$func> argument can be set with C<setNodeFilter> instead. This is the recommended way of doing things now. If you have been using the old way, it is still [...]
++The new style interface means that all arguments to the constructor are now optional. As a means of defining the usage of the old and new, when no arguments are sent to the constructor, it is assumed that the new style interface is being used. In the new style, the C<$depth> is always assumed to be equivalent to C<RECURSIVE> and the C<$func> argument can be set with C<setNodeFilter> instead. This is the recommended way of doing things now. If you have been using the old way, it is still [...]
+ 
+ The old style constructor documentation is retained her for reference:
+ 
+--- a/t/10_Tree_Simple_test.t
++++ b/t/10_Tree_Simple_test.t
+@@ -799,7 +799,7 @@
+ cmp_ok($sub_tree_of_tree_to_remove2->getDepth(), '==', 0, '... the depth should be 0'); 	
+ 
+ ## ----------------------------------------------------------------------------
+-## test removeChild backwards compatability
++## test removeChild backwards compatibility
+ ## ----------------------------------------------------------------------------	
+ 
+ # make a node to remove
+--- a/t/20_Tree_Simple_Visitor_test.t
++++ b/t/20_Tree_Simple_Visitor_test.t
+@@ -76,7 +76,7 @@
+ 
+ # -----------------------------------------------
+ # test the old style interface for backwards
+-# compatability
++# compatibility
+ # -----------------------------------------------
+ 
+ # and that our RECURSIVE constant is properly defined

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



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