[Catalyst-commits] r6320 - in
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy: .
lib/Catalyst/Plugin/Authentication/Credential/HTTP
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Thu Apr 26 21:16:59 GMT 2007
Author: bricas
Date: 2007-04-26 21:16:57 +0100 (Thu, 26 Apr 2007)
New Revision: 6320
Added:
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/MANIFEST.SKIP
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Makefile.PL
Removed:
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Build.PL
Modified:
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Changes
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/Proxy.pm
trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/User.pm
Log:
switch to Module::Install. fix pod. add MANIFEST.SKIP
Deleted: trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Build.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Build.PL 2007-04-26 19:56:25 UTC (rev 6319)
+++ trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Build.PL 2007-04-26 20:16:57 UTC (rev 6320)
@@ -1,18 +0,0 @@
-use strict;
-use Module::Build;
-
-my $build = Module::Build->new(
- create_makefile_pl => 'traditional',
- license => 'perl',
- module_name => 'Catalyst::Plugin::Authentication::Credential::HTTP::Proxy',
- requires => {
- 'Catalyst' => '5.5',
- 'Catalyst::Plugin::Authentication' => 0,
- 'Test::MockObject' => '1.01',
- 'LWP::Simple' => 0,
- },
- create_readme => 1,
- sign => 1,
-);
-$build->create_build_script;
-
Modified: trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Changes
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Changes 2007-04-26 19:56:25 UTC (rev 6319)
+++ trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Changes 2007-04-26 20:16:57 UTC (rev 6320)
@@ -1,4 +1,7 @@
-0.03 2006-01-01 13:35:00
+0.02 2007-04-26
+ - switch to Module::Install
+
+0.01 2006-04-18 13:35:00
- $store->get_user now gets the user name as the first arg for maximum
compatibility with stores.
- Doc fixes
Added: trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/MANIFEST.SKIP
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/MANIFEST.SKIP (rev 0)
+++ trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/MANIFEST.SKIP 2007-04-26 20:16:57 UTC (rev 6320)
@@ -0,0 +1,29 @@
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+,v$
+\B\.svn\b
+
+# Avoid Makemaker generated and utility files.
+\bMakefile$
+\bblib
+\bMakeMaker-\d
+\bpm_to_blib$
+\bblibdirs$
+^MANIFEST\.SKIP$
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build
+
+# Avoid temp and backup files.
+~$
+\.tmp$
+\.old$
+\.bak$
+\#$
+\b\.#
+\.DS_Store$
+
+# No tarballs!
+\.gz$
Added: trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Makefile.PL (rev 0)
+++ trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/Makefile.PL 2007-04-26 20:16:57 UTC (rev 6320)
@@ -0,0 +1,13 @@
+use inc::Module::Install 0.65;
+
+name 'Catalyst-Plugin-Authentication-Credential-HTTP-Proxy';
+all_from 'lib/Catalyst/Plugin/Authentication/Credential/HTTP/Proxy.pm';
+
+requires 'Catalyst::Runtime';
+requires 'Catalyst::Plugin::Authentication';
+requires 'Test::MockObject';
+requires 'LWP::Simple';
+
+auto_install;
+WriteAll;
+
Modified: trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/Proxy.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/Proxy.pm 2007-04-26 19:56:25 UTC (rev 6319)
+++ trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/Proxy.pm 2007-04-26 20:16:57 UTC (rev 6320)
@@ -10,9 +10,8 @@
use Catalyst::Plugin::Authentication::Credential::HTTP::User;
use Carp qw/croak/;
-our $VERSION = "0.01";
+our $VERSION = "0.02";
-
sub authenticate_http_proxy {
my $c = shift;
@@ -92,7 +91,7 @@
=head1 NAME
-Catalyst::Plugin::Authentication::Credential::HTTP - HTTP Basic authentication
+Catalyst::Plugin::Authentication::Credential::HTTP::Proxy - HTTP Proxy authentication
for Catlayst.
=head1 SYNOPSIS
@@ -153,7 +152,7 @@
To specify what store to use. will use the default store if not set.
-=cut
+=back
=head1 METHODS
Modified: trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/User.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/User.pm 2007-04-26 19:56:25 UTC (rev 6319)
+++ trunk/Catalyst-Plugin-Authentication-Credential-HTTP-Proxy/lib/Catalyst/Plugin/Authentication/Credential/HTTP/User.pm 2007-04-26 20:16:57 UTC (rev 6320)
@@ -1,11 +1,15 @@
package Catalyst::Plugin::Authentication::Credential::HTTP::User;
+use strict;
+use warnings;
+
use base 'LWP::UserAgent';
sub credentials {
my ($self,$user,$pass)=@_;
@{$self->{credentials}}=($user,$pass);
}
+
sub get_basic_credentials {
my $self = shift;
return @{$self->{credentials}};
@@ -37,4 +41,7 @@
=head1 LICENSE
-This software is licensed under the same terms as perl itself.
+This software is licensed under the same terms as perl itself.i
+
+=cut
+
More information about the Catalyst-commits
mailing list