[Bps-public-commit] r17498 - in Net-Trac/trunk: .

trs at bestpractical.com trs at bestpractical.com
Wed Dec 31 16:20:23 EST 2008


Author: trs
Date: Wed Dec 31 16:20:23 2008
New Revision: 17498

Modified:
   Net-Trac/trunk/   (props changed)
   Net-Trac/trunk/lib/Net/Trac/Connection.pm
   Net-Trac/trunk/lib/Net/Trac/Mechanize.pm
   Net-Trac/trunk/lib/Net/Trac/Ticket.pm
   Net-Trac/trunk/lib/Net/Trac/TicketAttachment.pm
   Net-Trac/trunk/lib/Net/Trac/TicketHistory.pm
   Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm
   Net-Trac/trunk/lib/Net/Trac/TicketPropChange.pm
   Net-Trac/trunk/lib/Net/Trac/TicketSearch.pm

Log:
 r43334 at zot:  tom | 2008-12-31 15:37:22 -0500
 Add Moose boilerplate to every class


Modified: Net-Trac/trunk/lib/Net/Trac/Connection.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/Connection.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/Connection.pm	Wed Dec 31 16:20:23 2008
@@ -121,4 +121,7 @@
     return $data;
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Net-Trac/trunk/lib/Net/Trac/Mechanize.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/Mechanize.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/Mechanize.pm	Wed Dec 31 16:20:23 2008
@@ -1,4 +1,3 @@
-
 package Net::Trac::Mechanize;
 use Moose;
 extends 'WWW::Mechanize';
@@ -10,4 +9,8 @@
     my $self = shift;
     return ( $self->trac_user => $self->trac_password );
 }
+
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Net-Trac/trunk/lib/Net/Trac/Ticket.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/Ticket.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/Ticket.pm	Wed Dec 31 16:20:23 2008
@@ -265,5 +265,9 @@
 }
 
 #http://barnowl.mit.edu/ticket/36?format=tab
+
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;
 

Modified: Net-Trac/trunk/lib/Net/Trac/TicketAttachment.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/TicketAttachment.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/TicketAttachment.pm	Wed Dec 31 16:20:23 2008
@@ -79,4 +79,7 @@
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Net-Trac/trunk/lib/Net/Trac/TicketHistory.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/TicketHistory.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/TicketHistory.pm	Wed Dec 31 16:20:23 2008
@@ -56,4 +56,7 @@
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm	Wed Dec 31 16:20:23 2008
@@ -88,4 +88,7 @@
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Net-Trac/trunk/lib/Net/Trac/TicketPropChange.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/TicketPropChange.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/TicketPropChange.pm	Wed Dec 31 16:20:23 2008
@@ -5,4 +5,7 @@
 has old_value => ( isa => 'Str', is => 'rw' );
 has new_value => ( isa => 'Str', is => 'rw' );
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;

Modified: Net-Trac/trunk/lib/Net/Trac/TicketSearch.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/TicketSearch.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/TicketSearch.pm	Wed Dec 31 16:20:23 2008
@@ -35,5 +35,8 @@
     return $self->results( \@tickets );
 }
 
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
 1;
 



More information about the Bps-public-commit mailing list