[SCM] Debian packaging of Validation-Class CPAN distribution branch, master, updated. debian/1.112570-1
Salvatore Bonaccorso
carnil at debian.org
Thu Sep 15 05:34:07 UTC 2011
The following commit has been merged in the master branch:
commit 7dd50dc81126978f197fb63a5224045ca3936a7b
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Thu Sep 15 07:20:35 2011 +0200
Imported Upstream version 1.112570
diff --git a/LICENSE b/LICENSE
index a213854..e7f915d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by awncorp.
+This software is copyright (c) 2011 by awncorp.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2010 by awncorp.
+This software is Copyright (c) 2011 by awncorp.
This is free software, licensed under:
@@ -270,7 +270,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2010 by awncorp.
+This software is Copyright (c) 2011 by awncorp.
This is free software, licensed under:
diff --git a/META.yml b/META.yml
index e6ce5d4..2c9c437 100644
--- a/META.yml
+++ b/META.yml
@@ -15,4 +15,4 @@ name: Validation-Class
requires:
Array::Unique: 0
Moose: 0
-version: 1.112530
+version: 1.112570
diff --git a/Makefile.PL b/Makefile.PL
index 5f4fa95..210df1c 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -23,7 +23,7 @@ my %WriteMakefileArgs = (
'Array::Unique' => '0',
'Moose' => '0'
},
- 'VERSION' => '1.112530',
+ 'VERSION' => '1.112570',
'test' => {
'TESTS' => 't/*.t t/filters/*.t t/validators/*.t'
}
diff --git a/README b/README
index 9193192..21b4583 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
Validation::Class - Centralized Input Validation For Any Application
VERSION
- version 1.112530
+ version 1.112570
SYNOPSIS
use MyApp::Validation;
@@ -722,7 +722,7 @@ AUTHOR
Al Newkirk <awncorp at cpan.org>
COPYRIGHT AND LICENSE
- This software is copyright (c) 2010 by awncorp.
+ This software is copyright (c) 2011 by awncorp.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/dist.ini b/dist.ini
index b190bd8..800c857 100644
--- a/dist.ini
+++ b/dist.ini
@@ -2,7 +2,7 @@ name = Validation-Class
author = Al Newkirk <awncorp at cpan.org>
license = Perl_5
copyright_holder = awncorp
-copyright_year = 2010
+copyright_year = 2011
[GatherDir]
[PruneCruft]
[ManifestSkip]
diff --git a/lib/Validation/Class.pm b/lib/Validation/Class.pm
index 1ab7335..21b6c9a 100644
--- a/lib/Validation/Class.pm
+++ b/lib/Validation/Class.pm
@@ -19,7 +19,7 @@ our $MIXINS = {};
our $DIRECTIVES = {};
our $FILTERS = {};
-our $VERSION = '1.112530'; # VERSION
+our $VERSION = '1.112570'; # VERSION
@@ -497,6 +497,10 @@ sub BUILD {
}
undef $aliastree;
+ # always done last!!! auto-generate the field name
+ # happens again at validation, FYI
+ $self->fields->{$_}->{name} = $_ for ( keys %{ $self->fields } );
+
return $self;
};
@@ -1155,7 +1159,7 @@ Validation::Class - Centralized Input Validation For Any Application
=head1 VERSION
-version 1.112530
+version 1.112570
=head1 SYNOPSIS
@@ -1923,7 +1927,7 @@ Al Newkirk <awncorp at cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2010 by awncorp.
+This software is copyright (c) 2011 by awncorp.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/t/03-mixin.t b/t/03-mixin.t
index 23f100b..5595167 100644
--- a/t/03-mixin.t
+++ b/t/03-mixin.t
@@ -48,8 +48,8 @@ $x = $c = {
$r = Validation::Class->new(%{$x});
-# for now, the filters and errors directives gets added automatically
-my $others = 2;
+# for now, the name, filters and errors directives gets added automatically
+my $others = 3;
ok 4 + $others == scalar(keys(%{$r->fields->{test1}})),
'test1 directives count accurate';
--
Debian packaging of Validation-Class CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list