[Bps-public-commit] r13973 - in sd/trunk: . bin lib/App/SD/CLI lib/App/SD/Collection
sartak at bestpractical.com
sartak at bestpractical.com
Thu Jul 10 17:14:50 EDT 2008
Author: sartak
Date: Thu Jul 10 17:14:47 2008
New Revision: 13973
Modified:
sd/trunk/ (props changed)
sd/trunk/bin/sd
sd/trunk/lib/App/SD/CLI/Command.pm
sd/trunk/lib/App/SD/CLI/Command/Details.pm
sd/trunk/lib/App/SD/Collection/Attachment.pm
sd/trunk/lib/App/SD/Collection/Comment.pm
sd/trunk/lib/App/SD/Collection/Ticket.pm
Log:
r64091 at onn: sartak | 2008-07-10 17:14:05 -0400
Cleanup
Modified: sd/trunk/bin/sd
==============================================================================
--- sd/trunk/bin/sd (original)
+++ sd/trunk/bin/sd Thu Jul 10 17:14:47 2008
@@ -1,13 +1,11 @@
#!/usr/bin/env perl
use warnings;
use strict;
-
-$ENV{'PROPHET_REPO'} = $ENV{'SD_REPO'} || $ENV{'HOME'}.'/.sd';
use Prophet::CLI;
use App::SD;
+$ENV{'PROPHET_REPO'} = $ENV{'SD_REPO'} || $ENV{'HOME'}.'/.sd';
+
my $cli = Prophet::CLI->new({ app_class => 'App::SD' });
$cli->run_one_command;
-1;
-
Modified: sd/trunk/lib/App/SD/CLI/Command.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command.pm (original)
+++ sd/trunk/lib/App/SD/CLI/Command.pm Thu Jul 10 17:14:47 2008
@@ -23,5 +23,7 @@
return $content;
}
+no Moose::Role;
+
1;
Modified: sd/trunk/lib/App/SD/CLI/Command/Details.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Details.pm (original)
+++ sd/trunk/lib/App/SD/CLI/Command/Details.pm Thu Jul 10 17:14:47 2008
@@ -1,5 +1,6 @@
package App::SD::CLI::Command::Details;
use Moose;
+extends 'Prophet::CLI::Command';
with 'App::SD::CLI::Command';
with 'App::SD::CLI::Model::Ticket';
@@ -29,3 +30,5 @@
__PACKAGE__->meta->make_immutable;
no Moose;
+1;
+
Modified: sd/trunk/lib/App/SD/Collection/Attachment.pm
==============================================================================
--- sd/trunk/lib/App/SD/Collection/Attachment.pm (original)
+++ sd/trunk/lib/App/SD/Collection/Attachment.pm Thu Jul 10 17:14:47 2008
@@ -1,10 +1,10 @@
use warnings;
use strict;
+
package App::SD::Collection::Attachment;
use base 'Prophet::Collection';
use constant record_class => 'App::SD::Model::Attachment';
-
1;
Modified: sd/trunk/lib/App/SD/Collection/Comment.pm
==============================================================================
--- sd/trunk/lib/App/SD/Collection/Comment.pm (original)
+++ sd/trunk/lib/App/SD/Collection/Comment.pm Thu Jul 10 17:14:47 2008
@@ -1,10 +1,10 @@
use warnings;
use strict;
+
package App::SD::Collection::Comment;
use base 'Prophet::Collection';
use constant record_class => 'App::SD::Model::Comment';
-
1;
Modified: sd/trunk/lib/App/SD/Collection/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Collection/Ticket.pm (original)
+++ sd/trunk/lib/App/SD/Collection/Ticket.pm Thu Jul 10 17:14:47 2008
@@ -1,4 +1,3 @@
-
use warnings;
use strict;
@@ -8,3 +7,4 @@
use constant record_class => 'App::SD::Model::Ticket';
1;
+
More information about the Bps-public-commit
mailing list