r44439 - in /branches/upstream/libparse-method-signatures-perl/current: Changes MANIFEST META.yml README lib/Parse/Method/Signatures.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Sep 20 19:18:11 UTC 2009
Author: jawnsy-guest
Date: Sun Sep 20 19:18:05 2009
New Revision: 44439
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44439
Log:
[svn-upgrade] Integrating new upstream version, libparse-method-signatures-perl (1.003012)
Removed:
branches/upstream/libparse-method-signatures-perl/current/README
Modified:
branches/upstream/libparse-method-signatures-perl/current/Changes
branches/upstream/libparse-method-signatures-perl/current/MANIFEST
branches/upstream/libparse-method-signatures-perl/current/META.yml
branches/upstream/libparse-method-signatures-perl/current/lib/Parse/Method/Signatures.pm
Modified: branches/upstream/libparse-method-signatures-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-method-signatures-perl/current/Changes?rev=44439&op=diff
==============================================================================
--- branches/upstream/libparse-method-signatures-perl/current/Changes (original)
+++ branches/upstream/libparse-method-signatures-perl/current/Changes Sun Sep 20 19:18:05 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: branches/upstream/libparse-method-signatures-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-method-signatures-perl/current/MANIFEST?rev=44439&op=diff
==============================================================================
--- branches/upstream/libparse-method-signatures-perl/current/MANIFEST (original)
+++ branches/upstream/libparse-method-signatures-perl/current/MANIFEST Sun Sep 20 19:18:05 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: branches/upstream/libparse-method-signatures-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-method-signatures-perl/current/META.yml?rev=44439&op=diff
==============================================================================
--- branches/upstream/libparse-method-signatures-perl/current/META.yml (original)
+++ branches/upstream/libparse-method-signatures-perl/current/META.yml Sun Sep 20 19:18:05 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: branches/upstream/libparse-method-signatures-perl/current/lib/Parse/Method/Signatures.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libparse-method-signatures-perl/current/lib/Parse/Method/Signatures.pm?rev=44439&op=diff
==============================================================================
--- branches/upstream/libparse-method-signatures-perl/current/lib/Parse/Method/Signatures.pm (original)
+++ branches/upstream/libparse-method-signatures-perl/current/lib/Parse/Method/Signatures.pm Sun Sep 20 19:18:05 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