From: Dave Rolsky Date: Tue, 7 Apr 2009 15:57:17 +0000 (-0500) Subject: remove ancient deprecated method, update changes for release X-Git-Tag: 0.74~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e824c8e96d51ae494f014cb09c6e0b3e7e23c68c;p=gitmo%2FMoose.git remove ancient deprecated method, update changes for release --- diff --git a/Changes b/Changes index 3dc1326..3547f78 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,19 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. +0.74 Tue, April 7, 2009 * Moose::Meta::Role * Moose::Meta::Method::Destructor - Include stack traces in the deprecation warnings. (Florian Ragwitz) + * Moose::Meta::Class + - Removed the long-deprecated _apply_all_roles method. + + * Moose::Meta::TypeContsraint + - Removed the long-deprecated union method. + + 0.73_02 Mon, April 6, 2009 * More deprecations and renamings - Moose::Meta::Method::Constructor diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index fb18a35..cc9db88 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -490,14 +490,6 @@ sub _reconcile_role_differences { return $self; } -# NOTE: -# this was crap anyway, see -# Moose::Util::apply_all_roles -# instead -sub _apply_all_roles { - Carp::croak 'DEPRECATED: use Moose::Util::apply_all_roles($meta, @roles) instead' -} - sub _process_attribute { my ( $self, $name, @args ) = @_; diff --git a/lib/Moose/Meta/TypeConstraint.pm b/lib/Moose/Meta/TypeConstraint.pm index ec0f4ff..b14d466 100644 --- a/lib/Moose/Meta/TypeConstraint.pm +++ b/lib/Moose/Meta/TypeConstraint.pm @@ -285,10 +285,6 @@ sub create_child_type { return $class->new(%opts, parent => $self); } -## this should get deprecated actually ... - -sub union { Carp::croak "DEPRECATED" } - 1; __END__ diff --git a/xt/pod_coverage.t b/xt/pod_coverage.t index 4b45131..16aeb47 100644 --- a/xt/pod_coverage.t +++ b/xt/pod_coverage.t @@ -68,7 +68,7 @@ my %trustme = ( ], 'Moose::Meta::TypeCoercion' => ['compile_type_coercion'], 'Moose::Meta::TypeCoercion::Union' => ['compile_type_coercion'], - 'Moose::Meta::TypeConstraint' => [ 'compile_type_constraint', 'union' ], + 'Moose::Meta::TypeConstraint' => [ 'compile_type_constraint' ], 'Moose::Meta::TypeConstraint::Class' => [qw( equals is_a_type_of is_a_subtype_of )], 'Moose::Meta::TypeConstraint::Enum' =>