[Catalyst-commits] r7558 - in trunk/Catalyst-Plugin-StackTrace: .
lib/Catalyst/Plugin
matthewt at dev.catalyst.perl.org
matthewt at dev.catalyst.perl.org
Fri Apr 4 16:02:01 BST 2008
Author: matthewt
Date: 2008-04-04 16:01:59 +0100 (Fri, 04 Apr 2008)
New Revision: 7558
Removed:
trunk/Catalyst-Plugin-StackTrace/Build.PL
Modified:
trunk/Catalyst-Plugin-StackTrace/Changes
trunk/Catalyst-Plugin-StackTrace/Makefile.PL
trunk/Catalyst-Plugin-StackTrace/lib/Catalyst/Plugin/StackTrace.pm
Log:
0.07 changes
Deleted: trunk/Catalyst-Plugin-StackTrace/Build.PL
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/Build.PL 2008-04-04 11:24:08 UTC (rev 7557)
+++ trunk/Catalyst-Plugin-StackTrace/Build.PL 2008-04-04 15:01:59 UTC (rev 7558)
@@ -1,18 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
- create_makefile_pl => 'passthrough',
- license => 'perl',
- module_name => 'Catalyst::Plugin::StackTrace',
- requires => {
- 'Catalyst' => '5.61',
- 'Devel::StackTrace' => 0,
- },
- create_makefile_pl => 'passthrough',
- create_readme => 1,
- test_files => [
- glob('t/*.t')
- ]
-);
-$build->create_build_script;
Modified: trunk/Catalyst-Plugin-StackTrace/Changes
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/Changes 2008-04-04 11:24:08 UTC (rev 7557)
+++ trunk/Catalyst-Plugin-StackTrace/Changes 2008-04-04 15:01:59 UTC (rev 7558)
@@ -1,5 +1,9 @@
Revision history for Perl extension Catalyst::Plugin::StackTrace
+0.07 2008-02-01 13:00:00
+ - actually, the $@ reset is fairly general - need to die($error)
+ no matter what.
+
0.06 2006-07-25 11:52:15
- fixed bug where $@ would get reset for exception objects
- changed stylesheets to match Catalyst 5.7000
Modified: trunk/Catalyst-Plugin-StackTrace/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/Makefile.PL 2008-04-04 11:24:08 UTC (rev 7557)
+++ trunk/Catalyst-Plugin-StackTrace/Makefile.PL 2008-04-04 15:01:59 UTC (rev 7558)
@@ -1,31 +1,9 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
-
- unless (eval "use Module::Build::Compat 0.02; 1" ) {
- print "This module requires Module::Build to install itself.\n";
-
- require ExtUtils::MakeMaker;
- my $yn = ExtUtils::MakeMaker::prompt
- (' Install Module::Build now from CPAN?', 'y');
-
- unless ($yn =~ /^y/i) {
- die " *** Cannot install without Module::Build. Exiting ...\n";
- }
-
- require Cwd;
- require File::Spec;
- require CPAN;
-
- # Save this 'cause CPAN will chdir all over the place.
- my $cwd = Cwd::cwd();
-
- CPAN::Shell->install('Module::Build::Compat');
- CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
- or die "Couldn't install Module::Build, giving up.\n";
-
- chdir $cwd or die "Cannot chdir() back to $cwd: $!";
- }
- eval "use Module::Build::Compat 0.02; 1" or die $@;
-
- Module::Build::Compat->run_build_pl(args => \@ARGV);
- require Module::Build;
- Module::Build::Compat->write_makefile(build_class => 'Module::Build');
+use inc::Module::Install;
+
+name('Catalyst-Plugin-StackTrace');
+all_from('lib/Catalyst/Plugin/StackTrace.pm');
+
+requires 'Catalyst' => '5.70';
+requires 'Devel::StackTrace';
+
+WriteAll;
Modified: trunk/Catalyst-Plugin-StackTrace/lib/Catalyst/Plugin/StackTrace.pm
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/lib/Catalyst/Plugin/StackTrace.pm 2008-04-04 11:24:08 UTC (rev 7557)
+++ trunk/Catalyst-Plugin-StackTrace/lib/Catalyst/Plugin/StackTrace.pm 2008-04-04 15:01:59 UTC (rev 7558)
@@ -2,13 +2,14 @@
use strict;
use warnings;
+use 5.008001;
use base qw/Class::Accessor::Fast/;
use Devel::StackTrace;
use HTML::Entities;
use Scalar::Util qw/blessed/;
use NEXT;
-our $VERSION = '0.06';
+our $VERSION = '0.07';
__PACKAGE__->mk_accessors('_stacktrace');
More information about the Catalyst-commits
mailing list