r30816 - in /trunk/libmouse-perl: Changes META.yml SIGNATURE debian/changelog lib/Mouse.pm lib/Mouse/Object.pm lib/Mouse/Tiny.pm lib/Mouse/Util.pm

bricas-guest at users.alioth.debian.org bricas-guest at users.alioth.debian.org
Wed Feb 18 13:22:07 UTC 2009


Author: bricas-guest
Date: Wed Feb 18 13:21:57 2009
New Revision: 30816

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30816
Log:
New upstream release

Modified:
    trunk/libmouse-perl/Changes
    trunk/libmouse-perl/META.yml
    trunk/libmouse-perl/SIGNATURE
    trunk/libmouse-perl/debian/changelog
    trunk/libmouse-perl/lib/Mouse.pm
    trunk/libmouse-perl/lib/Mouse/Object.pm
    trunk/libmouse-perl/lib/Mouse/Tiny.pm
    trunk/libmouse-perl/lib/Mouse/Util.pm

Modified: trunk/libmouse-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/Changes?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/Changes (original)
+++ trunk/libmouse-perl/Changes Wed Feb 18 13:21:57 2009
@@ -1,4 +1,11 @@
 Revision history for Mouse
+
+0.17 Tue Feb 17 20:10:29 2009
+    * Load mro directly if Perl is recent enough (Nicholas Clark)
+
+    * Add dump method from Moose::Object into Mouse::Object (perigrin)
+
+    * Add role-role composition (tokuhirom)
 
 0.16 Mon Feb 9 20:56:27 2009
     * Implement get_all_method_names

Modified: trunk/libmouse-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/META.yml?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/META.yml (original)
+++ trunk/libmouse-perl/META.yml Wed Feb 18 13:21:57 2009
@@ -19,4 +19,4 @@
 requires: 
   perl: 5.6.0
 tests: t/*.t t/*/*.t
-version: 0.16
+version: 0.17

Modified: trunk/libmouse-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/SIGNATURE?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/SIGNATURE (original)
+++ trunk/libmouse-perl/SIGNATURE Wed Feb 18 13:21:57 2009
@@ -14,9 +14,9 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 28c6eae71869acf04491ce9abd18ad50f28b25e2 Changes
+SHA1 65d9a337eb962257d71169e84461da81d7e950e0 Changes
 SHA1 cc5b8b3e9c343ee4255aac699cd2c9545d2db28e MANIFEST
-SHA1 476c039b99ca320d9ae7796816e6c710acdc4e59 META.yml
+SHA1 8abbaa4f6d2c3fc176c504426fc45cca6fbb0d7b META.yml
 SHA1 739ec327f9abe6e0fc5f9dc7bc62607c562d4081 Makefile.PL
 SHA1 cc85b7cafbadec0483a5865da306b656682740eb author/benchmarks/basic.pl
 SHA1 a408c24efc701c368bbde43c020b29e1ebd80f64 author/generate-mouse-tiny.pl
@@ -32,17 +32,17 @@
 SHA1 d32dff9f0d2f02023ca6d79a48d62fd855916351 inc/Module/Install/WriteAll.pm
 SHA1 29ccdbe057fec4775456b275262881a6f79531d6 inc/Test/Exception.pm
 SHA1 ab0c02dbe66a1a82be1cc3909a06b41d3e5894c2 inc/Test/More.pm
-SHA1 161787ca3332d8be72bd6d0b9f11beb4c4c6f1f8 lib/Mouse.pm
+SHA1 47a5e77b06401e8f53154e6bd6e06ef9540f34f5 lib/Mouse.pm
 SHA1 5b298920615fd882a22420bff171102160b30ce5 lib/Mouse/Meta/Attribute.pm
 SHA1 452ba663e757a2b368d5f252486c4e9d3c59666b lib/Mouse/Meta/Class.pm
 SHA1 c92a58160d997408252443102f4ed3f59c81aabd lib/Mouse/Meta/Method/Constructor.pm
 SHA1 8feddf4deaee14d9c1f69eff8d0c986222e90dde lib/Mouse/Meta/Method/Destructor.pm
 SHA1 d7d068b3351d7c599ea0caf7f08e3d1a6903e123 lib/Mouse/Meta/Role.pm
-SHA1 686313656947a1afd8e86bbd450f285a275ca6b4 lib/Mouse/Object.pm
+SHA1 7725bc3b01ddf9a9b5a60f20e807c0b93ce62c90 lib/Mouse/Object.pm
 SHA1 956720a381c30fdc017c589957a8069d648f4155 lib/Mouse/Role.pm
-SHA1 55915e1255056f17fb813cdb45eae3b8ce00b71b lib/Mouse/Tiny.pm
+SHA1 51a2936d0654b95b613dd82a4b8e54fdc77e4f31 lib/Mouse/Tiny.pm
 SHA1 affa82bf47e1888f22731b76c5c0f678bc5e43c0 lib/Mouse/TypeRegistry.pm
-SHA1 f1861be095458741b1a176f70ba2cc83ea13965e lib/Mouse/Util.pm
+SHA1 409b1fd6115b8e97f07a58b52b0be26ee0f9cc58 lib/Mouse/Util.pm
 SHA1 d4ba85be3d0e072c4e4b9ec24e3873c0ec85b6ba lib/Mouse/Util/TypeConstraints.pm
 SHA1 50017b83f252cac26cc828e427231ce8a9cd3c4d lib/Squirrel.pm
 SHA1 1d459388c2b9e9173b9fcb0f13413b85758a1e7a lib/Squirrel/Role.pm
@@ -131,7 +131,7 @@
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (Darwin)
 
-iD8DBQFJkOFpsxfQtHhyRPoRAvxxAJsG/qKhuw0wAeMmSXXpKmdU3RgP5gCeLoeG
-JsgFI/YWkoS+eLPG8z3NEpo=
-=4JqY
+iD8DBQFJm2DLsxfQtHhyRPoRAnEMAJ9wFADbbnrIuL+6JT4BXhBT0rauEwCePiCE
+Ex3gkunoDzjZXkFGsbflA7k=
+=V7Wy
 -----END PGP SIGNATURE-----

Modified: trunk/libmouse-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/debian/changelog?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/debian/changelog (original)
+++ trunk/libmouse-perl/debian/changelog Wed Feb 18 13:21:57 2009
@@ -1,3 +1,9 @@
+libmouse-perl (0.17-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Brian Cassidy <brian.cassidy at gmail.com>  Wed, 18 Feb 2009 09:21:34 -0400
+
 libmouse-perl (0.16-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libmouse-perl/lib/Mouse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/lib/Mouse.pm?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/lib/Mouse.pm (original)
+++ trunk/libmouse-perl/lib/Mouse.pm Wed Feb 18 13:21:57 2009
@@ -4,7 +4,7 @@
 use 5.006;
 use base 'Exporter';
 
-our $VERSION = '0.16';
+our $VERSION = '0.17';
 
 BEGIN {
     if ($ENV{MOUSE_DEBUG}) {

Modified: trunk/libmouse-perl/lib/Mouse/Object.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/lib/Mouse/Object.pm?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/lib/Mouse/Object.pm (original)
+++ trunk/libmouse-perl/lib/Mouse/Object.pm Wed Feb 18 13:21:57 2009
@@ -113,6 +113,13 @@
     }
 }
 
+sub dump { 
+    my $self = shift;
+    require Data::Dumper;
+    local $Data::Dumper::Maxdepth = shift if @_;
+    Data::Dumper::Dumper $self;
+}
+
 1;
 
 __END__
@@ -152,5 +159,20 @@
 You may put any business logic deinitialization in DEMOLISH methods. You don't
 need to redispatch or return any specific value.
 
+
+=head2 B<dump ($maxdepth)>
+
+From the Moose POD:
+
+    C'mon, how many times have you written the following code while debugging:
+
+     use Data::Dumper; 
+     warn Dumper $obj;
+
+    It can get seriously annoying, so why not just use this.
+
+The implementation was lifted directly from Moose::Object.
+
 =cut
 
+

Modified: trunk/libmouse-perl/lib/Mouse/Tiny.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/lib/Mouse/Tiny.pm?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/lib/Mouse/Tiny.pm (original)
+++ trunk/libmouse-perl/lib/Mouse/Tiny.pm Wed Feb 18 13:21:57 2009
@@ -27,6 +27,7 @@
 
 our @EXPORT_OK = qw(
     get_linear_isa
+    apply_all_roles
 );
 our %EXPORT_TAGS = (
     all  => \@EXPORT_OK,
@@ -35,6 +36,7 @@
 BEGIN {
     my $impl;
     if ($] >= 5.009_005) {
+        require mro;
         $impl = \&mro::get_linear_isa;
     } else {
         my $loaded = do {
@@ -1576,6 +1578,13 @@
     }
 }
 
+sub dump { 
+    my $self = shift;
+    require Data::Dumper;
+    local $Data::Dumper::Maxdepth = shift if @_;
+    Data::Dumper::Dumper $self;
+}
+
 package Mouse::Role;
 use strict;
 use warnings;

Modified: trunk/libmouse-perl/lib/Mouse/Util.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmouse-perl/lib/Mouse/Util.pm?rev=30816&op=diff
==============================================================================
--- trunk/libmouse-perl/lib/Mouse/Util.pm (original)
+++ trunk/libmouse-perl/lib/Mouse/Util.pm Wed Feb 18 13:21:57 2009
@@ -6,6 +6,7 @@
 
 our @EXPORT_OK = qw(
     get_linear_isa
+    apply_all_roles
 );
 our %EXPORT_TAGS = (
     all  => \@EXPORT_OK,
@@ -14,6 +15,7 @@
 BEGIN {
     my $impl;
     if ($] >= 5.009_005) {
+        require mro;
         $impl = \&mro::get_linear_isa;
     } else {
         my $loaded = do {




More information about the Pkg-perl-cvs-commits mailing list