[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. e2b8d65ff0844ec421ab628274728911998a4da7

jesse jesse at bestpractical.com
Sat Jan 31 00:21:36 EST 2009


The branch, master has been updated
       via  e2b8d65ff0844ec421ab628274728911998a4da7 (commit)
       via  ea3e3cbe544dd3ecf4482b90e941224c0e452b3b (commit)
      from  686ad629ee9b7d747d50e5231d16a00021d2b475 (commit)

Summary of changes:
 lib/Prophet/CLI/Command/Publish.pm |    4 ----
 lib/Prophet/Server.pm              |    3 ++-
 2 files changed, 2 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit ea3e3cbe544dd3ecf4482b90e941224c0e452b3b
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Jan 31 00:19:53 2009 -0500

    added a 'static' bool to Prophet::Server for use by subclasses that want
    to implement static versions of themselves

diff --git a/lib/Prophet/Server.pm b/lib/Prophet/Server.pm
index 98d52ef..607c2d5 100644
--- a/lib/Prophet/Server.pm
+++ b/lib/Prophet/Server.pm
@@ -34,7 +34,8 @@ has app_handle => (
 
 has cgi        => ( isa => 'Maybe[CGI]',                is  => 'rw' );
 has nav        => ( isa => 'Maybe[Prophet::Web::Menu]', is  => 'rw' );
-has read_only  => ( is  => 'rw',                        isa => 'Bool' );
+has read_only  => ( isa  => 'Bool',                        is => 'rw' );
+has static     => ( isa =>  'Bool',                        is => 'rw');
 has view_class => ( isa => 'Str',                       is  => 'rw' );
 has result     => ( isa => 'Prophet::Web::Result',      is  => 'rw' );
 

commit e2b8d65ff0844ec421ab628274728911998a4da7
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Jan 31 00:21:19 2009 -0500

    Removed unused code from Prophet Publish command

diff --git a/lib/Prophet/CLI/Command/Publish.pm b/lib/Prophet/CLI/Command/Publish.pm
index e012a79..b2f7092 100644
--- a/lib/Prophet/CLI/Command/Publish.pm
+++ b/lib/Prophet/CLI/Command/Publish.pm
@@ -7,10 +7,6 @@ with 'Prophet::CLI::CollectionCommand';
 use File::Path;
 use File::Spec;
 
-sub view_classes {
- return ['Prophet::Server::View'];
-}
-
 before run => sub {
     my $self = shift;
     die "Please specify a --to.\n" unless $self->has_arg('to');

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



More information about the Bps-public-commit mailing list