From: Matt S Trout Date: Thu, 22 Jun 2006 15:15:26 +0000 (+0000) Subject: moved version to ::Runtime, modified Makefile.PL X-Git-Tag: 5.7099_04~473 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=341d40d18a7ac30a9731e6da4c90525fc13b75a3 moved version to ::Runtime, modified Makefile.PL --- diff --git a/Makefile.PL b/Makefile.PL index 02e76df..ec2aca7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,8 +2,8 @@ use inc::Module::Install 0.62; perl_version '5.8.1'; -name 'Catalyst'; -all_from 'lib/Catalyst.pm'; +name 'Catalyst-Runtime'; +all_from 'lib/Catalyst/Runtime.pm'; requires 'perl' => '5.8.1'; requires 'Carp'; @@ -65,9 +65,8 @@ print <<"EOF"; Install Task::Catalyst to get everything you need to start writing serious applications with Catalyst. - Note that Catalyst::Helper has been split into a separate distribution, - and is required for using catalyst.pl to make new distributions. It is - included with Task::Catalyst + For development and use of catalyst.pl and myapp_create.pl, make sure + you also install the development tools package Catalyst::Devel. perl -MCPANPLUS -e 'install Task::Catalyst' perl -MCPAN -e 'install Task::Catalyst' diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index d4a70c3..0d05976 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -10,6 +10,7 @@ use Catalyst::Request::Upload; use Catalyst::Response; use Catalyst::Utils; use Catalyst::Controller; +use Catalyst::Runtime; use Devel::InnerPackage (); use File::stat; use Module::Pluggable::Object; @@ -59,7 +60,7 @@ __PACKAGE__->engine_class('Catalyst::Engine::CGI'); __PACKAGE__->request_class('Catalyst::Request'); __PACKAGE__->response_class('Catalyst::Response'); -our $VERSION = '5.6902'; +our $VERSION = $Catalyst::Runtime::VERSION; sub import { my ( $class, @arguments ) = @_; diff --git a/lib/Catalyst/Runtime.pm b/lib/Catalyst/Runtime.pm index c46fb5a..9d63233 100644 --- a/lib/Catalyst/Runtime.pm +++ b/lib/Catalyst/Runtime.pm @@ -1,8 +1,11 @@ package Catalyst::Runtime; use strict; +use warnings; -our $VERSION='5.70'; +BEGIN { require 5.008001; } + +our $VERSION='5.70_01'; =head1 NAME