r32763 - in /branches/upstream/libcatalyst-plugin-formvalidator-perl/current: Changes FormValidator.pm META.yml Makefile.PL
eloy at users.alioth.debian.org
eloy at users.alioth.debian.org
Wed Apr 8 09:15:56 UTC 2009
Author: eloy
Date: Wed Apr 8 09:15:51 2009
New Revision: 32763
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32763
Log:
[svn-upgrade] Integrating new upstream version, libcatalyst-plugin-formvalidator-perl (0.03)
Modified:
branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Changes
branches/upstream/libcatalyst-plugin-formvalidator-perl/current/FormValidator.pm
branches/upstream/libcatalyst-plugin-formvalidator-perl/current/META.yml
branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Makefile.PL
Modified: branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Changes?rev=32763&op=diff
==============================================================================
--- branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Changes (original)
+++ branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Changes Wed Apr 8 09:15:51 2009
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::FormValidator.
+0.04 Thu Apr 2 18:45:00 2009
+ - Add deprecation notice
+ - Added quotes on prereq.
0.02 Fri Apr 15 15:00:00 2005
- Updated documentation.
0.01 Fri Jan 28 22:00:00 2005
Modified: branches/upstream/libcatalyst-plugin-formvalidator-perl/current/FormValidator.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcatalyst-plugin-formvalidator-perl/current/FormValidator.pm?rev=32763&op=diff
==============================================================================
--- branches/upstream/libcatalyst-plugin-formvalidator-perl/current/FormValidator.pm (original)
+++ branches/upstream/libcatalyst-plugin-formvalidator-perl/current/FormValidator.pm Wed Apr 8 09:15:51 2009
@@ -4,11 +4,12 @@
use NEXT;
use Data::FormValidator;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
=head1 NAME
-Catalyst::Plugin::FormValidator - FormValidator for Catalyst
+DEPRECATED - Catalyst::Plugin::FormValidator - Unmaintained Data::FormValidator
+plugin for Catalyst.
=head1 SYNOPSIS
@@ -16,6 +17,24 @@
$c->form( optional => ['rest'] );
print $c->form->valid('rest');
+
+=head1 WARNING
+
+This code is not maintained, and is disrecommended for use in new applications.
+
+Instead, it is recommended to use newer, better supported modules such as:
+
+=over
+
+=item L<Catalyst::Controller::HTML::FormFu>
+
+=item L<Catalyst::Controller::FormBuilder>
+
+=back
+
+Note that not only is this plugin disrecommended (as it takes over the global
+C<< $c->form >> method, rather than being applyable in only part of your
+application), but L<Data::FormValidator> itself is not recommended for use.
=head1 DESCRIPTION
@@ -28,6 +47,7 @@
=head3 prepare
Sets up $c->{form}
+
=cut
sub prepare {
@@ -49,7 +69,7 @@
$c->form->valid('rest');
-The actual parameters sent to $c->form are the same as used by
+The actual parameters sent to $c->form are the same as the profile in
L<Data::FormValidator>'s check function.
=cut
Modified: branches/upstream/libcatalyst-plugin-formvalidator-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcatalyst-plugin-formvalidator-perl/current/META.yml?rev=32763&op=diff
==============================================================================
--- branches/upstream/libcatalyst-plugin-formvalidator-perl/current/META.yml (original)
+++ branches/upstream/libcatalyst-plugin-formvalidator-perl/current/META.yml Wed Apr 8 09:15:51 2009
@@ -1,12 +1,21 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Catalyst-Plugin-FormValidator
-version: 0.02
-version_from: FormValidator.pm
-installdirs: site
+--- #YAML:1.0
+name: Catalyst-Plugin-FormValidator
+version: 0.03
+abstract: ~
+author:
+ - Sebastian Riedel (sri at oook.de)
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
requires:
- Catalyst: 2.99
- Data::FormValidator: 0
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+ Catalyst: 2.99
+ Data::FormValidator: 0
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.48
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Makefile.PL?rev=32763&op=diff
==============================================================================
--- branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Makefile.PL (original)
+++ branches/upstream/libcatalyst-plugin-formvalidator-perl/current/Makefile.PL Wed Apr 8 09:15:51 2009
@@ -4,8 +4,8 @@
NAME => 'Catalyst::Plugin::FormValidator',
AUTHOR => 'Sebastian Riedel (sri at oook.de)',
PREREQ_PM => {
- Catalyst => '2.99',
- Data::FormValidator => 0
+ Catalyst => '2.99',
+ 'Data::FormValidator' => 0
},
VERSION_FROM => 'FormValidator.pm'
);
More information about the Pkg-perl-cvs-commits
mailing list