r74509 - in /trunk/libmoosex-types-structured-perl: ./ debian/ lib/MooseX/Meta/TypeCoercion/ lib/MooseX/Meta/TypeCoercion/Structured/ lib/MooseX/Meta/TypeConstraint/ lib/MooseX/Meta/TypeConstraint/Structured/ lib/MooseX/Types/ lib/MooseX/Types/Structured/ t/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Mon May 16 17:19:16 UTC 2011
Author: gregoa
Date: Mon May 16 17:18:59 2011
New Revision: 74509
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74509
Log:
New upstream release.
Modified:
trunk/libmoosex-types-structured-perl/Changes
trunk/libmoosex-types-structured-perl/LICENSE
trunk/libmoosex-types-structured-perl/META.json
trunk/libmoosex-types-structured-perl/META.yml
trunk/libmoosex-types-structured-perl/Makefile.PL
trunk/libmoosex-types-structured-perl/README
trunk/libmoosex-types-structured-perl/debian/changelog
trunk/libmoosex-types-structured-perl/dist.ini
trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured.pm
trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured/Optional.pm
trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured.pm
trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured/Optional.pm
trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured.pm
trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/MessageStack.pm
trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/OverflowHandler.pm
trunk/libmoosex-types-structured-perl/t/04-map.t
trunk/libmoosex-types-structured-perl/t/12-error.t
Modified: trunk/libmoosex-types-structured-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/Changes?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/Changes (original)
+++ trunk/libmoosex-types-structured-perl/Changes Mon May 16 17:18:59 2011
@@ -1,4 +1,7 @@
Revision history for MooseX-Types-Structured
+
+0.27 28 April 2011
+ - test fixes for new Moose
0.26 02 January 2011
- removed version from Test::Fatal as asked by the debian folks
Modified: trunk/libmoosex-types-structured-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/LICENSE?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/LICENSE (original)
+++ trunk/libmoosex-types-structured-perl/LICENSE Mon May 16 17:18:59 2011
@@ -18,15 +18,16 @@
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
Modified: trunk/libmoosex-types-structured-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/META.json?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/META.json (original)
+++ trunk/libmoosex-types-structured-perl/META.json Mon May 16 17:18:59 2011
@@ -8,7 +8,7 @@
"Robert Sedlacek <rs at 474.at>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400",
+ "generated_by" : "Dist::Zilla version 4.200005, CPAN::Meta::Converter version 2.110930",
"license" : [
"perl_5"
],
@@ -68,98 +68,98 @@
"web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-Types-Structured.git;a=summary"
}
},
- "version" : "0.26",
+ "version" : "0.27",
"x_Dist_Zilla" : {
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@FLORA/@Basic/GatherDir",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@FLORA/@Basic/PruneCruft",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@FLORA/@Basic/ManifestSkip",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@FLORA/@Basic/MetaYAML",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@FLORA/@Basic/License",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@FLORA/@Basic/Readme",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@FLORA/@Basic/ExtraTests",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@FLORA/@Basic/ExecDir",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@FLORA/@Basic/ShareDir",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@FLORA/@Basic/MakeMaker",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@FLORA/@Basic/Manifest",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@FLORA/@Basic/TestRelease",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@FLORA/@Basic/ConfirmRelease",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@FLORA/@Basic/UploadToCPAN",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@FLORA/MetaConfig",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@FLORA/MetaJSON",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@FLORA/PkgVersion",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@FLORA/PodSyntaxTests",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::NoTabsTests",
@@ -169,17 +169,17 @@
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@FLORA/PodCoverageTests",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "@FLORA/MetaResources",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
"name" : "@FLORA/Authority",
- "version" : "1.000"
+ "version" : "1.005"
},
{
"class" : "Dist::Zilla::Plugin::EOLTests",
@@ -194,7 +194,7 @@
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@FLORA/AutoPrereqs",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -205,7 +205,7 @@
}
},
"name" : "Prereqs",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -216,27 +216,27 @@
}
},
"name" : "BuildRequires",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200000"
+ "version" : "4.200005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200000"
+ "version" : "4.200005"
}
],
"zilla" : {
@@ -244,7 +244,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200000"
+ "version" : "4.200005"
}
},
"x_authority" : "cpan:JJNAPIORK"
Modified: trunk/libmoosex-types-structured-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/META.yml?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/META.yml (original)
+++ trunk/libmoosex-types-structured-perl/META.yml Mon May 16 17:18:59 2011
@@ -16,7 +16,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200005, CPAN::Meta::Converter version 2.110930'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -38,81 +38,81 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Structured
homepage: http://search.cpan.org/dist/MooseX-Types-Structured
repository: git://git.moose.perl.org/MooseX-Types-Structured.git
-version: 0.26
+version: 0.27
x_Dist_Zilla:
plugins:
-
class: Dist::Zilla::Plugin::GatherDir
name: '@FLORA/@Basic/GatherDir'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@FLORA/@Basic/PruneCruft'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@FLORA/@Basic/ManifestSkip'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@FLORA/@Basic/MetaYAML'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::License
name: '@FLORA/@Basic/License'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::Readme
name: '@FLORA/@Basic/Readme'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@FLORA/@Basic/ExtraTests'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::ExecDir
name: '@FLORA/@Basic/ExecDir'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::ShareDir
name: '@FLORA/@Basic/ShareDir'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@FLORA/@Basic/MakeMaker'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::Manifest
name: '@FLORA/@Basic/Manifest'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::TestRelease
name: '@FLORA/@Basic/TestRelease'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@FLORA/@Basic/ConfirmRelease'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@FLORA/@Basic/UploadToCPAN'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@FLORA/MetaConfig'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@FLORA/MetaJSON'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@FLORA/PkgVersion'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@FLORA/PodSyntaxTests'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::NoTabsTests
name: '@FLORA/NoTabsTests'
@@ -120,15 +120,15 @@
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@FLORA/PodCoverageTests'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::MetaResources
name: '@FLORA/MetaResources'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::Authority
name: '@FLORA/Authority'
- version: 1.000
+ version: 1.005
-
class: Dist::Zilla::Plugin::EOLTests
name: '@FLORA/EOLTests'
@@ -140,7 +140,7 @@
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@FLORA/AutoPrereqs'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -148,7 +148,7 @@
phase: runtime
type: requires
name: Prereqs
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -156,26 +156,26 @@
phase: build
type: requires
name: BuildRequires
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200000
+ version: 4.200005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200000
+ version: 4.200005
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200000
+ version: 4.200005
x_authority: cpan:JJNAPIORK
Modified: trunk/libmoosex-types-structured-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/Makefile.PL?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/Makefile.PL (original)
+++ trunk/libmoosex-types-structured-perl/Makefile.PL Mon May 16 17:18:59 2011
@@ -38,7 +38,7 @@
'Sub::Exporter' => '0.982',
'overload' => '0'
},
- 'VERSION' => '0.26',
+ 'VERSION' => '0.27',
'test' => {
'TESTS' => 't/*.t t/regressions/*.t'
}
Modified: trunk/libmoosex-types-structured-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/README?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/README (original)
+++ trunk/libmoosex-types-structured-perl/README Mon May 16 17:18:59 2011
@@ -1,7 +1,7 @@
This archive contains the distribution MooseX-Types-Structured,
-version 0.26:
+version 0.27:
MooseX::Types::Structured - Structured Type Constraints for Moose
Modified: trunk/libmoosex-types-structured-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/debian/changelog?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/debian/changelog (original)
+++ trunk/libmoosex-types-structured-perl/debian/changelog Mon May 16 17:18:59 2011
@@ -1,11 +1,15 @@
-libmoosex-types-structured-perl (0.26-1) UNRELEASED; urgency=low
+libmoosex-types-structured-perl (0.27-1) UNRELEASED; urgency=low
IGNORE-VERSION: 0.26-1
No need to upload: small doc change, build-dep on Test::Fatal unversioned.
+ [ Ansgar Burchardt ]
* debian/copyright: Update for new upstream release.
- -- Ansgar Burchardt <ansgar at debian.org> Wed, 05 Jan 2011 14:07:56 +0100
+ [ gregor herrmann ]
+ * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org> Mon, 16 May 2011 19:18:03 +0200
libmoosex-types-structured-perl (0.25-1) unstable; urgency=low
Modified: trunk/libmoosex-types-structured-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/dist.ini?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/dist.ini (original)
+++ trunk/libmoosex-types-structured-perl/dist.ini Mon May 16 17:18:59 2011
@@ -1,5 +1,5 @@
name = MooseX-Types-Structured
-version = 0.26
+version = 0.27
author = John Napiorkowski <jjnapiork at cpan.org>
author = Florian Ragwitz <rafl at debian.org>
author = Yuval Kogman <nothingmuch at woobling.org>
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured.pm Mon May 16 17:18:59 2011
@@ -1,8 +1,5 @@
package ## Hide from PAUSE
MooseX::Meta::TypeCoercion::Structured;
-BEGIN {
- $MooseX::Meta::TypeCoercion::Structured::AUTHORITY = 'cpan:JJNAPIORK';
-}
# ABSTRACT: MooseX::Meta::TypeCoercion::Structured - Coerce structured type constraints.
use Moose;
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured/Optional.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured/Optional.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured/Optional.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeCoercion/Structured/Optional.pm Mon May 16 17:18:59 2011
@@ -1,8 +1,5 @@
package ## Hide from PAUSE
MooseX::Meta::TypeCoercion::Structured::Optional;
-BEGIN {
- $MooseX::Meta::TypeCoercion::Structured::Optional::AUTHORITY = 'cpan:JJNAPIORK';
-}
use Moose;
extends 'Moose::Meta::TypeCoercion';
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured.pm Mon May 16 17:18:59 2011
@@ -1,8 +1,5 @@
package ## Hide from PAUSE
MooseX::Meta::TypeConstraint::Structured;
-BEGIN {
- $MooseX::Meta::TypeConstraint::Structured::AUTHORITY = 'cpan:JJNAPIORK';
-}
# ABSTRACT: MooseX::Meta::TypeConstraint::Structured - Structured type constraints.
use Moose;
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured/Optional.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured/Optional.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured/Optional.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured/Optional.pm Mon May 16 17:18:59 2011
@@ -1,8 +1,5 @@
package ## Hide from PAUSE
MooseX::Meta::TypeConstraint::Structured::Optional;
-BEGIN {
- $MooseX::Meta::TypeConstraint::Structured::Optional::AUTHORITY = 'cpan:JJNAPIORK';
-}
use Moose;
use MooseX::Meta::TypeCoercion::Structured::Optional;
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured.pm Mon May 16 17:18:59 2011
@@ -3,7 +3,7 @@
$MooseX::Types::Structured::AUTHORITY = 'cpan:JJNAPIORK';
}
BEGIN {
- $MooseX::Types::Structured::VERSION = '0.26';
+ $MooseX::Types::Structured::VERSION = '0.27';
}
# ABSTRACT: MooseX::Types::Structured - Structured Type Constraints for Moose
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/MessageStack.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/MessageStack.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/MessageStack.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/MessageStack.pm Mon May 16 17:18:59 2011
@@ -1,8 +1,5 @@
package ## Hide from PAUSE
MooseX::Types::Structured::MessageStack;
-BEGIN {
- $MooseX::Types::Structured::MessageStack::AUTHORITY = 'cpan:JJNAPIORK';
-}
use Moose;
Modified: trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/OverflowHandler.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/OverflowHandler.pm?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/OverflowHandler.pm (original)
+++ trunk/libmoosex-types-structured-perl/lib/MooseX/Types/Structured/OverflowHandler.pm Mon May 16 17:18:59 2011
@@ -1,8 +1,5 @@
package ## Hide from PAUSE
MooseX::Types::Structured::OverflowHandler;
-BEGIN {
- $MooseX::Types::Structured::OverflowHandler::AUTHORITY = 'cpan:JJNAPIORK';
-}
use Moose;
Modified: trunk/libmoosex-types-structured-perl/t/04-map.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/t/04-map.t?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/t/04-map.t (original)
+++ trunk/libmoosex-types-structured-perl/t/04-map.t Mon May 16 17:18:59 2011
@@ -11,10 +11,10 @@
ok($type->assert_valid({ 10 => 10.5 }), "simple Int -> Num mapping");
like( exception { $type->assert_valid({ 10.5 => 10.5 }) },
- qr{value 10\.5}, "non-Int causes rejection on key");
+ qr{value .*10\.5.*}, "non-Int causes rejection on key");
like( exception { $type->assert_valid({ 10 => "ten and a half" }) },
- qr{value ten and a half}, "non-Num value causes rejection on value");
+ qr{value .*ten and a half.*}, "non-Num value causes rejection on value");
ok($type->assert_valid({ }), "empty hashref is a valid mapping of any sort");
Modified: trunk/libmoosex-types-structured-perl/t/12-error.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-types-structured-perl/t/12-error.t?rev=74509&op=diff
==============================================================================
--- trunk/libmoosex-types-structured-perl/t/12-error.t (original)
+++ trunk/libmoosex-types-structured-perl/t/12-error.t Mon May 16 17:18:59 2011
@@ -21,19 +21,19 @@
## Let's check all the expected validation errors for tuple
like $simple_tuple->validate({a=>1,b=>2}),
- qr/Validation failed for 'simple_tuple' with value { a: 1, b: 2 }/,
+ qr/Validation failed for 'simple_tuple' with value .*{ a: 1, b: 2 }/,
'Wrong basic type';
like $simple_tuple->validate(['a','b']),
- qr/failed for 'simple_tuple' with value \[ "a", "b" \]/,
+ qr/failed for 'simple_tuple' with value .*\[ "a", "b" \]/,
'Correctly failed due to "a" not an Int';
like $simple_tuple->validate([1,$simple_tuple]),
- qr/Validation failed for 'simple_tuple' with value \[ 1, MooseX::Meta::TypeConstraint::Structured/,
+ qr/Validation failed for 'simple_tuple' with value .*\[ 1, MooseX::Meta::TypeConstraint::Structured/,
'Correctly failed due to object not a Str';
like $simple_tuple->validate([1]),
- qr/Validation failed for 'Str' with value NULL/,
+ qr/Validation failed for 'Str' with value .*NULL/,
'Not enought values';
like $simple_tuple->validate([1,'hello','too many']),
@@ -43,19 +43,19 @@
## And the same thing for dicts [name=>Str,age=>Int]
like $simple_dict->validate([1,2]),
- qr/ with value \[ 1, 2 \]/,
+ qr/ with value .*\[ 1, 2 \]/,
'Wrong basic type';
-like $simple_dict->validate({name=>'John',age=>'a'}),
- qr/failed for 'Int' with value a/,
+like $simple_dict->validate({name=>'John',age=>'foobar'}),
+ qr/failed for 'Int' with value .*foobar/,
'Correctly failed due to age not an Int';
like $simple_dict->validate({name=>$simple_dict,age=>1}),
- qr/with value { age: 1, name: MooseX:/,
+ qr/with value .*{ age: 1, name: MooseX:/,
'Correctly failed due to object not a Str';
like $simple_dict->validate({name=>'John'}),
- qr/failed for 'Int' with value NULL/,
+ qr/failed for 'Int' with value .*NULL/,
'Not enought values';
like $simple_dict->validate({name=>'Vincent', age=>15,extra=>'morethanIneed'}),
@@ -68,15 +68,15 @@
my $optional_dict = subtype 'optional_dict', as Dict[name=>Str,age=>Optional[Int]];
like $optional_tuple->validate({a=>1,b=>2}),
- qr/Validation failed for 'optional_tuple' with value { a: 1, b: 2 }/,
+ qr/Validation failed for 'optional_tuple' with value .*{ a: 1, b: 2 }/,
'Wrong basic type';
-like $optional_tuple->validate(['a','b']),
- qr/failed for 'Int' with value a/,
- 'Correctly failed due to "a" not an Int';
+like $optional_tuple->validate(['baz','b']),
+ qr/failed for 'Int' with value .*baz/,
+ 'Correctly failed due to "baz" not an Int';
like $optional_tuple->validate([1,$simple_tuple]),
- qr/failed for 'Optional\[Str\]' with value MooseX/,
+ qr/failed for 'Optional\[Str\]' with value .*MooseX/,
'Correctly failed due to object not a Str';
like $optional_tuple->validate([1,'hello','too many']),
@@ -84,15 +84,15 @@
'Too Many values';
like $optional_dict->validate([1,2]),
- qr/ with value \[ 1, 2 \]/,
+ qr/ with value .*\[ 1, 2 \]/,
'Wrong basic type';
-like $optional_dict->validate({name=>'John',age=>'a'}),
- qr/Validation failed for 'Optional\[Int\]' with value a/,
+like $optional_dict->validate({name=>'John',age=>'quux'}),
+ qr/Validation failed for 'Optional\[Int\]' with value .*quux/,
'Correctly failed due to age not an Int';
like $optional_dict->validate({name=>$simple_dict,age=>1}),
- qr/with value { age: 1, name: MooseX:/,
+ qr/with value .*{ age: 1, name: MooseX:/,
'Correctly failed due to object not a Str';
like $optional_dict->validate({name=>'Vincent', age=>15,extra=>'morethanIneed'}),
@@ -122,11 +122,11 @@
}
like $simple_tuple->validate(["aaa","bbb"]),
- qr/'Int' with value aaa/,
+ qr/'Int' with value .*aaa/,
'correct deeper error';
like $deep_tuple->validate([1,{a=>2},{name=>'Vincent1',age=>'Hello1'}]),
- qr/'Int' with value Hello1/,
+ qr/'Int' with value .*Hello1/,
'correct deeper error';
## Success Tests...
More information about the Pkg-perl-cvs-commits
mailing list