[Jifty-commit] r6357 - in Net-Jifty/trunk: . lib/Net

Jifty commits jifty-commit at lists.jifty.org
Thu Feb 19 16:27:31 EST 2009


Author: jesse
Date: Thu Feb 19 16:27:30 2009
New Revision: 6357

Modified:
   Net-Jifty/trunk/Changes
   Net-Jifty/trunk/Makefile.PL
   Net-Jifty/trunk/lib/Net/Jifty.pm
   Net-Jifty/trunk/t/lib/Net/Jifty/Test.pm

Log:
switch from moose to any::moose

Modified: Net-Jifty/trunk/Changes
==============================================================================
--- Net-Jifty/trunk/Changes	(original)
+++ Net-Jifty/trunk/Changes	Thu Feb 19 16:27:30 2009
@@ -1,5 +1,7 @@
 Revision history for Net-Jifty
 
+0.11    Depend on Any::Moose instead of Moose
+
 0.10
         Releng fixes
         Use a predicate for has_config_file

Modified: Net-Jifty/trunk/Makefile.PL
==============================================================================
--- Net-Jifty/trunk/Makefile.PL	(original)
+++ Net-Jifty/trunk/Makefile.PL	Thu Feb 19 16:27:30 2009
@@ -3,7 +3,7 @@
 name 'Net-Jifty';
 all_from 'lib/Net/Jifty.pm';
 
-requires 'Moose' => '0.50';
+requires 'Any::Moose' => '0.04';
 requires 'LWP::UserAgent';
 requires 'YAML';
 requires 'URI';

Modified: Net-Jifty/trunk/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/trunk/lib/Net/Jifty.pm	(original)
+++ Net-Jifty/trunk/lib/Net/Jifty.pm	Thu Feb 19 16:27:30 2009
@@ -1,8 +1,8 @@
 #!/usr/bin/env perl
 package Net::Jifty;
-use Moose;
+use Any::Moose;
 
-our $VERSION = '0.10';
+our $VERSION = '0.11';
 
 use LWP::UserAgent;
 use URI;
@@ -131,14 +131,14 @@
 
 has action_specs => (
     is            => 'rw',
-    isa           => 'HashRef[HashRef]',
+    isa           => 'HashRef',
     default       => sub { {} },
     documentation => "The cache for action specifications",
 );
 
 has model_specs => (
     is            => 'rw',
-    isa           => 'HashRef[HashRef]',
+    isa           => 'HashRef',
     default       => sub { {} },
     documentation => "The cache for model specifications",
 );
@@ -669,7 +669,7 @@
 }
 
 __PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
 
 1;
 

Modified: Net-Jifty/trunk/t/lib/Net/Jifty/Test.pm
==============================================================================
--- Net-Jifty/trunk/t/lib/Net/Jifty/Test.pm	(original)
+++ Net-Jifty/trunk/t/lib/Net/Jifty/Test.pm	Thu Feb 19 16:27:30 2009
@@ -1,6 +1,6 @@
 #!/usr/bin/env perl
 package Net::Jifty::Test;
-use Moose;
+use Any::Moose;
 extends 'Net::Jifty';
 
 use Test::MockObject;
@@ -80,5 +80,10 @@
     shift->sid("deadbeef");
 }
 
+
+__PACKAGE__->meta->make_immutable;
+no Any::Moose;
+
+
 1;
 


More information about the Jifty-commit mailing list