[Catalyst-commits] r7204 - in trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class: . lib/Catalyst lib/Catalyst/Authentication/Store/DBIx lib/Catalyst/Authentication/Store/DBIx/Class t

jayk at dev.catalyst.perl.org jayk at dev.catalyst.perl.org
Sun Dec 2 23:32:33 GMT 2007

Author: jayk
Date: 2007-12-02 23:32:33 +0000 (Sun, 02 Dec 2007)
New Revision: 7204

completing namespace change

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Makefile.PL
--- trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Makefile.PL	2007-12-02 23:24:04 UTC (rev 7203)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Makefile.PL	2007-12-02 23:32:33 UTC (rev 7204)
@@ -1,11 +1,11 @@
 use inc::Module::Install 0.67;
 if( -e 'MANIFEST.SKIP' ) {
-    system( 'pod2text lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm > README' );
+    system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' );
-name 'Catalyst-Plugin-Authentication-Store-DBIx-Class';
-all_from 'lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm';
+name 'Catalyst-Authentication-Store-DBIx-Class';
+all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm';
 perl_version '5.8.1';

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Authentication/Store/DBIx/Class/User.pm
--- trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Authentication/Store/DBIx/Class/User.pm	2007-12-02 23:24:04 UTC (rev 7203)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Authentication/Store/DBIx/Class/User.pm	2007-12-02 23:32:33 UTC (rev 7204)
@@ -1,8 +1,8 @@
-package Catalyst::Plugin::Authentication::Store::DBIx::Class::User;
+package Catalyst::Authentication::Store::DBIx::Class::User;
 use strict;
 use warnings;
-use base qw/Catalyst::Plugin::Authentication::User/;
+use base qw/Catalyst::Authentication::User/;
 use base qw/Class::Accessor::Fast/;
@@ -181,8 +181,8 @@
 =head1 NAME
-Catalyst::Plugin::Authentication::Store::DBIx::Class::User - The backing user
-class for the Catalyst::Plugin::Authentication::Store::DBIx::Class storage
+Catalyst::Authentication::Store::DBIx::Class::User - The backing user
+class for the Catalyst::Authentication::Store::DBIx::Class storage
 =head1 VERSION
@@ -192,7 +192,7 @@
 =head1 SYNOPSIS
 Internal - not used directly, please see
-L<Catalyst::Plugin::Authentication::Store::DBIx::Class> for details on how to
+L<Catalyst::Authentication::Store::DBIx::Class> for details on how to
 use this module. If you need more information than is present there, read the
@@ -200,7 +200,7 @@
-The Catalyst::Plugin::Authentication::Store::DBIx::Class::User class implements user storage
+The Catalyst::Authentication::Store::DBIx::Class::User class implements user storage
 connected to an underlying DBIx::Class schema object.

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Authentication/Store/DBIx/Class.pm
--- trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Authentication/Store/DBIx/Class.pm	2007-12-02 23:24:04 UTC (rev 7203)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Authentication/Store/DBIx/Class.pm	2007-12-02 23:32:33 UTC (rev 7204)
@@ -1,21 +1,23 @@
-package Catalyst::Plugin::Authentication::Store::DBIx::Class;
+package Catalyst::Authentication::Store::DBIx::Class;
 use strict;
 use warnings;
 use base qw/Class::Accessor::Fast/;
-our $VERSION= "0.11";
+our $VERSION= "0.10";
 sub new {
     my ( $class, $config, $app ) = @_;
     ## figure out if we are overriding the default store user class 
     $config->{'store_user_class'} = (exists($config->{'store_user_class'})) ? $config->{'store_user_class'} :
-                                        "Catalyst::Plugin::Authentication::Store::DBIx::Class::User";
+                                        "Catalyst::Authentication::Store::DBIx::Class::User";
     ## make sure the store class is loaded.
     Catalyst::Utils::ensure_class_loaded( $config->{'store_user_class'} );
@@ -87,7 +89,7 @@
 =head1 NAME
-Catalyst::Plugin::Authentication::Store::DBIx::Class - A storage class for Catalyst Authentication using DBIx::Class
+Catalyst::Authentication::Store::DBIx::Class - A storage class for Catalyst Authentication using DBIx::Class
 =head1 VERSION
@@ -140,7 +142,7 @@
-The Catalyst::Plugin::Authentication::Store::DBIx::Class class provides 
+The Catalyst::Authentication::Store::DBIx::Class class provides 
 access to authentication information stored in a database via DBIx::Class.
@@ -177,7 +179,7 @@
 =item class
-Class is part of the core Catalyst::Authentication::Plugin module, it
+Class is part of the core Catalyst::Plugin::Authentication module, it
 contains the class name of the store to be used.
 =item user_class
@@ -226,7 +228,7 @@
 This allows you to override the authentication user class that the 
 DBIx::Class store module uses to perform it's work.  Most of the
 work done in this module is actually done by the user class, 
-L<Catalyst::Plugin::Authentication::Store::DBIx::Class::User>, so
+L<Catalyst::Authentication::Store::DBIx::Class::User>, so
 overriding this doesn't make much sense unless you are using your
 own class to extend the functionality of the existing class.  
 Chances are you do not want to set this.
@@ -235,7 +237,7 @@
 =head1 USAGE 
-The L<Catalyst::Plugin::Authentication::Store::DBIx::Class> storage module
+The L<Catalyst::Authentication::Store::DBIx::Class> storage module
 is not called directly from application code.  You interface with it 
 through the $c->authenticate() call.  
@@ -269,7 +271,7 @@
 directly but it's encryption and comparison with the value provided is usually
 handled by the Password Credential. Part of the Password Credential's behavior
 is to remove the password argument from the authinfo that is passed to the
-storage module. See L<Catalyst::Plugin::Authentication::Credential::Password>.
+storage module. See L<Catalyst::Authentication::Credential::Password>.
 One thing you need to know about this retrieval method is that the name
 portion of the pair is checked against the user class' column list. Pairs are
@@ -370,11 +372,12 @@
 words, it will not use the same arguments you used to request the user initially. 
 This is especially important to those using the advanced methods of user retrieval. 
 If you need more complicated logic when reviving the user from the session, you will
-most likely want to subclass the L<Catalyst::Plugin::Authentication::Store::DBIx::Class::User> class 
+most likely want to subclass the L<Catalyst::Authentication::Store::DBIx::Class::User> class 
 and provide your own for_session and from_session routines.
 =head1 METHODS
 There are no publicly exported routines in the DBIx::Class authentication 
@@ -383,28 +386,29 @@
 for all authentication stores.  Please see the documentation for 
 L<Catalyst::Plugin::Authentication::Internals> for more information.
-=head2 new( $config, $app )
+=head2 new ( $config, $app )
 Constructs a new store object.
-=head2 find_user( $authinfo, $c ) 
+=head2 find_user ( $authinfo, $c ) 
 Finds a user using the information provided in the $authinfo hashref and
 returns the user, or undef on failure; This is usually called from the
 Credential. This translates directly to a call to
-L<Catalyst::Plugin::Authentication::Store::DBIx::Class::User>'s load() method.
+L<Catalyst::Authentication::Store::DBIx::Class::User>'s load() method.
-=head2 for_session( $c, $user )
+=head2 for_session ( $c, $user )
 Prepares a user to be stored in the session. Currently returns the value of
 the user's id field - (as indicated by the 'id_field' config element)
-=head2 from_session( $c, $frozenuser)
+=head2 from_session ( $c, $frozenuser)
 Revives a user from the session based on the info provided in $frozenuser.
 Currently treats $frozenuser as an id and retrieves a user with a matching id.
-=head2 user_supports( )
+=head2 user_supports
 Provides information about what the user object supports.  

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/t/00-load.t
--- trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/t/00-load.t	2007-12-02 23:24:04 UTC (rev 7203)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/t/00-load.t	2007-12-02 23:32:33 UTC (rev 7204)
@@ -3,7 +3,7 @@
 use Test::More tests => 1;
-	use_ok( 'Catalyst::Plugin::Authentication::Store::DBIx::Class' );
+	use_ok( 'Catalyst::Authentication::Store::DBIx::Class' );
-diag( "Testing Catalyst::Plugin::Authentication::Store::DBIx::Class $Catalyst::Plugin::Authentication::Store::DBIx::Class::VERSION, Perl $], $^X" );
+diag( "Testing Catalyst::Authentication::Store::DBIx::Class $Catalyst::Authentication::Store::DBIx::Class::VERSION, Perl $], $^X" );

More information about the Catalyst-commits mailing list