r53526 - in /branches/upstream/libdata-formvalidator-perl/current: Changes MANIFEST META.yml README lib/Data/FormValidator.pm t/constraint_method_zero.t t/constraints_factory.t t/filters_builtin.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed Mar 3 14:57:46 UTC 2010


Author: jawnsy-guest
Date: Wed Mar  3 14:57:35 2010
New Revision: 53526

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53526
Log:
[svn-upgrade] Integrating new upstream version, libdata-formvalidator-perl (4.66)

Removed:
    branches/upstream/libdata-formvalidator-perl/current/t/constraint_method_zero.t
Modified:
    branches/upstream/libdata-formvalidator-perl/current/Changes
    branches/upstream/libdata-formvalidator-perl/current/MANIFEST
    branches/upstream/libdata-formvalidator-perl/current/META.yml
    branches/upstream/libdata-formvalidator-perl/current/README
    branches/upstream/libdata-formvalidator-perl/current/lib/Data/FormValidator.pm
    branches/upstream/libdata-formvalidator-perl/current/t/constraints_factory.t
    branches/upstream/libdata-formvalidator-perl/current/t/filters_builtin.t

Modified: branches/upstream/libdata-formvalidator-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/Changes?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/Changes (original)
+++ branches/upstream/libdata-formvalidator-perl/current/Changes Wed Mar  3 14:57:35 2010
@@ -1,3 +1,12 @@
+
+4.66 Wed Feb 24 09:30:17 EST 2010
+
+    [DOCUMENTATION]
+    - Typo fixes (Jonathan Yu)
+
+    [INTERNALS]
+    - Test suite fix for 5.11.1 and newer. 
+
 4.65 Wed Dec 30 22:17:33 EST 2009
 
     [NEW FEATURES]

Modified: branches/upstream/libdata-formvalidator-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/MANIFEST?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/MANIFEST (original)
+++ branches/upstream/libdata-formvalidator-perl/current/MANIFEST Wed Mar  3 14:57:35 2010
@@ -1,5 +1,10 @@
 Build.PL
 Changes
+MANIFEST			This list of files
+MANIFEST.SKIP
+META.yml
+README
+RELEASE_NOTES
 lib/Data/FormValidator.pm
 lib/Data/FormValidator/Constraints.pm
 lib/Data/FormValidator/Constraints/Dates.pm
@@ -7,11 +12,6 @@
 lib/Data/FormValidator/ConstraintsFactory.pm
 lib/Data/FormValidator/Filters.pm
 lib/Data/FormValidator/Results.pm
-MANIFEST			This list of files
-MANIFEST.SKIP
-META.yml
-README
-RELEASE_NOTES
 t/00_base.t
 t/02_code_ref.t
 t/03_dependency.t
@@ -33,11 +33,13 @@
 t/27_qualify_ref_happy_death.t
 t/28_defaults_for_new.t
 t/30_filter_definedness.t
+t/FV_length.t
+t/ValidatorPackagesTest1.pm
+t/ValidatorPackagesTest2.pm
 t/any_errors.t
 t/check_profile_syntax.t
 t/constraint_method.t
 t/constraint_method_string.t
-t/constraint_method_zero.t
 t/constraint_regexp_map_profile_reuse.t
 t/constraints_builtin.t
 t/constraints_builtin_closure.t
@@ -53,7 +55,6 @@
 t/filter_constraints.t
 t/filters_builtin.t
 t/filters_shouldnt_modify.t
-t/FV_length.t
 t/get_filtered_data.t
 t/get_input_data.t
 t/missing_optional.t
@@ -76,7 +77,5 @@
 t/upload_closure.t
 t/upload_mime_types.t
 t/upload_post_text.txt
-t/ValidatorPackagesTest1.pm
-t/ValidatorPackagesTest2.pm
 test/00_base.badformat
 test/00_base.profile

Modified: branches/upstream/libdata-formvalidator-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/META.yml?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/META.yml (original)
+++ branches/upstream/libdata-formvalidator-perl/current/META.yml Wed Mar  3 14:57:35 2010
@@ -1,21 +1,30 @@
----
-abstract: "Validates user input (usually from an HTML form) based\non input profile."
+--- #YAML:1.0
+name: Data-FormValidator
+version: 4.66
 author:
-  - 'Mark Stosberg <mark at summersault.com>'
+  - Mark Stosberg <mark at summersault.com>
+abstract: |-
+  Validates user input (usually from an HTML form) based
+  on input profile.
+license: perl
+requires:
+  Date::Calc: 5
+  Email::Valid: 0
+  File::MMagic: 1.17
+  Image::Size: 0
+  MIME::Types: 1.005
+  Perl6::Junction: 1.1
+  Regexp::Common: 0
+  Scalar::Util: 0
+  Test::More: 0
+  overload: 0
+  perl: 5.008
 build_requires:
   CGI: 3.48
-configure_requires:
-  Module::Build: 0.36
-generated_by: 'Module::Build version 0.3601'
-license: perl
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
-name: Data-FormValidator
 provides:
   Data::FormValidator:
     file: lib/Data/FormValidator.pm
-    version: 4.65
+    version: 4.66
   Data::FormValidator::Constraints:
     file: lib/Data/FormValidator/Constraints.pm
     version: 4.65
@@ -24,6 +33,7 @@
     version: 4.65
   Data::FormValidator::Constraints::RegexpCommon:
     file: lib/Data/FormValidator/Results.pm
+    version: 4.65
   Data::FormValidator::Constraints::Upload:
     file: lib/Data/FormValidator/Constraints/Upload.pm
     version: 4.65
@@ -36,18 +46,4 @@
   Data::FormValidator::Results:
     file: lib/Data/FormValidator/Results.pm
     version: 4.65
-requires:
-  Date::Calc: 5
-  Email::Valid: 0
-  File::MMagic: 1.17
-  Image::Size: 0
-  MIME::Types: 1.005
-  Perl6::Junction: 1.1
-  Regexp::Common: 0
-  Scalar::Util: 0
-  Test::More: 0
-  overload: 0
-  perl: 5.008
-resources:
-  license: http://dev.perl.org/licenses/
-version: 4.65
+generated_by: Module::Build version 0.2611

Modified: branches/upstream/libdata-formvalidator-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/README?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/README (original)
+++ branches/upstream/libdata-formvalidator-perl/current/README Wed Mar  3 14:57:35 2010
@@ -82,7 +82,7 @@
     unknowns
         This is a list of fields which are unknown to the profile. Whether
         or not this indicates an error in the user input is application
-        dependant.
+        dependent.
 
   new()
     Using "new()" is only needed for advanced usage, including these cases:
@@ -701,7 +701,7 @@
     unknowns
         This is a list of fields which are unknown to the profile. Whether
         or not this indicates an error in the user input is application
-        dependant.
+        dependent.
 
   constraints (profile key)
     This is a supported but deprecated profile key. Using

Modified: branches/upstream/libdata-formvalidator-perl/current/lib/Data/FormValidator.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/lib/Data/FormValidator.pm?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/lib/Data/FormValidator.pm (original)
+++ branches/upstream/libdata-formvalidator-perl/current/lib/Data/FormValidator.pm Wed Mar  3 14:57:35 2010
@@ -33,7 +33,7 @@
 
 use vars qw( $VERSION $AUTOLOAD @ISA @EXPORT_OK %EXPORT_TAGS );
 
-$VERSION = '4.65';
+$VERSION = '4.66';
 
 require Exporter;
 @ISA = qw(Exporter);
@@ -224,7 +224,7 @@
 
 This is a list of fields which are unknown to the profile. Whether or
 not this indicates an error in the user input is application
-dependant.
+dependent.
 
 =back
 
@@ -1087,7 +1087,7 @@
 
 This is a list of fields which are unknown to the profile. Whether or
 not this indicates an error in the user input is application
-dependant.
+dependent.
 
 =back
 

Modified: branches/upstream/libdata-formvalidator-perl/current/t/constraints_factory.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/t/constraints_factory.t?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/t/constraints_factory.t (original)
+++ branches/upstream/libdata-formvalidator-perl/current/t/constraints_factory.t Wed Mar  3 14:57:35 2010
@@ -1,9 +1,7 @@
-use Test::More tests => 4;
+use Test::More 'no_plan';
 
-BEGIN: {
-    use_ok('Data::FormValidator');
-    use_ok('Data::FormValidator::ConstraintsFactory',qw(&make_length_constraint));
-}
+use Data::FormValidator;
+use Data::FormValidator::ConstraintsFactory 'make_length_constraint';
 
 {
     my $results = Data::FormValidator->check(

Modified: branches/upstream/libdata-formvalidator-perl/current/t/filters_builtin.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-formvalidator-perl/current/t/filters_builtin.t?rev=53526&op=diff
==============================================================================
--- branches/upstream/libdata-formvalidator-perl/current/t/filters_builtin.t (original)
+++ branches/upstream/libdata-formvalidator-perl/current/t/filters_builtin.t Wed Mar  3 14:57:35 2010
@@ -13,6 +13,9 @@
     my $replacer = FV_replace(qr/^a/,'b');
     is( $replacer->('aa'), 'ba', 'FV_replace positive test'); 
     is( $replacer->('XX'), 'XX', 'FV_replace negative test'); 
+
+    my $replacer = FV_replace(qr/^a/i,'b');
+    is( $replacer->('AA'), 'bA', 'FV_replace positive test'); 
 }
 
 




More information about the Pkg-perl-cvs-commits mailing list