- Fix tests generated for controllers generated with --mechanize
to work with newer versions of Test::WWW::Mechanize::Catalyst
- bump Module::Install dep to 1.02
- - Removed stderr hiding from 'make catalyst_par' to display errors
+ - Removed stderr hiding from 'make catalyst_par' to display errors
from PAR::Packer
1.35 2011-09-05 13:05:00
- Stop requiring Starman and MooseX::Daemonize on Win32 as they're
optional components in Catalyst::Runtime and won't install
on Windows.
- - Fix test to work on Windows.
+ - Fix test to work on Windows.
1.34 2011-08-16 09:02:00
- Bump required version of Catalyst to 5.9
The C<Catalyst-Devel> distribution includes a variety of modules useful
for the development of Catalyst applications, but not required to run
them. This is intended to make it easier to deploy Catalyst apps. The
-runtime parts of Catalyst are now known as C<Catalyst::Runtime>.
+runtime parts of Catalyst are now known as C<Catalyst::Runtime>.
C<Catalyst-Devel> includes the L<Catalyst::Helper> system, which
autogenerates scripts and tests; L<Module::Install::Catalyst>, a
$file .= '.new';
}
}
-
+
if ( my $f = IO::File->new("> $file") ) {
binmode $f;
print $f $content;
chomp $example1;
my $example2 = $helper->get_file('MyTestHelper', 'example2');
-chomp $example2;
+chomp $example2;
is $example1, 'foobar[% test_var %]';
#seek $fh, 0, 0; # Rewind
my $contents;
{
- local $/;
+ local $/;
$contents = <$fh>;
}
is $contents, "foobartest_val\n";
ok( $helper->render_file_contents('example1', $fn,
{ test_var => 'test_val' }, 0677
),
- "file contents rendered" );
+ "file contents rendered" );
ok -r $fn;
ok -s $fn;
my $perms = ( stat $fn )[2] & 07777;
my ($fh, $fn) = tempfile;
close $fh;
-ok( $helper->render_sharedir_file('script/myapp_cgi.pl.tt', $fn, { appprefix => 'fnargh' }), "sharedir file rendered" );
+ok( $helper->render_sharedir_file('script/myapp_cgi.pl.tt', $fn, { appprefix => 'fnargh' }), "sharedir file rendered" );
ok -r $fn;
ok -s $fn;
unlink $fn;