[libclass-ehierarchy-perl] 03/09: Update patch that fixes typo in POD

Lucas Kanashiro kanashiro at moszumanska.debian.org
Tue Jun 20 23:19:16 UTC 2017


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

kanashiro pushed a commit to branch master
in repository libclass-ehierarchy-perl.

commit 16191a444c272d5b68768a9553fef3133e2730c3
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Tue Jun 20 17:43:31 2017 -0300

    Update patch that fixes typo in POD
---
 debian/changelog                              |  1 +
 debian/patches/0001_fix-typo-in-manpage.patch | 53 ++++++++++++++++++++-------
 2 files changed, 41 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9d4ae4b..80d6a4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libclass-ehierarchy-perl (2.00-1) UNRELEASED; urgency=medium
 
   * New upstream version 2.00
+  * Update patch that fixes typo in POD
 
  -- Lucas Kanashiro <kanashiro at debian.org>  Tue, 20 Jun 2017 17:35:17 -0300
 
diff --git a/debian/patches/0001_fix-typo-in-manpage.patch b/debian/patches/0001_fix-typo-in-manpage.patch
index 8602780..7d653b4 100644
--- a/debian/patches/0001_fix-typo-in-manpage.patch
+++ b/debian/patches/0001_fix-typo-in-manpage.patch
@@ -1,26 +1,53 @@
-Description: fix typo
+Description: Fix typo in POD
 Author: Lucas Kanashiro <kanashiro at debian.org>
-Last-Updated: 2016-06-29
-Forwarded: https://rt.cpan.org/Ticket/Display.html?id=115733
-Bug: https://rt.cpan.org/Ticket/Display.html?id=115733
+Last-Updated: 2017-06-20
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=122148
+Bug: https://rt.cpan.org/Ticket/Display.html?id=122148
 
 --- a/lib/Class/EHierarchy.pm
 +++ b/lib/Class/EHierarchy.pm
-@@ -1149,7 +1149,7 @@ use constant CEH_NO_UNDEF => 512;
+@@ -1801,7 +1801,7 @@ parent object.
  
-     sub exists ($$$) {
+ This class simplifies the formalization of these relationships, which can have
+ a couple of benefits.  Consider a row object that was retrieved, for example.
+-If each of the columns was implmented as a property in the object one could
++If each of the columns was implemented as a property in the object one could
+ allow in-memory modification of data with a delayed commit.  When the
+ connection goes out of scope you could code your application to flush those
+ in-memory modifications back to the database prior to garbage collection.
+@@ -1831,7 +1831,7 @@ structures, you would be reduced to exec
+ possibly executing code paths again to account for a few changed properties.
  
--        # Purpose:  checks the existance of a key in the property hash
-+        # Purpose:  checks the existence of a key in the property hash
-         # Returns:  The return value of CORE::exists
-         # Usage:    $rv = $obj->exists($prop, $key);
+ This class explicitly separates assignment of properties from initialization,
+-allowing you to execute those code paths only once.  OOP implemenations of
++allowing you to execute those code paths only once.  OOP implementations of
+ mathematical constructs, for instance, could significantly alter the values
+ derived from objects simply by subclassing and overriding some property
+ values.  The original class' initializer will be run once, but using the new
+@@ -1849,7 +1849,7 @@ The class hierarchal features necessaril
+ opaque objects.  Objects aren't blessed hashes, they are scalar references
+ with all properties stored in class data structures.
  
-@@ -1921,7 +1921,7 @@ returns the return value from the B<shif
+-The property implementation was made to be flexible to accomodate most needs.
++The property implementation was made to be flexible to accommodate most needs.
+ A property can be a scalar value, but it also can be an array, hash, or a
+ number of specific types of references.
+ 
+@@ -1961,7 +1961,7 @@ object you can place a B<_deconstruct> m
+ 
+ B<_deconstruct> is an optional method which, if present, will be called during
+ the object's B<DESTROY> phase.  It will be called I<after> all children have
+-completed thier B<DESTROY> phase.  In keeping with the class hierarchal
++completed their B<DESTROY> phase.  In keeping with the class hierarchal
+ features all superclasses will have their B<_deconstruct> methods called after
+ your subclass' method is called, but prior to finishing the B<DESTROY> phase.
+ 
+@@ -2168,7 +2168,7 @@ non-existent properties or invalid types
  
      $rv = $obj->exists($prop, $key);
  
 -This method checks for the existance of the specified key in the hash
 +This method checks for the existence of the specified key in the hash
- property.  Calling this method on any non-hash property will cause the program
- to croack.  It returns the return value from the B<exists> function.
+ property.  It returns the return value from the B<exists> function, or 
+ undef on non-existent properties or invalid types.
  

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



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