From: Fuji, Goro Date: Wed, 29 Sep 2010 12:36:57 +0000 (+0900) Subject: Checking in changes prior to tagging of version 0.77. X-Git-Tag: 0.77^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=26f0aa174f72fdf5fd803278212b7cefa83c8734;p=gitmo%2FMouse.git Checking in changes prior to tagging of version 0.77. Changelog diff is: diff --git a/Changes b/Changes index 19343fb..29e615e 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,8 @@ Revision history for Mouse -0.77 +0.77 Wed Sep 29 21:35:11 2010 [BUG FIXES] + * Fix tests failed against 5.6.2 * Combination of 'isa' and 'does' for has() sugar was incorrectly proccessed in Mouse::PurePerl. * Fix foreign class checking routines. Please update MouseX::Foreign. --- diff --git a/Changes b/Changes index 19343fb..29e615e 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,8 @@ Revision history for Mouse -0.77 +0.77 Wed Sep 29 21:35:11 2010 [BUG FIXES] + * Fix tests failed against 5.6.2 * Combination of 'isa' and 'does' for has() sugar was incorrectly proccessed in Mouse::PurePerl. * Fix foreign class checking routines. Please update MouseX::Foreign. diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 7e927f3..d698f40 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -3,7 +3,7 @@ use 5.006_002; use Mouse::Exporter; # enables strict and warnings -our $VERSION = '0.76'; +our $VERSION = '0.77'; use Carp qw(confess); use Scalar::Util qw(blessed); @@ -155,7 +155,7 @@ Mouse - Moose minus the antlers =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SYNOPSIS diff --git a/lib/Mouse/Exporter.pm b/lib/Mouse/Exporter.pm index 8e80496..38e2bea 100644 --- a/lib/Mouse/Exporter.pm +++ b/lib/Mouse/Exporter.pm @@ -268,7 +268,7 @@ Mouse::Exporter - make an import() and unimport() just like Mouse.pm =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SYNOPSIS diff --git a/lib/Mouse/Meta/Attribute.pm b/lib/Mouse/Meta/Attribute.pm index 9adf694..a37601d 100644 --- a/lib/Mouse/Meta/Attribute.pm +++ b/lib/Mouse/Meta/Attribute.pm @@ -342,7 +342,7 @@ Mouse::Meta::Attribute - The Mouse attribute metaclass =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Meta/Class.pm b/lib/Mouse/Meta/Class.pm index 717f025..ac4225a 100644 --- a/lib/Mouse/Meta/Class.pm +++ b/lib/Mouse/Meta/Class.pm @@ -468,7 +468,7 @@ Mouse::Meta::Class - The Mouse class metaclass =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm index 14225d3..e6106f7 100644 --- a/lib/Mouse/Meta/Method.pm +++ b/lib/Mouse/Meta/Method.pm @@ -54,7 +54,7 @@ Mouse::Meta::Method - A Mouse Method metaclass =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Meta/Method/Accessor.pm b/lib/Mouse/Meta/Method/Accessor.pm index e50e4f8..b3545bd 100644 --- a/lib/Mouse/Meta/Method/Accessor.pm +++ b/lib/Mouse/Meta/Method/Accessor.pm @@ -183,7 +183,7 @@ Mouse::Meta::Method::Accessor - A Mouse method generator for accessors =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/Method/Constructor.pm b/lib/Mouse/Meta/Method/Constructor.pm index 7a3120a..87e00c7 100644 --- a/lib/Mouse/Meta/Method/Constructor.pm +++ b/lib/Mouse/Meta/Method/Constructor.pm @@ -232,7 +232,7 @@ Mouse::Meta::Method::Constructor - A Mouse method generator for constructors =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/Method/Delegation.pm b/lib/Mouse/Meta/Method/Delegation.pm index 3757ffc..a566a0a 100644 --- a/lib/Mouse/Meta/Method/Delegation.pm +++ b/lib/Mouse/Meta/Method/Delegation.pm @@ -61,7 +61,7 @@ Mouse::Meta::Method::Delegation - A Mouse method generator for delegation method =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/Method/Destructor.pm b/lib/Mouse/Meta/Method/Destructor.pm index 816e29b..1e85057 100644 --- a/lib/Mouse/Meta/Method/Destructor.pm +++ b/lib/Mouse/Meta/Method/Destructor.pm @@ -65,7 +65,7 @@ Mouse::Meta::Method::Destructor - A Mouse method generator for destructors =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/Module.pm b/lib/Mouse/Meta/Module.pm index 336d174..fca3778 100644 --- a/lib/Mouse/Meta/Module.pm +++ b/lib/Mouse/Meta/Module.pm @@ -315,7 +315,7 @@ Mouse::Meta::Module - The common base class of Mouse::Meta::Class and Mouse::Met =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Meta/Role.pm b/lib/Mouse/Meta/Role.pm index 3858f34..7dcfe30 100644 --- a/lib/Mouse/Meta/Role.pm +++ b/lib/Mouse/Meta/Role.pm @@ -131,7 +131,7 @@ Mouse::Meta::Role - The Mouse Role metaclass =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Meta/Role/Application.pm b/lib/Mouse/Meta/Role/Application.pm index f607d7e..09396a9 100644 --- a/lib/Mouse/Meta/Role/Application.pm +++ b/lib/Mouse/Meta/Role/Application.pm @@ -206,7 +206,7 @@ Mouse::Meta::Role::Application - The Mouse role application class =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/Role/Composite.pm b/lib/Mouse/Meta/Role/Composite.pm index 0cd85b3..1528ce5 100644 --- a/lib/Mouse/Meta/Role/Composite.pm +++ b/lib/Mouse/Meta/Role/Composite.pm @@ -156,7 +156,7 @@ Mouse::Meta::Role::Composite - An object to represent the set of roles =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/Role/Method.pm b/lib/Mouse/Meta/Role/Method.pm index fcd4237..0317df8 100644 --- a/lib/Mouse/Meta/Role/Method.pm +++ b/lib/Mouse/Meta/Role/Method.pm @@ -23,7 +23,7 @@ Mouse::Meta::Role::Method - A Mouse Method metaclass for Roles =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Meta/TypeConstraint.pm b/lib/Mouse/Meta/TypeConstraint.pm index bffc3a1..b703f32 100644 --- a/lib/Mouse/Meta/TypeConstraint.pm +++ b/lib/Mouse/Meta/TypeConstraint.pm @@ -234,7 +234,7 @@ Mouse::Meta::TypeConstraint - The Mouse Type Constraint metaclass =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Object.pm b/lib/Mouse/Object.pm index b85581e..0ad8f54 100644 --- a/lib/Mouse/Object.pm +++ b/lib/Mouse/Object.pm @@ -10,7 +10,7 @@ Mouse::Object - The base object for Mouse classes =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 METHODS diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index 31a9647..d3fb64f 100644 --- a/lib/Mouse/PurePerl.pm +++ b/lib/Mouse/PurePerl.pm @@ -744,7 +744,7 @@ Mouse::PurePerl - A Mouse guts in pure Perl =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SEE ALSO diff --git a/lib/Mouse/Role.pm b/lib/Mouse/Role.pm index e0bfca4..acf5782 100644 --- a/lib/Mouse/Role.pm +++ b/lib/Mouse/Role.pm @@ -1,7 +1,7 @@ package Mouse::Role; use Mouse::Exporter; # enables strict and warnings -our $VERSION = '0.76'; +our $VERSION = '0.77'; use Carp qw(confess); use Scalar::Util qw(blessed); @@ -137,7 +137,7 @@ Mouse::Role - The Mouse Role =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SYNOPSIS diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index 7190f1e..7cc461f 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -2,7 +2,7 @@ package Mouse::Spec; use strict; use warnings; -our $VERSION = '0.76'; +our $VERSION = '0.77'; our $MouseVersion = $VERSION; our $MooseVersion = '1.13'; @@ -19,7 +19,7 @@ Mouse::Spec - To what extent Mouse is compatible with Moose =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SYNOPSIS diff --git a/lib/Mouse/Tiny.pod b/lib/Mouse/Tiny.pod index 3e9f4c9..f7cab4e 100644 --- a/lib/Mouse/Tiny.pod +++ b/lib/Mouse/Tiny.pod @@ -5,7 +5,7 @@ Mouse::Tiny - Mouse in a single file =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index d51ada0..7b4621b 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -48,7 +48,7 @@ BEGIN{ }, ); - our $VERSION = '0.76'; + our $VERSION = '0.77'; my $xs = !(defined(&is_valid_class_name) || $ENV{MOUSE_PUREPERL} || $ENV{PERL_ONLY}); @@ -388,7 +388,7 @@ Mouse::Util - Utilities for working with Mouse classes =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 SYNOPSIS diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index 808bb6b..2a618d9 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -427,7 +427,7 @@ Mouse::Util::TypeConstraints - Type constraint system for Mouse =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head2 SYNOPSIS diff --git a/lib/Mouse/XS.pod b/lib/Mouse/XS.pod index 7610927..c329579 100644 --- a/lib/Mouse/XS.pod +++ b/lib/Mouse/XS.pod @@ -5,7 +5,7 @@ Mouse::XS - A Mouse guts in XS =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.77 =head1 DESCRIPTION diff --git a/t/001_mouse/028-subclass-attr.t b/t/001_mouse/028-subclass-attr.t index 27abb63..35430a5 100644 --- a/t/001_mouse/028-subclass-attr.t +++ b/t/001_mouse/028-subclass-attr.t @@ -34,7 +34,7 @@ do { extends qw(CB CA); has cc => (is => 'rw'); }; -with_immutable sub { +with_immutable { my $obj = Child->new(class => 1, child => 1); ok($obj->child, "local attribute set in constructor"); ok($obj->class, "inherited attribute set in constructor"); @@ -50,7 +50,7 @@ with_immutable sub { CA->meta->get_attribute('ca'), Class->meta->get_attribute('class'), )], "correct get_all_attributes"); -}, qw(Class CA CB CC); +} 'Class', 'CA', 'CB', 'CC'; do { package Foo; @@ -90,7 +90,7 @@ with_immutable { is_deeply([Bar->meta->get_all_attributes], [ Bar->meta->get_attribute('attr'), ], "correct get_all_attributes"); -} qw(Foo Bar); +} 'Foo', 'Bar'; done_testing;