--- /dev/null
+/.ackrc
+/.build/
+!/.gitignore
+/.latest
+/Catalyst-Authentication-Store-Htpasswd-*/
+/Catalyst-Authentication-Store-Htpasswd-*.tar.gz
+++ /dev/null
-steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
-svk.tagpattern = //mirror/Catalyst-Authentication-Store-Htpasswd/1.000/tags/%v
-CheckChangeLog.files = Changes
+Release history for Catalyst-Authentication-Store-Htpasswd
+
+{{$NEXT}}
+ - modernized the tooling, for 5.26 compatibility and to remove pod,
+ kwalitee tests from the user-facing test suite
+
1.004 2016-05-11 12:49:02Z
- Fix pod error for Hyperlinks
- Fix pod nit from RT#51733
+++ /dev/null
-README
-Changes
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
-lib/Catalyst/Authentication/Store/Htpasswd.pm
-lib/Catalyst/Authentication/Store/Htpasswd/User.pm
-Makefile.PL
-MANIFEST This list of files
-META.yml
-t/00-load.t
-t/backend.t
-t/backend_md5.t
-t/kwalitee.t
-t/lib/script/testapp_server.pl
-t/lib/script/testapp_test.pl
-t/lib/TestApp.pm
-t/lib/TestApp/Controller/Root.pm
-t/lib/TestApp/htpasswd
-t/live-test.t
-t/pod-coverage.t
-t/pod.t
-Todo
+++ /dev/null
-# 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\.#
-
-# Don't ship the test db
-^t/var
-
-# Don't ship the last dist we built :)
-\.tar\.gz$
-
-# skip OS X finder file
-\.DS_Store
-
-# Don't distribute the shipit config.
-.shipit
+++ /dev/null
-use strict;
-use inc::Module::Install 0.87;
-
-name 'Catalyst-Authentication-Store-Htpasswd';
-all_from 'lib/Catalyst/Authentication/Store/Htpasswd.pm';
-
-requires 'Catalyst::Plugin::Authentication' => '0.10006';
-requires 'Authen::Htpasswd' => '0.13';
-requires 'Class::Accessor::Fast';
-requires 'Crypt::PasswdMD5';
-build_requires 'Test::WWW::Mechanize::Catalyst';
-build_requires 'Test::use::ok';
-
-resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Store-Htpasswd/1.000/trunk/';
-
-WriteAll;
+++ /dev/null
-NAME
- Catalyst::Authentication::Store::Htpasswd - Authen::Htpasswd based user
- storage/authentication.
-
-SYNOPSIS
- use Catalyst qw/
- Authentication
- /;
-
- __PACKAGE__->config(
- authentication => {
- default_realm => 'test',
- realms => {
- test => {
- credential => {
- class => 'Password',
- password_field => 'password',
- password_type => 'self_check',
- },
- store => {
- class => 'Htpasswd',
- file => 'htpasswd',
- },
- },
- },
- },
- );
-
- sub login : Global {
- my ( $self, $c ) = @_;
-
- $c->authenticate({ username => $c->req->param("login"), password => $c->req->param("password") });
- }
-
-DESCRIPTION
- This plugin uses "Authen::Htpasswd" to let your application use
- ".htpasswd" files for it's authentication storage.
-
-METHODS
- new
- Simple constructor, dies if the htpassword file can't be found
-
- find_user
- Looks up the user, and returns a
- Catalyst::Authentication::Store::Htpasswd::User object.
-
- user_supports
- Delegates to
- Catalyst::Authentication::Store::Htpasswd::User-user_supports|Catalyst::
- Authentication::Store::Htpasswd::User#user_supports>
-
- from_session
- Delegates the user lookup to " find_user "
-
-CONFIGURATION
- file
- The path to the htpasswd file, this is taken from the application root.
-
-AUTHORS
- Yuval Kogman "nothingmuch@woobling.org"
-
- David Kamholz "dkamholz@cpan.org"
-
- Tomas Doran "bobtfish@bobtfish.net"
-
-SEE ALSO
- Authen::Htpasswd.
-
-COPYRIGHT & LICENSE
- Copyright (c) 2005-2008 the aforementioned authors. All rights
- reserved. This program is free software; you can redistribute
- it and/or modify it under the same terms as Perl itself.
-
--- /dev/null
+name = Catalyst-Authentication-Store-Htpasswd
+author = יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
+license = Perl_5
+copyright_holder = יובל קוג'מן (Yuval Kogman)
+copyright_year = 2005
+
+[@Author::ETHER]
+:version = 0.094
+authority = cpan:NUFFIN
+server = catagits
+Test::MinimumVersion.max_target_perl = 5.008003
+StaticInstall.dry_run = 0 ; we can safely set this here
+-remove = Test::EOL ; TODO
+-remove = Test::NoTabs ; TODO
+-remove = Test::CleanNamespaces ; TODO
+-remove = Test::PodSpelling ; TODO
+
+[Prereqs]
+Catalyst::Plugin::Authentication = 0.10006
+
+[Prereqs / TestRequires]
+Crypt::PasswdMD5 = 0 ; TODO make optional - wrap with Test::Needs
+
+[MetaResources]
+x_IRC = irc://irc.perl.org/#catalyst
+x_MailingList = http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
#!/usr/bin/perl
package Catalyst::Authentication::Store::Htpasswd;
+# ABSTRACT: Authen::Htpasswd based user storage/authentication
+
use base qw/Class::Accessor::Fast/;
use strict;
use warnings;
-use Authen::Htpasswd;
+use Authen::Htpasswd 0.13;
use Catalyst::Authentication::Store::Htpasswd::User;
use Scalar::Util qw/blessed/;
=pod
-=head1 NAME
-
-Catalyst::Authentication::Store::Htpasswd - Authen::Htpasswd based
-user storage/authentication.
-
=head1 SYNOPSIS
use Catalyst qw/
# Later in your code
$c->authenticate({ email_address => $c->req->param("email"), password => $c->req->param("password") });
-=head1 AUTHORS
-
-Yuval Kogman C<<nothingmuch@woobling.org>>
-
-David Kamholz C<<dkamholz@cpan.org>>
-
-Tomas Doran C<<bobtfish@bobtfish.net>>
-
=head1 SEE ALSO
L<Authen::Htpasswd>.
-=head1 COPYRIGHT & LICENSE
-
- Copyright (c) 2005-2008 the aforementioned authors. All rights
- reserved. This program is free software; you can redistribute
- it and/or modify it under the same terms as Perl itself.
-
=cut
-
-
#!/usr/bin/perl
package Catalyst::Authentication::Store::Htpasswd::User;
+# ABSTRACT: A user object representing an entry in an htpasswd file.
+
use base qw/Catalyst::Authentication::User Class::Accessor::Fast/;
use strict;
=pod
-=head1 NAME
-
-Catalyst::Authentication::Store::Htpasswd::User - A user object
-representing an entry in an htpasswd file.
-
=head1 DESCRIPTION
This object wraps an L<Authen::Htpasswd::User> object. An instance of it will be returned
Returns the underlieing L<Authen::Htpasswd::User> object for this user
-=head1 AUTHORS
-
-Yuval Kogman C<nothingmuch@woobling.org>
-
-David Kamholz C<dkamholz@cpan.org>
-
-Tomas Doran C<bobtfish@bobtfish.net>
-
-=head1 COPYRIGHT & LICENSE
-
- Copyright (c) 2005 the aforementioned authors. All rights
- reserved. This program is free software; you can redistribute
- it and/or modify it under the same terms as Perl itself.
-
=cut
-
-
+++ /dev/null
-#!/usr/bin/env perl
-use Test::More;
-
-eval { require Test::Kwalitee; Test::Kwalitee->import() };
-
-plan( skip_all => 'Test::Kwalitee not installed; skipping' ) if $@;
+++ /dev/null
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-all_pod_coverage_ok();
+++ /dev/null
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();