[Bps-public-commit] r12463 - in Prophet/branches/moose: .

sartak at bestpractical.com sartak at bestpractical.com
Sat May 17 06:15:09 EDT 2008


Author: sartak
Date: Sat May 17 06:15:09 2008
New Revision: 12463

Modified:
   Prophet/branches/moose/   (props changed)
   Prophet/branches/moose/lib/Prophet/Change.pm
   Prophet/branches/moose/lib/Prophet/ChangeSet.pm

Log:
 r56194 at onn:  sartak | 2008-05-17 06:15:06 -0400
 empty is deprecated because it's backwards, so use count


Modified: Prophet/branches/moose/lib/Prophet/Change.pm
==============================================================================
--- Prophet/branches/moose/lib/Prophet/Change.pm	(original)
+++ Prophet/branches/moose/lib/Prophet/Change.pm	Sat May 17 06:15:09 2008
@@ -37,7 +37,7 @@
     auto_deref => 1,
     default    => sub { [] },
     provides   => {
-        empty => 'has_prop_changes',
+        count => 'has_prop_changes',
         push  => '_add_prop_change',
     },
 );

Modified: Prophet/branches/moose/lib/Prophet/ChangeSet.pm
==============================================================================
--- Prophet/branches/moose/lib/Prophet/ChangeSet.pm	(original)
+++ Prophet/branches/moose/lib/Prophet/ChangeSet.pm	Sat May 17 06:15:09 2008
@@ -42,7 +42,7 @@
     default    => sub { [] },
     provides   => {
         push   => '_add_change',
-        empty  => 'has_changes',
+        count  => 'has_changes',
     },
 );
 



More information about the Bps-public-commit mailing list