[Bps-public-commit] r14972 - in sd/trunk/lib/App: . SD SD/Model SD/Replica/Hiveminder SD/Replica/RT

jesse at bestpractical.com jesse at bestpractical.com
Sun Aug 10 00:44:56 EDT 2008


Author: jesse
Date: Sun Aug 10 00:44:55 2008
New Revision: 14972

Modified:
   sd/trunk/lib/App/SD.pm
   sd/trunk/lib/App/SD/Model/Attachment.pm
   sd/trunk/lib/App/SD/Model/Comment.pm
   sd/trunk/lib/App/SD/Model/Ticket.pm
   sd/trunk/lib/App/SD/Record.pm
   sd/trunk/lib/App/SD/Replica/Hiveminder.pm
   sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
   sd/trunk/lib/App/SD/Replica/Hiveminder/PushEncoder.pm
   sd/trunk/lib/App/SD/Replica/RT.pm
   sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm
   sd/trunk/lib/App/SD/Replica/RT/PushEncoder.pm

Log:
 * moose crap annoys me sometimes

Modified: sd/trunk/lib/App/SD.pm
==============================================================================
--- sd/trunk/lib/App/SD.pm	(original)
+++ sd/trunk/lib/App/SD.pm	Sun Aug 10 00:44:55 2008
@@ -4,4 +4,6 @@
 extends 'Prophet::App';
 our $VERSION = '0.01';
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 1;

Modified: sd/trunk/lib/App/SD/Model/Attachment.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Attachment.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Attachment.pm	Sun Aug 10 00:44:55 2008
@@ -27,6 +27,7 @@
     $self->SUPER::create(%args);
 }
 
-
+__PACKAGE__->meta->make_immutable;
+no Moose;
 
 1;

Modified: sd/trunk/lib/App/SD/Model/Comment.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Comment.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Comment.pm	Sun Aug 10 00:44:55 2008
@@ -18,4 +18,6 @@
 
 __PACKAGE__->register_reference( ticket => 'App::SD::Model::Comment');
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 1;

Modified: sd/trunk/lib/App/SD/Model/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Ticket.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Ticket.pm	Sun Aug 10 00:44:55 2008
@@ -90,7 +90,7 @@
 =cut
 
 sub props_to_show {
-    ('id', 'summary', 'status', 'owner', 'created', 'due', 'creator', 'reported_by', 'CF-Broken in', 'CF-Severity')
+    ('id', 'summary', 'status', 'owner', 'created', 'due', 'creator', 'reported_by')
 }
 
 =head2 is_overdue [$date]
@@ -124,4 +124,6 @@
 __PACKAGE__->register_reference( comments => 'App::SD::Collection::Comment', by => 'ticket');
 __PACKAGE__->register_reference( attachments => 'App::SD::Collection::Attachment', by => 'ticket');
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 1;

Modified: sd/trunk/lib/App/SD/Record.pm
==============================================================================
--- sd/trunk/lib/App/SD/Record.pm	(original)
+++ sd/trunk/lib/App/SD/Record.pm	Sun Aug 10 00:44:55 2008
@@ -37,6 +37,8 @@
     return 1;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 
 
 1;

Modified: sd/trunk/lib/App/SD/Replica/Hiveminder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/Hiveminder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/Hiveminder.pm	Sun Aug 10 00:44:55 2008
@@ -209,4 +209,6 @@
     $self->_set_remote_id(%args);
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 1;

Modified: sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm	Sun Aug 10 00:44:55 2008
@@ -260,4 +260,6 @@
 }
 
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 1;

Modified: sd/trunk/lib/App/SD/Replica/Hiveminder/PushEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/Hiveminder/PushEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/Hiveminder/PushEncoder.pm	Sun Aug 10 00:44:55 2008
@@ -105,6 +105,8 @@
     return \%attr;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 
 1;
 

Modified: sd/trunk/lib/App/SD/Replica/RT.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/RT.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/RT.pm	Sun Aug 10 00:44:55 2008
@@ -278,4 +278,7 @@
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm	Sun Aug 10 00:44:55 2008
@@ -500,4 +500,6 @@
     return $changeset;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
 1;

Modified: sd/trunk/lib/App/SD/Replica/RT/PushEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/RT/PushEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/RT/PushEncoder.pm	Sun Aug 10 00:44:55 2008
@@ -152,4 +152,9 @@
     }
     return \%attr;
 }
+
+
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;



More information about the Bps-public-commit mailing list