summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-20 17:18:53 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-20 17:18:53 +0100
commit7b2a54aedcb5c8770f9ebd50ef0f630923b4f86b (patch)
tree2eae7006e9094155d78c229d3acd13079bd77bfb
parentreplace with valid url (diff)
downloadmoosex-net-api-7b2a54aedcb5c8770f9ebd50ef0f630923b4f86b.tar.gz
Checking in changes prior to tagging of version 0.06. Changelog diff is:
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
-rw-r--r--Changes3
-rw-r--r--Makefile.PL6
-rw-r--r--t/01_basic.t8
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;