r42346 - in /branches/upstream/libmoosex-method-signatures-perl/current: ./ lib/MooseX/Method/ t/ t/lib/My/ t/lib/My/Annoyingly/ t/lib/My/Annoyingly/Long/ t/lib/My/Annoyingly/Long/Name/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Fri Aug 21 20:19:13 UTC 2009


Author: jawnsy-guest
Date: Fri Aug 21 20:19:07 2009
New Revision: 42346

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42346
Log:
[svn-upgrade] Integrating new upstream version, libmoosex-method-signatures-perl (0.21)

Added:
    branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/
    branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/
    branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/
    branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/Name/
    branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/Name/Space.pm
    branches/upstream/libmoosex-method-signatures-perl/current/t/type_alias.t
Modified:
    branches/upstream/libmoosex-method-signatures-perl/current/Changes
    branches/upstream/libmoosex-method-signatures-perl/current/MANIFEST
    branches/upstream/libmoosex-method-signatures-perl/current/META.yml
    branches/upstream/libmoosex-method-signatures-perl/current/Makefile.PL
    branches/upstream/libmoosex-method-signatures-perl/current/lib/MooseX/Method/Signatures.pm

Modified: branches/upstream/libmoosex-method-signatures-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/Changes?rev=42346&op=diff
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/Changes (original)
+++ branches/upstream/libmoosex-method-signatures-perl/current/Changes Fri Aug 21 20:19:07 2009
@@ -1,4 +1,8 @@
 Version history for MooseX::Method::Signatures
+
+0.21  Tue, 18 Aug 2009 08:45:48 +0200
+  * Add tests for using aliased.pm for type aliases (Steffen Schwigon).
+  * Depend on the latest PMS to get type alias resolving.
 
 0.20  Mon, 17 Aug 2009 12:11:32 +0200
   * Make the meta method's parsed_signature public.

Modified: branches/upstream/libmoosex-method-signatures-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/MANIFEST?rev=42346&op=diff
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/MANIFEST (original)
+++ branches/upstream/libmoosex-method-signatures-perl/current/MANIFEST Fri Aug 21 20:19:07 2009
@@ -26,6 +26,7 @@
 t/lib/InvalidCase02.pm
 t/lib/MXMSLabeled.pm
 t/lib/MXMSMoody.pm
+t/lib/My/Annoyingly/Long/Name/Space.pm
 t/lib/Redefined.pm
 t/lib/TestClass.pm
 t/lib/TestClassTrait.pm
@@ -40,5 +41,6 @@
 t/sigs-optional.t
 t/structured.t
 t/traits.t
+t/type_alias.t
 t/types.t
 xt/author/pod.t

Modified: branches/upstream/libmoosex-method-signatures-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/META.yml?rev=42346&op=diff
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/META.yml (original)
+++ branches/upstream/libmoosex-method-signatures-perl/current/META.yml Fri Aug 21 20:19:07 2009
@@ -30,7 +30,7 @@
   MooseX::Types: 0.09
   MooseX::Types::Moose: 0
   MooseX::Types::Structured: 0.12
-  Parse::Method::Signatures: 1.003010
+  Parse::Method::Signatures: 1.003011
   Sub::Name: 0
   Task::Weaken: 0
   Text::Balanced: 0
@@ -40,4 +40,4 @@
   bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Method-Signatures
   license: http://dev.perl.org/licenses/
   repository: git://github.com/rafl/moosex-method-signatures.git
-version: 0.20
+version: 0.21

Modified: branches/upstream/libmoosex-method-signatures-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/Makefile.PL?rev=42346&op=diff
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/Makefile.PL (original)
+++ branches/upstream/libmoosex-method-signatures-perl/current/Makefile.PL Fri Aug 21 20:19:07 2009
@@ -8,7 +8,7 @@
 requires 'aliased';
 requires 'B::Hooks::EndOfScope' => '0.07';
 requires 'Context::Preserve';
-requires 'Parse::Method::Signatures' => '1.003010';
+requires 'Parse::Method::Signatures' => '1.003011';
 requires 'Devel::Declare' => '0.005011';
 requires 'Moose::Util::TypeConstraints';
 requires 'Moose' => '0.63';

Modified: branches/upstream/libmoosex-method-signatures-perl/current/lib/MooseX/Method/Signatures.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/lib/MooseX/Method/Signatures.pm?rev=42346&op=diff
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/lib/MooseX/Method/Signatures.pm (original)
+++ branches/upstream/libmoosex-method-signatures-perl/current/lib/MooseX/Method/Signatures.pm Fri Aug 21 20:19:07 2009
@@ -19,7 +19,7 @@
 
 use namespace::autoclean;
 
-our $VERSION = '0.20';
+our $VERSION = '0.21';
 
 has package => (
     is            => 'ro',

Added: branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/Name/Space.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/Name/Space.pm?rev=42346&op=file
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/Name/Space.pm (added)
+++ branches/upstream/libmoosex-method-signatures-perl/current/t/lib/My/Annoyingly/Long/Name/Space.pm Fri Aug 21 20:19:07 2009
@@ -1,0 +1,3 @@
+package My::Annoyingly::Long::Name::Space;
+use Moose;
+1;

Added: branches/upstream/libmoosex-method-signatures-perl/current/t/type_alias.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-method-signatures-perl/current/t/type_alias.t?rev=42346&op=file
==============================================================================
--- branches/upstream/libmoosex-method-signatures-perl/current/t/type_alias.t (added)
+++ branches/upstream/libmoosex-method-signatures-perl/current/t/type_alias.t Fri Aug 21 20:19:07 2009
@@ -1,0 +1,27 @@
+use strict;
+use warnings;
+use Test::More;
+use Test::Exception;
+
+use FindBin;
+use lib "$FindBin::Bin/lib";
+
+{
+    package TestClass;
+    use Moose;
+    use MooseX::Method::Signatures;
+
+    use aliased 'My::Annoyingly::Long::Name::Space', 'Shortcut';
+
+    eval 'method alias_sig (Shortcut $affe) { }';
+    ::ok(!$@, 'method with aliased type constraint compiles');
+}
+
+my $o = TestClass->new;
+my $affe = My::Annoyingly::Long::Name::Space->new;
+
+lives_ok(sub {
+    $o->alias_sig($affe);
+}, 'calling method with aliased type constraint');
+
+done_testing;




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