Added documentation and CPAN requirements updates from Daisuke Maki
adam [Fri, 1 Dec 2006 01:31:32 +0000 (01:31 +0000)]
Added Daisuke Maki to the Contributers section
Updated the Changelog for release
Added a MANIFEST.SKIP

Changelog
MANIFEST.SKIP [new file with mode: 0644]
Makefile.PL
lib/Catalyst/Action/REST.pm
lib/Catalyst/Controller/REST.pm

index 92584e9..4b4d0d8 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,8 @@
-Sun Nov 19 16:24:20 PST 2006 (adam)
+Thu Nov 30 17:14:51 PST 2006 (adam) - Release 0.2
+       Added documentation patch from Daisuke Maki (daisuke@endeworks.jp)
+       Added dependency patch from Daisuke Maki (daisuke@endeworks.jp)
+
+Sun Nov 19 16:24:20 PST 2006 (adam) - Release 0.1
        Added status_accepted (Code 202)
        Added a first pass at documentation.
 
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644 (file)
index 0000000..53f45c5
--- /dev/null
@@ -0,0 +1,18 @@
+# Version control files and dirs.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.svn\b
+
+# Makemaker generated files and dirs.
+^MANIFEST\.
+^Makefile$
+^blib/
+^MakeMaker-\d
+
+# Temp, old and emacs backup files.
+~$
+\.old$
+^#.*#$
+^\.#
+
index eb9a46d..a1e14ab 100644 (file)
@@ -5,13 +5,16 @@ perl_version '5.8.1';
 name 'Catalyst-Action-REST';
 all_from 'lib/Catalyst/Action/REST.pm';
 
-'Catalyst'                  => '5.7001',
-'Params::Validate'          => '0.76',
-'YAML::Syck'                => '0.67',
-'Module::Pluggable::Object' => undef,
-'LWP::UserAgent'            => '2.033',
-'Data::Serializer'          => '0.36',
-'Class::Inspector'          => '1.13',
+requires('Catalyst'                  => '5.7001');
+requires('Params::Validate'          => '0.76');
+requires('YAML::Syck'                => '0.67');
+requires('Module::Pluggable::Object' => undef);
+requires('LWP::UserAgent'            => '2.033');
+requires('Data::Serializer'          => '0.36');
+requires('Class::Inspector'          => '1.13');
+
+auto_include;
+auto_install;
 
 WriteAll;
 
index 9adb921..af24f0e 100644 (file)
@@ -15,7 +15,7 @@ use Class::Inspector;
 use 5.8.1;
 
 my 
-$VERSION = '0.1';
+$VERSION = '0.2';
 
 =head1 NAME
 
@@ -110,6 +110,10 @@ Adam Jacob <adam@stalecoffee.org>, with lots of help from mst and jrockway
 
 Marchex, Inc. paid me while I developed this module.  (http://www.marchex.com)
 
+=head1 CONTRIBUTERS
+
+Daisuke Maki <daisuke@endeworks.jp>
+
 =head1 LICENSE
 
 You may distribute this code under the same terms as Perl itself.
index c2393ec..892fb9b 100644 (file)
@@ -175,6 +175,8 @@ sub status_created {
     my $location;
     if (ref($p{'location'})) {
         $location = $p{'location'}->as_string;
+    } else {
+        $location = $p{'location'};
     }
     $c->response->status(201);
     $c->response->header('Location' => $location);
@@ -220,9 +222,7 @@ Example:
 
   $self->status_bad_request(
     $c, 
-    entity => {
-        message => "Cannot do what you have asked!",
-    }
+    message => "Cannot do what you have asked!",
   );
 
 =cut
@@ -251,9 +251,7 @@ Example:
 
   $self->status_not_found(
     $c, 
-    entity => {
-        message => "Cannot find what you were looking for!",
-    }
+    message => "Cannot find what you were looking for!",
   );
 
 =cut