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

sartak at bestpractical.com sartak at bestpractical.com
Mon May 19 10:56:58 EDT 2008


Author: sartak
Date: Mon May 19 10:56:53 2008
New Revision: 12533

Modified:
   Prophet/branches/moose/   (props changed)
   Prophet/branches/moose/lib/Prophet/CLI.pm
   Prophet/branches/moose/lib/Prophet/Replica/SVN/Util.pm

Log:
 r56356 at onn:  sartak | 2008-05-19 10:56:42 -0400
 make_immutable and unimport Moose from the CLI classes, and SVN::Util


Modified: Prophet/branches/moose/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/branches/moose/lib/Prophet/CLI.pm	(original)
+++ Prophet/branches/moose/lib/Prophet/CLI.pm	Mon May 19 10:56:53 2008
@@ -222,6 +222,9 @@
     return $ret;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::RecordCommand;
 use Moose::Role;
 
@@ -268,7 +271,7 @@
     return 'Prophet::Record';
 }
 
-
+no Moose::Role;
 
 package Prophet::CLI::Command;
 use Moose;
@@ -359,6 +362,9 @@
     return \%args;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Create;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -383,6 +389,9 @@
 
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Search;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -433,6 +442,9 @@
     }
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Update;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -469,6 +481,9 @@
     }
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Delete;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -487,6 +502,9 @@
 
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Show;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -509,6 +527,9 @@
 
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Merge;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -559,8 +580,12 @@
             )
         )
     );
+
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Push;
 use Moose;
 extends 'Prophet::CLI::Command::Merge';
@@ -577,6 +602,9 @@
     $self->_do_merge( $source_me, $source_other );
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Export;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -587,6 +615,9 @@
     $self->app_handle->handle->export_to( path => $self->arg('path') );
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Pull;
 use Moose;
 extends 'Prophet::CLI::Command::Merge';
@@ -603,6 +634,9 @@
 
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::Server;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -617,6 +651,9 @@
     $server->run;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 package Prophet::CLI::Command::NotFound;
 use Moose;
 extends 'Prophet::CLI::Command';
@@ -626,4 +663,7 @@
     $self->fatal_error( "The command you ran could not be found. Perhaps running '$0 help' would help?" );
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Prophet/branches/moose/lib/Prophet/Replica/SVN/Util.pm
==============================================================================
--- Prophet/branches/moose/lib/Prophet/Replica/SVN/Util.pm	(original)
+++ Prophet/branches/moose/lib/Prophet/Replica/SVN/Util.pm	Mon May 19 10:56:53 2008
@@ -191,4 +191,7 @@
     return $password;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;



More information about the Bps-public-commit mailing list