r44443 - in /trunk/libparse-method-signatures-perl: Changes MANIFEST META.yml README debian/changelog lib/Parse/Method/Signatures.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Sep 20 19:22:17 UTC 2009


Author: jawnsy-guest
Date: Sun Sep 20 19:22:11 2009
New Revision: 44443

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44443
Log:
New upstream release

Removed:
    trunk/libparse-method-signatures-perl/README
Modified:
    trunk/libparse-method-signatures-perl/Changes
    trunk/libparse-method-signatures-perl/MANIFEST
    trunk/libparse-method-signatures-perl/META.yml
    trunk/libparse-method-signatures-perl/debian/changelog
    trunk/libparse-method-signatures-perl/lib/Parse/Method/Signatures.pm

Modified: trunk/libparse-method-signatures-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-method-signatures-perl/Changes?rev=44443&op=diff
==============================================================================
--- trunk/libparse-method-signatures-perl/Changes (original)
+++ trunk/libparse-method-signatures-perl/Changes Sun Sep 20 19:22:11 2009
@@ -1,4 +1,8 @@
 Changelog for Parse::Method::Signatures
+
+1.003012 - 2009/09/13
+  - Pass from_namespace to type constraint class even if there is a callback
+    provided. (This lets the callback be wrapped/extended better.)
 
 1.003011 - 2009/08/18
   - Resolve aliased type names when a namespace to look aliases up is given.

Modified: trunk/libparse-method-signatures-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-method-signatures-perl/MANIFEST?rev=44443&op=diff
==============================================================================
--- trunk/libparse-method-signatures-perl/MANIFEST (original)
+++ trunk/libparse-method-signatures-perl/MANIFEST Sun Sep 20 19:22:11 2009
@@ -26,7 +26,6 @@
 Makefile.PL
 MANIFEST			This list of files
 META.yml
-README
 t/ppi.t
 t/signatures.t
 t/struct.t

Modified: trunk/libparse-method-signatures-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-method-signatures-perl/META.yml?rev=44443&op=diff
==============================================================================
--- trunk/libparse-method-signatures-perl/META.yml (original)
+++ trunk/libparse-method-signatures-perl/META.yml Sun Sep 20 19:22:11 2009
@@ -25,7 +25,7 @@
 provides:
   Parse::Method::Signatures:
     file: lib/Parse/Method/Signatures.pm
-    version: 1.003011
+    version: 1.003012
   Parse::Method::Signatures::Param:
     file: lib/Parse/Method/Signatures/Param.pm
   Parse::Method::Signatures::Param::Bindable:
@@ -63,4 +63,4 @@
   homepage: http://github.com/ashb/Parse-Method-Signatures/tree/master
   license: http://dev.perl.org/licenses/
   repository: git://github.com/ashb/Parse-Method-Signatures.git
-version: 1.003011
+version: 1.003012

Modified: trunk/libparse-method-signatures-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-method-signatures-perl/debian/changelog?rev=44443&op=diff
==============================================================================
--- trunk/libparse-method-signatures-perl/debian/changelog (original)
+++ trunk/libparse-method-signatures-perl/debian/changelog Sun Sep 20 19:22:11 2009
@@ -1,8 +1,12 @@
-libparse-method-signatures-perl (1.003011-2) UNRELEASED; urgency=low
+libparse-method-signatures-perl (1.003012-1) UNRELEASED; urgency=low
 
+  [ Jonathan Yu ]
+  * New upstream release
+
+  [ Ryan Niebur ]
   * Update jawnsy's email address
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Tue, 01 Sep 2009 21:19:28 -0700
+ -- Jonathan Yu <jawnsy at cpan.org>  Sun, 20 Sep 2009 11:21:32 -0400
 
 libparse-method-signatures-perl (1.003011-1) unstable; urgency=low
 

Modified: trunk/libparse-method-signatures-perl/lib/Parse/Method/Signatures.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-method-signatures-perl/lib/Parse/Method/Signatures.pm?rev=44443&op=diff
==============================================================================
--- trunk/libparse-method-signatures-perl/lib/Parse/Method/Signatures.pm (original)
+++ trunk/libparse-method-signatures-perl/lib/Parse/Method/Signatures.pm Sun Sep 20 19:22:11 2009
@@ -15,7 +15,7 @@
 use Carp qw/croak/;
 
 use namespace::clean -except => 'meta';
-our $VERSION = '1.003011';
+our $VERSION = '1.003012';
 our $ERROR_LEVEL = 0;
 our %LEXTABLE;
 our $DEBUG = $ENV{PMS_DEBUG} || 0;
@@ -502,11 +502,14 @@
 
   $tc = $self->type_constraint_class->new(
     ppi  => $tc,
-    $self->has_type_constraint_callback
+    ( $self->has_type_constraint_callback
       ? (tc_callback => $self->type_constraint_callback)
-      : $self->from_namespace
+      : ()
+    ),
+    ( $self->has_from_namespace
       ? ( from_namespace => $self->from_namespace )
       : ()
+    ),
   );
   $param->{type_constraints} = $tc;
 
@@ -983,9 +986,9 @@
 Let this module know which package it is parsing signatures form. This is
 entirely optional, and the only effect is has is on parsing type constraints.
 
-If this attribute is set (and C<type_constraint_callback> is not) it is passed
-to L</type_constraint_class> which can use it to introspect the package
-(commmonly for L<MooseX::Types> exported types). See
+If this attribute is set it is passed to L</type_constraint_class> which can
+use it to introspect the package (commmonly for L<MooseX::Types> exported
+types). See
 L<Parse::Method::Signature::TypeConstraints/find_registered_constraint> for
 more details.
 




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