[Bps-public-commit] net-lighthouse branch, master, updated. c99ec2a2af3e90c08b3c9f59d5bc954c69212b68

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Aug 27 04:39:40 EDT 2009


The branch, master has been updated
       via  c99ec2a2af3e90c08b3c9f59d5bc954c69212b68 (commit)
      from  8a13f2fe9129825acb8483e916f950d7847193ce (commit)

Summary of changes:
 lib/Net/Lighthouse/Project.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c99ec2a2af3e90c08b3c9f59d5bc954c69212b68
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 27 16:39:36 2009 +0800

    name should be mandatory when create a project

diff --git a/lib/Net/Lighthouse/Project.pm b/lib/Net/Lighthouse/Project.pm
index df50912..d3d9e33 100644
--- a/lib/Net/Lighthouse/Project.pm
+++ b/lib/Net/Lighthouse/Project.pm
@@ -58,8 +58,8 @@ sub create {
     validate(
         @_,
         {
+            name     => { type => SCALAR },
             archived => { optional => 1, type => BOOLEAN },
-            name     => { optional => 1, type => SCALAR },
             public   => { optional => 1, type => BOOLEAN },
         }
     );

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list