[Catalyst-commits] r7890 - in trunk/Catalyst-Engine-Server: . lib/Catalyst/Engine

marcus at dev.catalyst.perl.org marcus at dev.catalyst.perl.org
Wed Jun 4 09:13:48 BST 2008


Author: marcus
Date: 2008-06-04 09:13:48 +0100 (Wed, 04 Jun 2008)
New Revision: 7890

Modified:
   trunk/Catalyst-Engine-Server/META.yml
   trunk/Catalyst-Engine-Server/Makefile.PL
   trunk/Catalyst-Engine-Server/README
   trunk/Catalyst-Engine-Server/lib/Catalyst/Engine/Server.pm
Log:
Deprecate

Modified: trunk/Catalyst-Engine-Server/META.yml
===================================================================
--- trunk/Catalyst-Engine-Server/META.yml	2008-06-04 05:34:45 UTC (rev 7889)
+++ trunk/Catalyst-Engine-Server/META.yml	2008-06-04 08:13:48 UTC (rev 7890)
@@ -1,10 +1,12 @@
 ---
 name: Catalyst-Engine-Server
-version: 0.02
+version: 0.03
 author:
-  - Christian Hansen, C<ch at ngmedia.com>
-abstract: Catalyst Server Engine
+  - 'Christian Hansen, C<ch at ngmedia.com>'
+abstract: Catalyst Server Engine *DEPRECATED*
 license: perl
+resources:
+  license: http://dev.perl.org/licenses/
 requires:
   Catalyst: 5.2
   HTTP::Parser: 0
@@ -14,7 +16,7 @@
 provides:
   Catalyst::Engine::Server:
     file: lib/Catalyst/Engine/Server.pm
-    version: 0.02
+    version: 0.03
   Catalyst::Engine::Server::Base:
     file: lib/Catalyst/Engine/Server/Base.pm
   Catalyst::Engine::Server::Fork:
@@ -31,4 +33,7 @@
     file: lib/Catalyst/Engine/Server/PreFork.pm
   Catalyst::Engine::Server::Single:
     file: lib/Catalyst/Engine/Server/Single.pm
-generated_by: Module::Build version 0.26
+generated_by: Module::Build version 0.2808
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.2.html
+  version: 1.2

Modified: trunk/Catalyst-Engine-Server/Makefile.PL
===================================================================
--- trunk/Catalyst-Engine-Server/Makefile.PL	2008-06-04 05:34:45 UTC (rev 7889)
+++ trunk/Catalyst-Engine-Server/Makefile.PL	2008-06-04 08:13:48 UTC (rev 7890)
@@ -17,15 +17,15 @@
       
       # Save this 'cause CPAN will chdir all over the place.
       my $cwd = Cwd::cwd();
-      my $makefile = File::Spec->rel2abs($0);
       
-      CPAN::Shell->install('Module::Build::Compat')
-	or die " *** Cannot install without Module::Build.  Exiting ...\n";
+      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 $@;
-    use lib '_build/lib';
+    
     Module::Build::Compat->run_build_pl(args => \@ARGV);
     require Module::Build;
     Module::Build::Compat->write_makefile(build_class => 'Module::Build');

Modified: trunk/Catalyst-Engine-Server/README
===================================================================
--- trunk/Catalyst-Engine-Server/README	2008-06-04 05:34:45 UTC (rev 7889)
+++ trunk/Catalyst-Engine-Server/README	2008-06-04 08:13:48 UTC (rev 7890)
@@ -1,5 +1,5 @@
 NAME
-    Catalyst::Engine::Server - Catalyst Server Engine
+    Catalyst::Engine::Server - Catalyst Server Engine *DEPRECATED*
 
 SYNOPSIS
     A script using the Catalyst::Engine::Server module might look like:
@@ -15,8 +15,12 @@
         MyApp->run;
 
 DESCRIPTION
-    This Catalyst engine provides a standalone server.
+  DEPRECATED
 
+    This module is no longer recommended, and does not work correctly with
+    latest versions of Catalyst. Please use Catalyst::Engine::HTTP, which is
+    included in the main Catalyst distribution.
+
 TODO
     Make HTTP/1.1 optional.
 
@@ -24,7 +28,7 @@
     Catalyst, Catalyst::Engine, Catalyst::Engine::Server::PreFork.
 
 AUTHOR
-    Christian Hansen, "ch at ngmedia.com"
+    Christian Hansen, `ch at ngmedia.com'
 
 COPYRIGHT
     This program is free software, you can redistribute it and/or modify it

Modified: trunk/Catalyst-Engine-Server/lib/Catalyst/Engine/Server.pm
===================================================================
--- trunk/Catalyst-Engine-Server/lib/Catalyst/Engine/Server.pm	2008-06-04 05:34:45 UTC (rev 7889)
+++ trunk/Catalyst-Engine-Server/lib/Catalyst/Engine/Server.pm	2008-06-04 08:13:48 UTC (rev 7890)
@@ -3,11 +3,11 @@
 use strict;
 use base 'Catalyst::Engine::Server::PreFork';
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
 =head1 NAME
 
-Catalyst::Engine::Server - Catalyst Server Engine
+Catalyst::Engine::Server - Catalyst Server Engine *DEPRECATED*
 
 =head1 SYNOPSIS
 
@@ -25,8 +25,12 @@
 
 =head1 DESCRIPTION
 
-This Catalyst engine provides a standalone server.
+=head2 DEPRECATED
 
+This module is no longer recommended, and does not work correctly with latest
+versions of Catalyst. Please use L<Catalyst::Engine::HTTP>, which is included
+in the main Catalyst distribution.
+
 =head1 TODO
 
 Make HTTP/1.1 optional.




More information about the Catalyst-commits mailing list