[Catalyst-commits] r12212 - in Catalyst-Devel/1.00/trunk/share: lib
lib/MyApp/Controller script t
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Sun Dec 6 13:45:34 GMT 2009
Author: rafl
Date: 2009-12-06 13:45:33 +0000 (Sun, 06 Dec 2009)
New Revision: 12212
Modified:
Catalyst-Devel/1.00/trunk/share/lib/MyApp.pm.tt
Catalyst-Devel/1.00/trunk/share/lib/MyApp/Controller/Root.pm.tt
Catalyst-Devel/1.00/trunk/share/script/myapp_fastcgi.pl.tt
Catalyst-Devel/1.00/trunk/share/script/myapp_server.pl.tt
Catalyst-Devel/1.00/trunk/share/script/myapp_test.pl.tt
Catalyst-Devel/1.00/trunk/share/t/01app.t.tt
Catalyst-Devel/1.00/trunk/share/t/02pod.t.tt
Catalyst-Devel/1.00/trunk/share/t/03podcoverage.t.tt
Catalyst-Devel/1.00/trunk/share/t/comptest.tt
Log:
sometimes consistency is not a bad thing either.
Modified: Catalyst-Devel/1.00/trunk/share/lib/MyApp/Controller/Root.pm.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/lib/MyApp/Controller/Root.pm.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/lib/MyApp/Controller/Root.pm.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -65,3 +65,5 @@
=cut
__PACKAGE__->meta->make_immutable;
+
+1;
Modified: Catalyst-Devel/1.00/trunk/share/lib/MyApp.pm.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/lib/MyApp.pm.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/lib/MyApp.pm.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -13,7 +13,7 @@
# directory
use Catalyst qw/
- -Debug
+ -Debug
ConfigLoader
Static::Simple
/;
@@ -33,9 +33,9 @@
# local deployment.
__PACKAGE__->config(
- name => '[% name %]',
- # Disable deprecated behavior needed by old applications
- disable_component_resolution_regex_fallback => 1,
+ name => '[% name %]',
+ # Disable deprecated behavior needed by old applications
+ disable_component_resolution_regex_fallback => 1,
);
# Start the application
Modified: Catalyst-Devel/1.00/trunk/share/script/myapp_fastcgi.pl.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/script/myapp_fastcgi.pl.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/script/myapp_fastcgi.pl.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -1,7 +1,7 @@
[% startperl %]
use Catalyst::ScriptRunner;
-Catalyst::ScriptRunner->run('[% name %]','FastCGI');
+Catalyst::ScriptRunner->run('[% name %]', 'FastCGI');
1;
Modified: Catalyst-Devel/1.00/trunk/share/script/myapp_server.pl.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/script/myapp_server.pl.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/script/myapp_server.pl.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -1,7 +1,7 @@
[% startperl %]
BEGIN {
- $ENV{CATALYST_SCRIPT_GEN} = [% scriptgen %]
+ $ENV{CATALYST_SCRIPT_GEN} = [% scriptgen %];
}
use Catalyst::ScriptRunner;
Modified: Catalyst-Devel/1.00/trunk/share/script/myapp_test.pl.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/script/myapp_test.pl.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/script/myapp_test.pl.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -1,7 +1,7 @@
[% startperl %]
use Catalyst::ScriptRunner;
-Catalyst::ScriptRunner->run('[% name %]','Test');
+Catalyst::ScriptRunner->run('[% name %]', 'Test');
1;
Modified: Catalyst-Devel/1.00/trunk/share/t/01app.t.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/t/01app.t.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/t/01app.t.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -8,4 +8,3 @@
ok( request('/')->is_success, 'Request should succeed' );
done_testing();
-1;
Modified: Catalyst-Devel/1.00/trunk/share/t/02pod.t.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/t/02pod.t.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/t/02pod.t.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -8,4 +8,3 @@
plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
all_pod_files_ok();
-1;
Modified: Catalyst-Devel/1.00/trunk/share/t/03podcoverage.t.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/t/03podcoverage.t.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/t/03podcoverage.t.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -8,4 +8,3 @@
plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
all_pod_coverage_ok();
-1;
Modified: Catalyst-Devel/1.00/trunk/share/t/comptest.tt
===================================================================
--- Catalyst-Devel/1.00/trunk/share/t/comptest.tt 2009-12-06 13:45:26 UTC (rev 12211)
+++ Catalyst-Devel/1.00/trunk/share/t/comptest.tt 2009-12-06 13:45:33 UTC (rev 12212)
@@ -5,7 +5,7 @@
eval "use Test::WWW::Mechanize::Catalyst '[% name %]'";
if ($@) {
plan skip_all => 'Test::WWW::Mechanize::Catalyst required';
- exit 0;
+ exit 0;
}
ok( my $mech = Test::WWW::Mechanize::Catalyst->new, 'Created mech object' );
@@ -24,4 +24,3 @@
[% END -%]
done_testing();
-1;
More information about the Catalyst-commits
mailing list