From 89abd83f7fb36dd68306ef11dc09a175cdca05f7 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Thu, 20 Sep 2012 22:50:48 -0400 Subject: [PATCH] make it its own dist --- dist.ini | 2 +- .../{MainMethod/Compiler.pm => Compiler/Strict.pm} | 0 lib/MasonX/MainMethod/Component.pm | 11 ----------- 3 files changed, 1 insertion(+), 12 deletions(-) rename lib/MasonX/{MainMethod/Compiler.pm => Compiler/Strict.pm} (100%) delete mode 100644 lib/MasonX/MainMethod/Component.pm diff --git a/dist.ini b/dist.ini index a7e621c..43780e5 100644 --- a/dist.ini +++ b/dist.ini @@ -1,4 +1,4 @@ -name = MasonX-MainMethod +name = MasonX-Compiler-Strict author = Ricardo Signes license = Perl_5 copyright_holder = Ricardo Signes diff --git a/lib/MasonX/MainMethod/Compiler.pm b/lib/MasonX/Compiler/Strict.pm similarity index 100% rename from lib/MasonX/MainMethod/Compiler.pm rename to lib/MasonX/Compiler/Strict.pm diff --git a/lib/MasonX/MainMethod/Component.pm b/lib/MasonX/MainMethod/Component.pm deleted file mode 100644 index 0504a58..0000000 --- a/lib/MasonX/MainMethod/Component.pm +++ /dev/null @@ -1,11 +0,0 @@ -use strict; -use warnings; -package MasonX::MainMethod::Component; -use parent 'HTML::Mason::Component::FileBased'; - -sub run { - my $self = shift; - $self->call_method(main => @_); -} - -1;