switch to Module::Install
Matt S Trout [Tue, 17 Jul 2007 16:59:18 +0000 (16:59 +0000)]
r42033@cain (orig r6318):  bricas | 2007-04-26 19:14:11 +0000

Build.PL [deleted file]
Changes
Makefile.PL [new file with mode: 0644]
README

diff --git a/Build.PL b/Build.PL
deleted file mode 100644 (file)
index 2bb89ec..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,19 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
-    create_makefile_pl => 'traditional',
-    license            => 'perl',
-    module_name        => 'Catalyst::Plugin::Authentication',
-    requires           => {
-        'perl'                      => '5.8.1',
-        'Catalyst'                  => '5.49',
-        'Class::Inspector'          => 0,
-        'Catalyst::Plugin::Session' => '0.10',
-        'Tie::RefHash'              => '1.35',
-    },
-    create_readme => 1,
-    sign          => 1,
-);
-$build->create_build_script;
-
diff --git a/Changes b/Changes
index 5c37ef2..a626f42 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,16 +1,19 @@
 Revision history for Perl extension Catalyst::Plugin::Authentication
 
-0.09999_01     
+XXX     2007-04-26
+        - switch to Module::Install
+
+0.09999_01 2007-02-21
         - major changes to the internals of the plugin, to better encapsulate
           credentials and stores.
         - introduction of 'realms' concept, allowing multiple different
           pairs of credential and store in a single application.
 
-0.09
+0.09    2006-08-01
         - be a bit more pedantic about checking values for definedness before
           invoking methods on them
 
-0.08
+0.08    2006-07-29
         - factor test applications out to files due to changes in Catalyst::Test
         - don't load session at prepare time unless necessary
 
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..91ceaa0
--- /dev/null
@@ -0,0 +1,13 @@
+use inc::Module::Install 0.65;
+
+name 'Catalyst-Plugin-Authentication';
+all_from 'lib/Catalyst/Plugin/Authentication.pm';
+
+perl_version '5.8.1';
+
+requires 'Catalyst::Runtime';
+requires 'Class::Inspector';
+requires 'Catalyst::Plugin::Session' => '0.10';
+
+auto_install;
+WriteAll;
diff --git a/README b/README
index 1f632d2..d922019 100644 (file)
--- a/README
+++ b/README
@@ -151,7 +151,7 @@ EXAMPLE
                             }
                             }
                     };
-
+    
     This tells the authentication plugin what realms are available, which
     credential and store modules are used, and the configuration of each.
     With this code loaded, we can now attempt to authenticate users.
@@ -296,23 +296,20 @@ CONFIGURATION
                                         authserver => '192.168.10.17'
                                     }
                                 }
-                                
-                        }
+                        
+                                }
                         };
 
-        use_session
-
+    use_session
         Whether or not to store the user's logged in state in the session,
         if the application is also using Catalyst::Plugin::Session. This
         value is set to true per default.
 
-        default_realm
-
+    default_realm
         This defines which realm should be used as when no realm is provided
         to methods that require a realm such as authenticate or find_user.
 
-        realms
-
+    realms
         This contains the series of realm configurations you want to use for
         your app. The only rule here is that there must be at least one. A
         realm consists of a name, which is used to reference the realm, a
@@ -393,7 +390,7 @@ INTERNAL METHODS
     get_auth_realm ( $realmname )
         Retrieves the realm instance for the realmname provided.
 
-
+    *
 
 SEE ALSO
     This list might not be up to date. Below are modules known to work with
@@ -503,11 +500,3 @@ COPYRIGHT & LICENSE
             reserved. This program is free software; you can redistribute
             it and/or modify it under the same terms as Perl itself.
 
-POD ERRORS
-    Hey! The above document had some coding errors, which are explained
-    below:
-
-    Around line 672:
-        You can't have =items (as at line 706) unless the first thing after
-        the =over is an =item
-