[jifty-devel] small patch

Jesse Vincent jesse at bestpractical.com
Sun Feb 12 20:26:07 EST 2006


Thanks! Applied.



On Sun, Feb 12, 2006 at 06:05:09PM -0500, Ben Cornett wrote:
> very  minor

> diff -ru jifty.old/lib/Jifty/Action.pm jifty/lib/Jifty/Action.pm
> --- jifty.old/lib/Jifty/Action.pm	2006-02-12 17:54:13.000000000 -0500
> +++ jifty/lib/Jifty/Action.pm	2006-02-12 15:40:31.000000000 -0500
> @@ -139,7 +139,7 @@
>  This routine, unsurprisingly, actually runs the action.
>  
>  If the result of the action is currently a success (validation did not
> -fail), then calls L</take_action>, and finally L</cleanup>.
> +fail), C<run> calls L</take_action>, and finally L</cleanup>.
>  
>  =cut
>  
> @@ -213,9 +213,9 @@
>  
>  =head2 cleanup
>  
> -Perform any action specific cleanup.  By default, does nothing.
> +Perform any action-specific cleanup.  By default, does nothing.
>  
> -Runs after take_action -- whether or not take_action returns success.
> +Runs after L</take_action> -- whether or not L</take_action> returns success.
>  
>  =cut
>  
> Only in jifty/lib/Jifty: Action.pm~
> diff -ru jifty.old/lib/Jifty/Bootstrap.pm jifty/lib/Jifty/Bootstrap.pm
> --- jifty.old/lib/Jifty/Bootstrap.pm	2006-02-12 17:54:13.000000000 -0500
> +++ jifty/lib/Jifty/Bootstrap.pm	2006-02-12 14:58:44.000000000 -0500
> @@ -9,7 +9,7 @@
>  
>  C<Jifty::Bootstrap> is an abstract base class for your application's
>  bootstrapping.  Use it to set up initial data in your database when
> -your application if first installed.
> +your application is first installed.
>  
>  =cut
>  
> @@ -19,8 +19,9 @@
>  
>  =head2 run
>  
> -C<run> is the workhorse method for the Bootstrap class. This takes care of setting up 
> -internal datastrutures and initializing things, in an application-dependent manner.
> +C<run> is the workhorse method for the Bootstrap class.  This takes care of
> +setting up internal data structures and initializing things in an
> +application-dependent manner.
>  
>  =cut
>  
> Only in jifty/lib/Jifty: Bootstrap.pm~
> diff -ru jifty.old/lib/Jifty/Config.pm jifty/lib/Jifty/Config.pm
> --- jifty.old/lib/Jifty/Config.pm	2006-02-12 17:54:13.000000000 -0500
> +++ jifty/lib/Jifty/Config.pm	2006-02-12 15:44:28.000000000 -0500
> @@ -73,7 +73,7 @@
>  C<JIFTY_CONFIG> environment variable or C<etc/config.yml> under the
>  application's base directory.
>  
> -It uses the main contifuration file to find a vendor configuration
> +It uses the main configuration file to find a vendor configuration
>  file -- if it doesn't find a framework variable named 'VendorConfig',
>  it will use the C<JIFTY_VENDOR_CONFIG> environment variable.
>  
> Only in jifty/lib/Jifty: Config.pm~
> diff -ru jifty.old/lib/Jifty/Dispatcher.pm jifty/lib/Jifty/Dispatcher.pm
> --- jifty.old/lib/Jifty/Dispatcher.pm	2006-02-12 17:54:13.000000000 -0500
> +++ jifty/lib/Jifty/Dispatcher.pm	2006-02-12 13:36:13.000000000 -0500
> @@ -286,7 +286,7 @@
>          push @{ $pkg . '::ISA' }, $class;
>      }
>  
> -    $class->export_to_level( 1, @_ );
> +    $class->export_to_level( 1, @args );
>  }
>  
>  ###################################################
> Only in jifty/lib/Jifty: Dispatcher.pm~
> diff -ru jifty.old/lib/Jifty/Web.pm jifty/lib/Jifty/Web.pm
> --- jifty.old/lib/Jifty/Web.pm	2006-02-12 17:54:14.000000000 -0500
> +++ jifty/lib/Jifty/Web.pm	2006-02-12 15:20:29.000000000 -0500
> @@ -457,14 +457,14 @@
>  
>  C<MONIKER> is a unique designator of an action on a page.  The moniker
>  is content-free and non-fattening, and may be auto-generated.  It is
> -used to tie together argumentss that relate to the same action.
> +used to tie together arguments that relate to the same action.
>  
>  C<ORDER> defines the order in which the action is run, with lower
>  numerical values running first.
>  
>  C<ARGUMENTS> are passed to the L<Jifty::Action/new> method.  In
>  addition, if the current request (C<$self->request>) contains an
> -action with a matching moniker, any arguments thare are in that
> +action with a matching moniker, any arguments that are in that
>  requested action but not in the C<PARAMHASH> list are set.  This
>  implements "sticky fields".
>  
> Only in jifty/lib/Jifty: Web.pm~
> diff -ru jifty.old/lib/Jifty.pm jifty/lib/Jifty.pm
> --- jifty.old/lib/Jifty.pm	2006-02-12 17:54:14.000000000 -0500
> +++ jifty/lib/Jifty.pm	2006-02-12 13:32:00.000000000 -0500
> @@ -70,7 +70,7 @@
>  This class method instantiates a new C<Jifty> object. This object
>  deals with configuration files, logging and database handles for the
>  system.  Most of the time, the server will call this for you to set up
> -your C<Jifty> object.  If you are writing command-line programs htat
> +your C<Jifty> object.  If you are writing command-line programs that
>  want to use your libraries (as opposed to web services) you will need
>  to call this yourself.
>  
> Only in jifty/lib: Jifty.pm~

> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel


-- 


More information about the jifty-devel mailing list