projects
/
gitmo/Perl-Critic-Dynamic-Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1ad5292
)
Do not make immutable :(
Shawn M Moore [Sun, 26 Apr 2009 00:47:23 +0000 (20:47 -0400)]
lib/Perl/Critic/Policy/Dynamic/Moose.pm
patch
|
blob
|
blame
|
history
lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Perl/Critic/Policy/Dynamic/Moose.pm
b/lib/Perl/Critic/Policy/Dynamic/Moose.pm
index
8b71691
..
5d5aad3
100644
(file)
--- a/
lib/Perl/Critic/Policy/Dynamic/Moose.pm
+++ b/
lib/Perl/Critic/Policy/Dynamic/Moose.pm
@@
-63,7
+63,6
@@
sub find_packages {
@{ $doc->find('PPI::Statement::Package') || [] };
}
-__PACKAGE__->meta->make_immutable;
no Moose;
1;
diff --git
a/lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm
b/lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm
index
bab0707
..
657e3fc
100644
(file)
--- a/
lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm
+++ b/
lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm
@@
-25,7
+25,6
@@
sub violates_metaclass {
return @violations;
}
-__PACKAGE__->meta->make_immutable;
no Moose;
1;