Make Module::Build make README automatically.
Marcus Ramberg [Sat, 11 Jun 2005 23:13:14 +0000 (23:13 +0000)]
Build.PL
Changes
META.yml
README

index 5e706e7..ee417af 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -27,6 +27,7 @@ my $build = Module::Build->new(
         'URI'                               => 0,
     },
     create_makefile_pl => 'passthrough',
+    create_readme => 1,
     script_files => [ glob('script/*') ],
     test_files   => [
         glob('t/*.t'), glob('t/*/*.t'), glob('t/*/*/*.t'), glob('t/*/*/*/*.t')
diff --git a/Changes b/Changes
index c990258..1f7301e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 This file documents the revision history for Perl extension Catalyst.
 
 5.24  2005-06-03 02:30:00
+        - Make module build cons README automatically.
         - Prettify home path by resolving '..' (Andy Grundman)
         - Improved helper templates a bit, new naming scheme for tests...
         - Added support for case sensitivity, MyApp->config->{case_sensitive}
index 3fa913e..9da7e79 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,8 +1,8 @@
 ---
 name: Catalyst
-version: 5.23
+version: 5.24
 author:
-  - Sebastian Riedel, C<sri@oook.de>
+  - 'Sebastian Riedel, C<sri@oook.de>'
 abstract: The Elegant MVC Web Application Framework
 license: perl
 requires:
@@ -12,12 +12,12 @@ requires:
   File::Temp: 0.14
   HTML::Entities: 0
   HTTP::Daemon: 0
-  HTTP::Headers: 0
+  HTTP::Headers: 1.59
   HTTP::Request: 0
   HTTP::Response: 0
   LWP::UserAgent: 0
   Module::Pluggable::Fast: 0.16
-  Path::Class: 0
+  Path::Class: 0.09
   Template: 0
   Text::ASCIITable: 0
   Tree::Simple: 0
@@ -28,7 +28,7 @@ requires:
 provides:
   Catalyst:
     file: lib/Catalyst.pm
-    version: 5.23
+    version: 5.24
   Catalyst::Base:
     file: lib/Catalyst/Base.pm
   Catalyst::Build:
diff --git a/README b/README
index de2defe..5aa8638 100644 (file)
--- a/README
+++ b/README
@@ -30,10 +30,10 @@ SYNOPSIS
         sub index : Path('/index.html') {
             my ( $self, $c ) = @_;
             $c->res->output('Hello');
-            $c->forward('_foo');
+            $c->forward('foo');
         }
 
-        sub product : Regex('/^product[_]*(\d*).html$/') {
+        sub product : Regex('^product[_]*(\d*).html$') {
             my ( $self, $c ) = @_;
             $c->stash->{template} = 'product.tt';
             $c->stash->{product} = $c->req->snippets->[0];
@@ -101,12 +101,16 @@ METHODS
         Your log class should implement the methods described in the
         "Catalyst::Log" man page.
 
-LIMITATIONS
-    FCGI and mod_perl2 support are considered experimental and may contain
-    bugs.
+    $c->plugin( $name, $class, @args )
+        Instant plugins for Catalyst. Classdata accessor/mutator will be
+        created, class loaded and instantiated.
+
+            MyApp->plugin( 'prototype', 'HTML::Prototype' );
+
+            $c->prototype->define_javascript_functions;
 
-    You may encounter problems accessing the built in test server on public
-    ip addresses on the internet, thats because of a bug in HTTP::Daemon.
+LIMITATIONS
+    mod_perl2 support is considered experimental and may contain bugs.
 
 SUPPORT
     IRC:
@@ -118,6 +122,10 @@ SUPPORT
         http://lists.rawmode.org/mailman/listinfo/catalyst
         http://lists.rawmode.org/mailman/listinfo/catalyst-dev
 
+    Web:
+
+        http://catalyst.perl.org
+
 SEE ALSO
     Catalyst::Manual - The Catalyst Manual
     Catalyst::Engine - Core Engine
@@ -130,10 +138,11 @@ AUTHOR
     Sebastian Riedel, "sri@oook.de"
 
 THANK YOU
-    Andrew Ford, Andrew Ruthven, Christian Hansen, Christopher Hicks, Dan
-    Sully, Danijel Milicevic, David Naughton, Gary Ashton Jones, Jesse
-    Sheidlower, Johan Lindstrom, Marcus Ramberg, Tatsuhiko Miyagawa and all
-    the others who've helped.
+    Andy Grundman, Andrew Ford, Andrew Ruthven, Autrijus Tang, Christian
+    Hansen, Christopher Hicks, Dan Sully, Danijel Milicevic, David Naughton,
+    Gary Ashton Jones, Geoff Richards, Jesse Sheidlower, Jody Belka, Johan
+    Lindstrom, Juan Camacho, Leon Brocard, Marcus Ramberg, Tatsuhiko
+    Miyagawa and all the others who've helped.
 
 LICENSE
     This library is free software . You can redistribute it and/or modify it