Skip Menu |

This queue is for tickets about the Test-Able CPAN distribution.

Report information
The Basics
Id: 92396
Status: open
Priority: 0/
Queue: Test-Able

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Moose enum Warnings
Hey, Attached patch fixes the warnings produced by the change to the way enum should be called. Below is a blurb the Moose guys have been distributing. --- We recently changed the syntax of enum declarations in Moose types. It appears that your module is affected. You can read more about the change here: https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200 We recommend that you take a look at your code to see if it indeed does need to be updated with respect to the latest Moose release, 2.1106-TRIAL. If you have any questions, then please ask either on Moose mailing list : http://lists.perl.org/list/moose.html or on #moose & #moose-dev on irc.perl.org. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Forgot to attach the patch :) See attached :) -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: Test-Able-0.11.patch
diff -Naur Test-Able-0.11_orig/lib/Test/Able/Role/Meta/Class.pm Test-Able-0.11/lib/Test/Able/Role/Meta/Class.pm --- Test-Able-0.11_orig/lib/Test/Able/Role/Meta/Class.pm 2014-01-22 20:25:19.709623125 -0500 +++ Test-Able-0.11/lib/Test/Able/Role/Meta/Class.pm 2014-01-22 20:26:11.485623804 -0500 @@ -156,7 +156,7 @@ =cut -enum 'Test::Able::MethodPlanFailAction' => qw( die log ); +enum 'Test::Able::MethodPlanFailAction' => [qw( die log )]; has 'on_method_plan_fail' => ( is => 'rw', isa => 'Test::Able::MethodPlanFailAction', default => 'log', @@ -195,7 +195,7 @@ =cut -enum 'Test::Able::MethodExceptionAction' => qw( continue continue_at_level ); +enum 'Test::Able::MethodExceptionAction' => [qw( continue continue_at_level )]; has 'on_method_exception' => ( is => 'rw', isa => 'Test::Able::MethodExceptionAction',