Skip Menu |

This queue is for tickets about the WWW-Getsy CPAN distribution.

Report information
The Basics
Id: 92398
Status: open
Priority: 0/
Queue: WWW-Getsy

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. Note, however, that the tests still fail with "The method '_make_request' was not found in the inheritance hierarchy for WWW::Getsy::OAuth" Below is a blurb the Moose guys have been distributing (RE: enum). --- 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 ]
Subject: WWW-Getsy-0.999007.patch
diff -Naur WWW-Getsy-0.999007_orig/lib/WWW/Getsy/Types.pm WWW-Getsy-0.999007/lib/WWW/Getsy/Types.pm --- WWW-Getsy-0.999007_orig/lib/WWW/Getsy/Types.pm 2014-01-22 21:01:49.441651815 -0500 +++ WWW-Getsy-0.999007/lib/WWW/Getsy/Types.pm 2014-01-22 21:02:20.133652218 -0500 @@ -36,7 +36,7 @@ decode_json($_); }; -enum RequestMethod , qw(get put post delete); +enum RequestMethod , [qw(get put post delete)]; coerce RequestMethod, from Str,