diff options
Diffstat (limited to '')
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | Makefile.PL | 6 | ||||
-rw-r--r-- | t/01_basic.t | 8 |
3 files changed, 9 insertions, 8 deletions
diff --git a/Changes b/Changes index 0b8c585..2ea51bd 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension MooseX::Net::API +0.06 Sun 20 Dec 2009 05:17:49 PM CET + - mainly cleaning and POD + 0.05 Wed 09 Dec 2009 11:01:54 AM CET - missing try::tiny diff --git a/Makefile.PL b/Makefile.PL index 727209a..258c368 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,11 +2,15 @@ use inc::Module::Install; name 'MooseX-Net-API'; all_from 'lib/MooseX/Net/API.pm'; -requires 'Carp'; requires 'Moose'; requires 'Try::Tiny'; requires 'URI'; requires 'HTTP::Request'; +requires 'LWP::UserAgent'; +requires 'MooseX::Types::Moose'; +requires 'JSON::XS'; +requires 'YAML::Syck'; +requires 'XML::Simple'; tests 't/*.t'; author_tests 'xt'; diff --git a/t/01_basic.t b/t/01_basic.t index 3154298..1ff9faf 100644 --- a/t/01_basic.t +++ b/t/01_basic.t @@ -31,12 +31,6 @@ my $err = $@; is $err->http_code, 404, "... get 404"; my $auth_obj = FakeAPI->new(); -use Try::Tiny; -use YAML::Syck; -try { - my $res = $auth_obj->auth_get_user(id => 1); -}catch{ - warn Dump $_; -}; +my $res = $auth_obj->auth_get_user(id => 1); done_testing; |