[Jifty-commit] jifty branch, master, updated. dd2a6a41e78f8ee1a96e16e54ead3db72c81dc59

Jifty commits jifty-commit at lists.jifty.org
Wed Dec 8 11:07:52 EST 2010


The branch, master has been updated
       via  dd2a6a41e78f8ee1a96e16e54ead3db72c81dc59 (commit)
      from  f6d7905a40c4b3411b21fa071a6a152818a3e091 (commit)

Summary of changes:
 lib/Jifty/Plugin/Compat.pm              |    7 ++++
 lib/Jifty/Plugin/Deflater.pm            |    7 ++++
 lib/Jifty/Request.pm                    |   54 +++++++++++++++++++++++++++++++
 lib/Jifty/TestServer.pm                 |   10 ++++++
 lib/Jifty/TestServer/Inline.pm          |   12 +++++++
 lib/Jifty/Web/Form/Field/OrderedList.pm |    4 ++
 6 files changed, 94 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit dd2a6a41e78f8ee1a96e16e54ead3db72c81dc59
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Dec 8 11:07:38 2010 -0500

    Update POD to pass coverage tests

diff --git a/lib/Jifty/Plugin/Compat.pm b/lib/Jifty/Plugin/Compat.pm
index 4fe4be7..652ae2c 100644
--- a/lib/Jifty/Plugin/Compat.pm
+++ b/lib/Jifty/Plugin/Compat.pm
@@ -26,6 +26,13 @@ Provides Jifty::Handler->apache for apps prior to ConfigFileVersion 5.
 
 TODO: this should also rebind STDIN/STDOUT in the per-request hook.
 
+=head1 METHODS
+
+=head2 wrap APP
+
+Wraps the provided Plack app in the compat layer. You'll never need to call
+this yourself.
+
 =cut
 
 *Jifty::Handler::apache = sub {
diff --git a/lib/Jifty/Plugin/Deflater.pm b/lib/Jifty/Plugin/Deflater.pm
index 8416e15..79f055b 100644
--- a/lib/Jifty/Plugin/Deflater.pm
+++ b/lib/Jifty/Plugin/Deflater.pm
@@ -23,6 +23,13 @@ Jifty::Plugin::Deflater - Handles Accept-Encoding and compression
 
 This plugin provides Accept-Encoding handling.
 
+=head1 METHODS
+
+=head2 wrap APP
+
+Wraps the provided Plack app with the deflation middleware.  You'll never need
+to call this yourself.
+
 =cut
 
 sub wrap {
diff --git a/lib/Jifty/Request.pm b/lib/Jifty/Request.pm
index ca98fd7..f9aabd3 100644
--- a/lib/Jifty/Request.pm
+++ b/lib/Jifty/Request.pm
@@ -105,6 +105,60 @@ independent fragments.  See L<Jifty::Web::PageRegion>.
 
 =back
 
+=head1 REQUEST PROPERTIES
+
+=head2 address
+
+=head2 arguments
+
+=head2 body
+
+=head2 content_length
+
+=head2 content_type
+
+=head2 cookies
+
+=head2 env
+
+=head2 header
+
+=head2 headers
+
+=head2 input
+
+=head2 method
+
+=head2 request_method (deprecated)
+
+=head2 path
+
+=head2 path_info
+
+=head2 port
+
+=head2 protocol
+
+=head2 referer
+
+=head2 remote_host
+
+=head2 request_uri
+
+=head2 scheme
+
+=head2 script_name
+
+=head2 secure
+
+=head2 uploads
+
+=head2 uri
+
+=head2 user
+
+=head2 user_agent
+
 =head1 METHODS
 
 =head2 BUILD PARAMHASH
diff --git a/lib/Jifty/TestServer.pm b/lib/Jifty/TestServer.pm
index 50e119d..f50daa2 100644
--- a/lib/Jifty/TestServer.pm
+++ b/lib/Jifty/TestServer.pm
@@ -23,6 +23,10 @@ Jifty::TestServer - Starting and stopping jifty server for tests
 Like started_ok in C<Test::HTTP::Server::Simple>, start the server and
 return the URL.
 
+=head2 BUILD
+
+Sets up the server instance.
+
 =cut
 
 sub BUILD {
@@ -94,6 +98,12 @@ sub started_ok {
     exit;
 }
 
+=head2 DEMOLISH
+
+Calls any cleanup handlers before exiting
+
+=cut
+
 sub DEMOLISH {
     $_->() for @{$_[0]->{cleanup}}
 }
diff --git a/lib/Jifty/TestServer/Inline.pm b/lib/Jifty/TestServer/Inline.pm
index 0fd5039..cc15fae 100644
--- a/lib/Jifty/TestServer/Inline.pm
+++ b/lib/Jifty/TestServer/Inline.pm
@@ -3,6 +3,18 @@ use Any::Moose;
 extends 'Jifty::TestServer';
 use Test::More;
 
+=head1 NAME
+
+Jifty::TestServer::Inline - an inline server for running tests
+
+=head1 METHODS
+
+=head2 started_ok
+
+Returns the URI for the test server.
+
+=cut
+
 sub started_ok {
     my $self = shift;
     my $port = $self->port;
diff --git a/lib/Jifty/Web/Form/Field/OrderedList.pm b/lib/Jifty/Web/Form/Field/OrderedList.pm
index 2eb134b..fdd2017 100644
--- a/lib/Jifty/Web/Form/Field/OrderedList.pm
+++ b/lib/Jifty/Web/Form/Field/OrderedList.pm
@@ -24,6 +24,10 @@ added to.
 
 Renders the select widget.
 
+=head2 accessors
+
+Returns the list of available accessors.
+
 =cut
 
 sub render_widget {

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list