diff -Nru libclass-trait-perl-0.22/Build.PL libclass-trait-perl-0.31/Build.PL --- libclass-trait-perl-0.22/Build.PL 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/Build.PL 2010-01-03 10:53:17.000000000 +0100 @@ -8,9 +8,10 @@ dist_author => 'Curtis "Ovid" Poe ', dist_version_from => 'lib/Class/Trait.pm', requires => { - 'Test::Differences' => 0.47, - 'Test::Simple' => 0.62, - 'File::Spec' => 0, + 'Test::Differences' => 0.47, + 'Test::Simple' => 0.62, + 'File::Spec' => 0, + 'Class::Accessor::Fast' => 0, }, add_to_cleanup => ['Class-Trait-*'], create_makefile_pl => 'traditional', diff -Nru libclass-trait-perl-0.22/Changes libclass-trait-perl-0.31/Changes --- libclass-trait-perl-0.22/Changes 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/Changes 2010-01-03 10:53:15.000000000 +0100 @@ -1,5 +1,13 @@ Revision history for Perl extension Class::Trait. +0.31 Jan 3, 2010 (bug fixes) + - Normalized version numbers. + - Fixed lvalue bug which broke the debugger and profiler. [rt#23709] + - Fixed 'defined %hash' bug which broke bleadperl. [rt#23709] + +0.30 Oct 18, 2009 + - Added deprecation notice. No new features or bug fixes are intended. + 0.22 Oct 25, 2006 - Fixed bug where does() failed when inherited. Reported by Romano Daniel. diff -Nru libclass-trait-perl-0.22/debian/changelog libclass-trait-perl-0.31/debian/changelog --- libclass-trait-perl-0.22/debian/changelog 2010-06-15 17:48:17.000000000 +0200 +++ libclass-trait-perl-0.31/debian/changelog 2010-06-15 17:48:18.000000000 +0200 @@ -1,3 +1,16 @@ +libclass-trait-perl (0.31-1ubuntu1) maverick; urgency=low + + * Merge from debian unstable. (LP: #594656) Remaining changes: + - Added COPYING in orig.tar.gz for inclusion in Ubuntu + + -- Angel Abad Wed, 05 May 2010 04:50:56 +0100 + +libclass-trait-perl (0.31-1) unstable; urgency=low + + * New upstream release (closes: #578946) + + -- Alexander Zangerl Sun, 25 Apr 2010 14:18:21 +1000 + libclass-trait-perl (0.22-5ubuntu1) lucid; urgency=low * Merge from debian testing (LP: #491225), remaining changes: diff -Nru libclass-trait-perl-0.22/debian/control libclass-trait-perl-0.31/debian/control --- libclass-trait-perl-0.22/debian/control 2010-06-15 17:48:17.000000000 +0200 +++ libclass-trait-perl-0.31/debian/control 2010-06-15 17:48:18.000000000 +0200 @@ -5,7 +5,7 @@ Build-Depends-Indep: perl (>= 5.10) | libtest-simple-perl (>= 0.62), libtest-differences-perl (>= 0.47), libmodule-build-perl, libclass-accessor-perl Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Alexander Zangerl -Standards-Version: 3.8.3 +Standards-Version: 3.8.4 Package: libclass-trait-perl Architecture: all diff -Nru libclass-trait-perl-0.22/debian/patches/00list libclass-trait-perl-0.31/debian/patches/00list --- libclass-trait-perl-0.22/debian/patches/00list 2010-06-15 17:48:17.000000000 +0200 +++ libclass-trait-perl-0.31/debian/patches/00list 2010-06-15 17:48:18.000000000 +0200 @@ -1 +1 @@ -01debugger \ No hay ningún carácter de nueva línea al final del fichero +# no required patches right now \ No hay ningún carácter de nueva línea al final del fichero diff -Nru libclass-trait-perl-0.22/debian/patches/01debugger.dpatch libclass-trait-perl-0.31/debian/patches/01debugger.dpatch --- libclass-trait-perl-0.22/debian/patches/01debugger.dpatch 2010-06-15 17:48:17.000000000 +0200 +++ libclass-trait-perl-0.31/debian/patches/01debugger.dpatch 1970-01-01 01:00:00.000000000 +0100 @@ -1,233 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 01debugger.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: fix for #425339 - -@DPATCH@ -diff -urNad libclass-trait-perl-0.22~/Build.PL libclass-trait-perl-0.22/Build.PL ---- libclass-trait-perl-0.22~/Build.PL 2006-10-26 08:30:32.000000000 +1000 -+++ libclass-trait-perl-0.22/Build.PL 2008-11-17 10:33:42.923521994 +1000 -@@ -8,9 +8,10 @@ - dist_author => 'Curtis "Ovid" Poe ', - dist_version_from => 'lib/Class/Trait.pm', - requires => { -- 'Test::Differences' => 0.47, -- 'Test::Simple' => 0.62, -- 'File::Spec' => 0, -+ 'Test::Differences' => 0.47, -+ 'Test::Simple' => 0.62, -+ 'File::Spec' => 0, -+ 'Class::Accessor::Fast' => 0, - }, - add_to_cleanup => ['Class-Trait-*'], - create_makefile_pl => 'traditional', -diff -urNad libclass-trait-perl-0.22~/lib/Class/Trait/Config.pm libclass-trait-perl-0.22/lib/Class/Trait/Config.pm ---- libclass-trait-perl-0.22~/lib/Class/Trait/Config.pm 2006-10-26 08:30:32.000000000 +1000 -+++ libclass-trait-perl-0.22/lib/Class/Trait/Config.pm 2008-11-17 10:33:42.923521994 +1000 -@@ -3,7 +3,9 @@ - use strict; - use warnings; - --our $VERSION = '0.04'; -+use base qw(Class::Accessor::Fast); -+ -+our $VERSION = '0.04_01'; - - # we are going for a very struct-like class here to try and keep the - # syntactical noise down. -@@ -23,30 +25,9 @@ - }, $class; - } - --# just use basic l-valued methods for clarity and speed. --sub name : lvalue { -- $_[0]->{name}; --} -- --sub sub_traits : lvalue { -- $_[0]->{sub_traits}; --} -- --sub requirements : lvalue { -- $_[0]->{requirements}; --} -- --sub methods : lvalue { -- $_[0]->{methods}; --} -- --sub overloads : lvalue { -- $_[0]->{overloads}; --} -- --sub conflicts : lvalue { -- $_[0]->{conflicts}; --} -+__PACKAGE__->mk_accessors(qw( -+ name sub_traits requirements methods overloads conflicts -+)); - - # a basic clone function for moving in and out of the cache. - sub clone { -@@ -95,34 +76,31 @@ - - =item B - --An C subroutine for accessing the C string field of the --Class::Trait::Config object. -+An accessor to the C string field of the Class::Trait::Config object. - - =item B - --An C subroutine for accessing the C array reference field --of the Class::Trait::Config object. -+An accessor to the C array reference field of the Class::Trait::Config object. - - =item B - --An C subroutine for accessing the C hash reference field -+An accessor to the C hash reference field - of the Class::Trait::Config object. Note, the requirements field is a hash - reference to speed requirement lookup, the values of the hash are simply - booleans. - - =item B - --An C subroutine for accessing the C hash reference field of --the Class::Trait::Config object. -+An accessor to the C hash reference field of the Class::Trait::Config object. - - =item B - --An C subroutine for accessing the C hash reference field of -+An accessor to the C hash reference field of - the Class::Trait::Config object. - - =item B - --An C subroutine for accessing the C hash reference field of -+An accessor to the C hash reference field of - the Class::Trait::Config object. Note, the conflicts field is a hash reference - to speed conflict lookup, the values of the hash are simply booleans. - -diff -urNad libclass-trait-perl-0.22~/lib/Class/Trait.pm libclass-trait-perl-0.22/lib/Class/Trait.pm ---- libclass-trait-perl-0.22~/lib/Class/Trait.pm 2006-10-26 08:30:32.000000000 +1000 -+++ libclass-trait-perl-0.22/lib/Class/Trait.pm 2008-11-17 10:33:42.923521994 +1000 -@@ -684,7 +684,7 @@ - - # initialize our trait configuration - my $trait_config = Class::Trait::Config->new(); -- $trait_config->name = $trait; -+ $trait_config->name($trait); - - _get_trait_requirements($trait_config); - _get_trait_methods($trait_config); -@@ -704,7 +704,7 @@ - if (DEBUG) { - $debug_indent--; - debug "< dumping trait ($trait) with subtraits (" -- . ( join ", " => @{ $trait_config->{sub_traits} } ) . ") : " -+ . ( join ", " => @{ $trait_config->sub_traits } ) . ") : " - . Data::Dumper::Dumper($trait_config); - } - } -@@ -737,8 +737,8 @@ - - # create a new trait config to represent the combined traits - my $trait_config = Class::Trait::Config->new(); -- $trait_config->name = $overriding_trait->name; -- $trait_config->sub_traits = [ -+ $trait_config->name($overriding_trait->name); -+ $trait_config->sub_traits([ - - # if we have a composite trait we dont want to include the name here - # as it is actually defined better in the sub_traits field, but if we -@@ -746,19 +746,22 @@ - - ( ( COMPOSITE() eq $trait->name ) ? () : $trait->name ), - @{ $trait->sub_traits } -- ]; -+ ]); - - # let the overriding trait override the methods in the regular trait -- $trait_config->methods -- = { %{ $trait->methods }, %{ $overriding_trait->methods } }; -+ $trait_config->methods( -+ { %{ $trait->methods }, %{ $overriding_trait->methods } } -+ ); - - # the same for overloads -- $trait_config->overloads -- = { %{ $trait->overloads }, %{ $overriding_trait->overloads } }; -+ $trait_config->overloads( -+ { %{ $trait->overloads }, %{ $overriding_trait->overloads } } -+ ); - - # now combine the requirements as well -- $trait_config->requirements -- = { %{ $trait->requirements }, %{ $overriding_trait->requirements } }; -+ $trait_config->requirements( -+ { %{ $trait->requirements }, %{ $overriding_trait->requirements } } -+ ); - - if (DEBUG) { - debug "? checking for requirement fufillment"; -@@ -838,7 +841,7 @@ - # get any requirements in the trait and turn it into a hash so we can - # track stuff easier - -- $trait_config->requirements = { map { $_ => 1 } @{"${trait}::REQUIRES"} } -+ $trait_config->requirements({ map { $_ => 1 } @{"${trait}::REQUIRES"} }) - if defined @{"${trait}::"}{REQUIRES}; - } - -@@ -867,7 +870,7 @@ - } - $implementation_for{$_} = $method; - } -- $trait_config->methods = \%implementation_for; -+ $trait_config->methods(\%implementation_for); - } - - sub _get_trait_overloads { -@@ -884,7 +887,7 @@ - debug "< getting overloads for ${trait}" if DEBUG; - - # get the overload parameter hash -- $trait_config->overloads = { %{"${trait}::OVERLOADS"} } -+ $trait_config->overloads({ %{"${trait}::OVERLOADS"} }) - if defined %{"${trait}::OVERLOADS"}; - } - -@@ -1012,7 +1015,7 @@ - my $trait_config = Class::Trait::Config->new(); - - # we are making a composite trait, so lets call it as such -- $trait_config->name = COMPOSITE; -+ $trait_config->name(COMPOSITE); - - $debug_indent++ if DEBUG; - -diff -urNad libclass-trait-perl-0.22~/t/050_Trait_Config_test.t libclass-trait-perl-0.22/t/050_Trait_Config_test.t ---- libclass-trait-perl-0.22~/t/050_Trait_Config_test.t 2006-10-26 08:30:32.000000000 +1000 -+++ libclass-trait-perl-0.22/t/050_Trait_Config_test.t 2008-11-17 10:33:42.923521994 +1000 -@@ -55,12 +55,12 @@ - - # add in those same variables - --$trait_config->name = $name; --$trait_config->sub_traits = $sub_traits; --$trait_config->requirements = $requirements; --$trait_config->methods = $methods; --$trait_config->overloads = $overloads; --$trait_config->conflicts = $conflicts; -+$trait_config->name($name); -+$trait_config->sub_traits($sub_traits); -+$trait_config->requirements($requirements); -+$trait_config->methods($methods); -+$trait_config->overloads($overloads); -+$trait_config->conflicts($conflicts); - - # now test that they were successfully inserted - diff -Nru libclass-trait-perl-0.22/lib/Class/Trait/Base.pm libclass-trait-perl-0.31/lib/Class/Trait/Base.pm --- libclass-trait-perl-0.22/lib/Class/Trait/Base.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait/Base.pm 2010-01-03 10:53:15.000000000 +0100 @@ -4,7 +4,7 @@ use warnings; require Class::Trait; -our $VERSION = '0.05'; +our $VERSION = '0.31'; sub apply { my ($trait, $instance) = @_; diff -Nru libclass-trait-perl-0.22/lib/Class/Trait/Config.pm libclass-trait-perl-0.31/lib/Class/Trait/Config.pm --- libclass-trait-perl-0.22/lib/Class/Trait/Config.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait/Config.pm 2010-01-03 10:53:17.000000000 +0100 @@ -3,7 +3,9 @@ use strict; use warnings; -our $VERSION = '0.04'; +use base qw(Class::Accessor::Fast); + +our $VERSION = '0.31'; # we are going for a very struct-like class here to try and keep the # syntactical noise down. @@ -23,30 +25,9 @@ }, $class; } -# just use basic l-valued methods for clarity and speed. -sub name : lvalue { - $_[0]->{name}; -} - -sub sub_traits : lvalue { - $_[0]->{sub_traits}; -} - -sub requirements : lvalue { - $_[0]->{requirements}; -} - -sub methods : lvalue { - $_[0]->{methods}; -} - -sub overloads : lvalue { - $_[0]->{overloads}; -} - -sub conflicts : lvalue { - $_[0]->{conflicts}; -} +__PACKAGE__->mk_accessors(qw( + name sub_traits requirements methods overloads conflicts +)); # a basic clone function for moving in and out of the cache. sub clone { @@ -95,34 +76,31 @@ =item B -An C subroutine for accessing the C string field of the -Class::Trait::Config object. +An accessor to the C string field of the Class::Trait::Config object. =item B -An C subroutine for accessing the C array reference field -of the Class::Trait::Config object. +An accessor to the C array reference field of the Class::Trait::Config object. =item B -An C subroutine for accessing the C hash reference field +An accessor to the C hash reference field of the Class::Trait::Config object. Note, the requirements field is a hash reference to speed requirement lookup, the values of the hash are simply booleans. =item B -An C subroutine for accessing the C hash reference field of -the Class::Trait::Config object. +An accessor to the C hash reference field of the Class::Trait::Config object. =item B -An C subroutine for accessing the C hash reference field of +An accessor to the C hash reference field of the Class::Trait::Config object. =item B -An C subroutine for accessing the C hash reference field of +An accessor to the C hash reference field of the Class::Trait::Config object. Note, the conflicts field is a hash reference to speed conflict lookup, the values of the hash are simply booleans. diff -Nru libclass-trait-perl-0.22/lib/Class/Trait/Lib/TComparable.pm libclass-trait-perl-0.31/lib/Class/Trait/Lib/TComparable.pm --- libclass-trait-perl-0.22/lib/Class/Trait/Lib/TComparable.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait/Lib/TComparable.pm 2010-01-03 10:53:16.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '0.01'; +our $VERSION = '0.31'; ## we are a trait use Class::Trait 'base'; diff -Nru libclass-trait-perl-0.22/lib/Class/Trait/Lib/TEquality.pm libclass-trait-perl-0.31/lib/Class/Trait/Lib/TEquality.pm --- libclass-trait-perl-0.22/lib/Class/Trait/Lib/TEquality.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait/Lib/TEquality.pm 2010-01-03 10:53:16.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '0.03'; +our $VERSION = '0.31'; use Class::Trait 'base'; diff -Nru libclass-trait-perl-0.22/lib/Class/Trait/Lib/TPrintable.pm libclass-trait-perl-0.31/lib/Class/Trait/Lib/TPrintable.pm --- libclass-trait-perl-0.22/lib/Class/Trait/Lib/TPrintable.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait/Lib/TPrintable.pm 2010-01-03 10:53:15.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '0.01'; +our $VERSION = '0.31'; use Class::Trait 'base'; diff -Nru libclass-trait-perl-0.22/lib/Class/Trait/Reflection.pm libclass-trait-perl-0.31/lib/Class/Trait/Reflection.pm --- libclass-trait-perl-0.22/lib/Class/Trait/Reflection.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait/Reflection.pm 2010-01-03 10:53:15.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '0.05'; +our $VERSION = '0.31'; use Class::Trait (); diff -Nru libclass-trait-perl-0.22/lib/Class/Trait.pm libclass-trait-perl-0.31/lib/Class/Trait.pm --- libclass-trait-perl-0.22/lib/Class/Trait.pm 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/lib/Class/Trait.pm 2010-01-03 10:53:16.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '0.22'; +our $VERSION = '0.31'; use overload (); use File::Spec (); @@ -684,7 +684,7 @@ # initialize our trait configuration my $trait_config = Class::Trait::Config->new(); - $trait_config->name = $trait; + $trait_config->name($trait); _get_trait_requirements($trait_config); _get_trait_methods($trait_config); @@ -693,7 +693,8 @@ no strict 'refs'; # if this trait has sub-traits, we need to process them. - if ( $trait->isa('Class::Trait::Base') && defined %{"${trait}::TRAITS"} ) + no warnings 'once'; + if ( $trait->isa('Class::Trait::Base') && keys %{"${trait}::TRAITS"} ) { if (DEBUG) { debug "! found sub-traits in trait ($trait)"; @@ -704,7 +705,7 @@ if (DEBUG) { $debug_indent--; debug "< dumping trait ($trait) with subtraits (" - . ( join ", " => @{ $trait_config->{sub_traits} } ) . ") : " + . ( join ", " => @{ $trait_config->sub_traits } ) . ") : " . Data::Dumper::Dumper($trait_config); } } @@ -737,8 +738,8 @@ # create a new trait config to represent the combined traits my $trait_config = Class::Trait::Config->new(); - $trait_config->name = $overriding_trait->name; - $trait_config->sub_traits = [ + $trait_config->name($overriding_trait->name); + $trait_config->sub_traits([ # if we have a composite trait we dont want to include the name here # as it is actually defined better in the sub_traits field, but if we @@ -746,19 +747,22 @@ ( ( COMPOSITE() eq $trait->name ) ? () : $trait->name ), @{ $trait->sub_traits } - ]; + ]); # let the overriding trait override the methods in the regular trait - $trait_config->methods - = { %{ $trait->methods }, %{ $overriding_trait->methods } }; + $trait_config->methods( + { %{ $trait->methods }, %{ $overriding_trait->methods } } + ); # the same for overloads - $trait_config->overloads - = { %{ $trait->overloads }, %{ $overriding_trait->overloads } }; + $trait_config->overloads( + { %{ $trait->overloads }, %{ $overriding_trait->overloads } } + ); # now combine the requirements as well - $trait_config->requirements - = { %{ $trait->requirements }, %{ $overriding_trait->requirements } }; + $trait_config->requirements( + { %{ $trait->requirements }, %{ $overriding_trait->requirements } } + ); if (DEBUG) { debug "? checking for requirement fufillment"; @@ -838,7 +842,7 @@ # get any requirements in the trait and turn it into a hash so we can # track stuff easier - $trait_config->requirements = { map { $_ => 1 } @{"${trait}::REQUIRES"} } + $trait_config->requirements({ map { $_ => 1 } @{"${trait}::REQUIRES"} }) if defined @{"${trait}::"}{REQUIRES}; } @@ -867,7 +871,7 @@ } $implementation_for{$_} = $method; } - $trait_config->methods = \%implementation_for; + $trait_config->methods(\%implementation_for); } sub _get_trait_overloads { @@ -884,8 +888,9 @@ debug "< getting overloads for ${trait}" if DEBUG; # get the overload parameter hash - $trait_config->overloads = { %{"${trait}::OVERLOADS"} } - if defined %{"${trait}::OVERLOADS"}; + no warnings 'once'; + $trait_config->overloads({ %{"${trait}::OVERLOADS"} }) + if keys %{"${trait}::OVERLOADS"}; } ## ---------------------------------------------------------------------------- @@ -1012,7 +1017,7 @@ my $trait_config = Class::Trait::Config->new(); # we are making a composite trait, so lets call it as such - $trait_config->name = COMPOSITE; + $trait_config->name(COMPOSITE); $debug_indent++ if DEBUG; @@ -1201,7 +1206,7 @@ =head1 NAME -Class::Trait - An implementation of Traits in Perl +Class::Trait - Deprecated. Please use Moose::Role. =head1 SYNOPSIS diff -Nru libclass-trait-perl-0.22/Makefile.PL libclass-trait-perl-0.31/Makefile.PL --- libclass-trait-perl-0.22/Makefile.PL 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/Makefile.PL 2010-01-03 10:53:17.000000000 +0100 @@ -1,16 +1,17 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.03 +# Note: this file was auto-generated by Module::Build::Compat version 0.35 use ExtUtils::MakeMaker; WriteMakefile ( - 'NAME' => 'Class::Trait', - 'VERSION_FROM' => 'lib/Class/Trait.pm', - 'PREREQ_PM' => { - 'File::Spec' => '0', - 'Test::Differences' => '0.47', - 'Test::Simple' => '0.62' - }, - 'INSTALLDIRS' => 'site', - 'EXE_FILES' => [], - 'PL_FILES' => {} -) + 'NAME' => 'Class::Trait', + 'VERSION_FROM' => 'lib/Class/Trait.pm', + 'PREREQ_PM' => { + 'Class::Accessor::Fast' => 0, + 'File::Spec' => 0, + 'Test::Differences' => '0.47', + 'Test::Simple' => '0.62' + }, + 'INSTALLDIRS' => 'site', + 'EXE_FILES' => [], + 'PL_FILES' => {} + ) ; diff -Nru libclass-trait-perl-0.22/META.yml libclass-trait-perl-0.31/META.yml --- libclass-trait-perl-0.22/META.yml 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/META.yml 2010-01-03 10:53:16.000000000 +0100 @@ -1,8 +1,42 @@ ---- #YAML:1.0 +--- name: Class-Trait -version: 0.22 +version: 0.31 author: - 'Curtis "Ovid" Poe ' -abstract: "An implementation of Traits in Perl" +abstract: Deprecated. Please use Moose::Role. license: perl -generated_by: Module::Build version 0.2704, without YAML.pm +resources: + license: http://dev.perl.org/licenses/ +requires: + Class::Accessor::Fast: 0 + File::Spec: 0 + Test::Differences: 0.47 + Test::Simple: 0.62 +configure_requires: + Module::Build: 0.35 +provides: + Class::Trait: + file: lib/Class/Trait.pm + version: 0.31 + Class::Trait::Base: + file: lib/Class/Trait/Base.pm + version: 0.31 + Class::Trait::Config: + file: lib/Class/Trait/Config.pm + version: 0.31 + Class::Trait::Reflection: + file: lib/Class/Trait/Reflection.pm + version: 0.31 + TComparable: + file: lib/Class/Trait/Lib/TComparable.pm + version: 0.31 + TEquality: + file: lib/Class/Trait/Lib/TEquality.pm + version: 0.31 + TPrintable: + file: lib/Class/Trait/Lib/TPrintable.pm + version: 0.31 +generated_by: Module::Build version 0.35 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 diff -Nru libclass-trait-perl-0.22/t/050_Trait_Config_test.t libclass-trait-perl-0.31/t/050_Trait_Config_test.t --- libclass-trait-perl-0.22/t/050_Trait_Config_test.t 2006-10-26 00:30:32.000000000 +0200 +++ libclass-trait-perl-0.31/t/050_Trait_Config_test.t 2010-01-03 10:53:15.000000000 +0100 @@ -55,12 +55,12 @@ # add in those same variables -$trait_config->name = $name; -$trait_config->sub_traits = $sub_traits; -$trait_config->requirements = $requirements; -$trait_config->methods = $methods; -$trait_config->overloads = $overloads; -$trait_config->conflicts = $conflicts; +$trait_config->name($name); +$trait_config->sub_traits($sub_traits); +$trait_config->requirements($requirements); +$trait_config->methods($methods); +$trait_config->overloads($overloads); +$trait_config->conflicts($conflicts); # now test that they were successfully inserted