[libdancer-plugin-rest-perl] 42/63: Fixing typos and grammar.

Jonas Smedegaard dr at jones.dk
Wed Jul 2 11:44:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 05253484f71c96ba48ee135ca8b1a4482d30c214
Author: James Aitken <loonypandora at gmail.com>
Date:   Sun Jan 2 21:03:09 2011 +0000

    Fixing typos and grammar.
---
 lib/Dancer/Plugin/REST.pm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index b47f072..8239a51 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -177,13 +177,13 @@ Dancer::Plugin::REST - A plugin for writing RESTful apps with Dancer
     };
 
     # curl http://mywebservice/user/42.json
-    { "id": 42, "name": "John Foo", email: "jhon.foo at example.com"}
+    { "id": 42, "name": "John Foo", email: "john.foo at example.com"}
 
     # curl http://mywebservice/user/42.yml
     --
     id: 42
     name: "John Foo"
-    email: "jhon.foo at example.com"
+    email: "john.foo at example.com"
 
 =head1 DESCRIPTION
 
@@ -193,14 +193,14 @@ This plugin helps you write a RESTful webservice with Dancer.
 
 =head2 prepare_serializer_for_format
 
-When this pragam is used a before filter is set by the plugin to automatically
+When this pragma is used, a before filter is set by the plugin to automatically
 change the serializer when a format is detected in the URI.
 
 That means that each route you define with a B<:format> token will trigger a
-serializer defintion, if the format is known.
+serializer definition, if the format is known.
 
-This lets you define all the REST action you like aas regular Dancer route
-handlers, without taking care of the outgoing data format.
+This lets you define all the REST actions you like as regular Dancer route
+handlers, without explicitly handling the outgoing data format.
 
 =head2 resource
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git



More information about the Pkg-perl-cvs-commits mailing list