r33081 - in /branches/upstream/libmoosex-strictconstructor-perl/current: ./ lib/MooseX/ lib/MooseX/StrictConstructor/Role/ lib/MooseX/StrictConstructor/Role/Meta/Method/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sun Apr 12 09:21:49 UTC 2009


Author: ansgar-guest
Date: Sun Apr 12 09:21:44 2009
New Revision: 33081

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=33081
Log:
[svn-upgrade] Integrating new upstream version, libmoosex-strictconstructor-perl (0.08)

Modified:
    branches/upstream/libmoosex-strictconstructor-perl/current/Build.PL
    branches/upstream/libmoosex-strictconstructor-perl/current/Changes
    branches/upstream/libmoosex-strictconstructor-perl/current/META.yml
    branches/upstream/libmoosex-strictconstructor-perl/current/Makefile.PL
    branches/upstream/libmoosex-strictconstructor-perl/current/README
    branches/upstream/libmoosex-strictconstructor-perl/current/SIGNATURE
    branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor.pm
    branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
    branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Object.pm

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/Build.PL?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/Build.PL (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/Build.PL Sun Apr 12 09:21:44 2009
@@ -8,7 +8,7 @@
 my $builder = Module::Build->new
     ( module_name        => 'MooseX::StrictConstructor',
       license            => 'perl',
-      requires           => { 'Moose'      => '0.56',
+      requires           => { 'Moose'      => '0.74',
                               'Test::More' => '0',
                             },
       create_makefile_pl => 'passthrough',

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/Changes?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/Changes (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/Changes Sun Apr 12 09:21:44 2009
@@ -1,3 +1,8 @@
+0.08     2009-04-07
+
+- Make this module work with Moose 0.73_01+.
+
+
 0.07     2008-09-01
 
 - No code changes, just a stable release for Moose 0.56.

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/META.yml?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/META.yml (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/META.yml Sun Apr 12 09:21:44 2009
@@ -1,6 +1,6 @@
 ---
 name: MooseX-StrictConstructor
-version: 0.07
+version: 0.08
 author:
   - 'Dave Rolsky, C<< <autarch at urth.org> >>'
 abstract: Make your object constructors blow up on unknown attributes
@@ -8,17 +8,17 @@
 resources:
   license: http://dev.perl.org/licenses/
 requires:
-  Moose: 0.56
+  Moose: 0.74
   Test::More: 0
 provides:
   MooseX::StrictConstructor:
     file: lib/MooseX/StrictConstructor.pm
-    version: 0.07
+    version: 0.08
   MooseX::StrictConstructor::Role::Meta::Method::Constructor:
     file: lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
   MooseX::StrictConstructor::Role::Object:
     file: lib/MooseX/StrictConstructor/Role/Object.pm
-generated_by: Module::Build version 0.2808
+generated_by: Module::Build version 0.32
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.2.html
   version: 1.2

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/Makefile.PL?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/Makefile.PL (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/Makefile.PL Sun Apr 12 09:21:44 2009
@@ -1,4 +1,4 @@
-# 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.32
     
     unless (eval "use Module::Build::Compat 0.02; 1" ) {
       print "This module requires Module::Build to install itself.\n";
@@ -27,5 +27,6 @@
     eval "use Module::Build::Compat 0.02; 1" or die $@;
     
     Module::Build::Compat->run_build_pl(args => \@ARGV);
+    exit(0) unless(-e 'Build'); # cpantesters convention
     require Module::Build;
     Module::Build::Compat->write_makefile(build_class => 'Module::Build');

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/README?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/README (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/README Sun Apr 12 09:21:44 2009
@@ -22,13 +22,14 @@
     to catch small typos.
 
   Subverting Strictness
+
     You may find yourself wanting to have your constructor accept a
     parameter which does not correspond to an attribute.
 
-    In that case, you'll probably also be writing a "BUILD()" or
-    "BUILDARGS()" method to deal with that parameter. In a "BUILDARGS()"
+    In that case, you'll probably also be writing a `BUILD()' or
+    `BUILDARGS()' method to deal with that parameter. In a `BUILDARGS()'
     method, you can simply make sure that this parameter is not included in
-    the hash reference you return. Otherwise, in a "BUILD()" method, you can
+    the hash reference you return. Otherwise, in a `BUILD()' method, you can
     delete it from the hash reference of parameters.
 
       sub BUILD {
@@ -41,13 +42,13 @@
       }
 
 AUTHOR
-    Dave Rolsky, "<autarch at urth.org>"
+    Dave Rolsky, `<autarch at urth.org>'
 
 BUGS
     Please report any bugs or feature requests to
-    "bug-moosex-strictconstructor at rt.cpan.org", or through the web interface
-    at <http://rt.cpan.org>. I will be notified, and then you'll
-    automatically be notified of progress on your bug as I make changes.
+    `bug-moosex-strictconstructor at rt.cpan.org', or through the web interface
+    at http://rt.cpan.org. I will be notified, and then you'll automatically
+    be notified of progress on your bug as I make changes.
 
 COPYRIGHT & LICENSE
     Copyright 2007-2008 Dave Rolsky, All Rights Reserved.

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/SIGNATURE?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/SIGNATURE (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/SIGNATURE Sun Apr 12 09:21:44 2009
@@ -14,22 +14,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 9f70955c9be1dbf82d569d5059f9d06bb147b7ad Build.PL
-SHA1 41fe66bbb00146a5bf3db33d186983de92b85d4e Changes
+SHA1 4ce8426d76d1d3ab7811ebb9896627173b55c85b Build.PL
+SHA1 350804068ee8835bc1e5a7b06555c3867dec8fd9 Changes
 SHA1 b4b8ef7b7fc918602d52461e450759298c9594c4 MANIFEST
-SHA1 57202fbb2e09c695532728c1e739248a09ea9b06 META.yml
-SHA1 cd14ada78fb37a0d926edd86eddcdf7f939de582 Makefile.PL
-SHA1 0fe2fded7d23270318f32634a6dd419cd74f4b1e README
-SHA1 19c59ba4a26835c17ccd98cc2aa7c6755f5ca5cd lib/MooseX/StrictConstructor.pm
-SHA1 acae7436d8b8d45db622ac7e3101b876911bf1f3 lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
-SHA1 15f941256c07bd10d47099c076cc571eaec0bfbe lib/MooseX/StrictConstructor/Role/Object.pm
+SHA1 78f5fd81a8c65f73fd4b11f21375e8cf3a2ff661 META.yml
+SHA1 319790c23e8ec93773a072982ab6a2f366ada3a1 Makefile.PL
+SHA1 cccdbdb0921c03a74b731006c39c9492804ad888 README
+SHA1 ffc1bd98ac9787ad833e4aa34e38ec079de7910b lib/MooseX/StrictConstructor.pm
+SHA1 d2cc948aca63d92be8c902945c037c88d03e2bb4 lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
+SHA1 91e655e4f664051dd1511981bf497bc9e9452552 lib/MooseX/StrictConstructor/Role/Object.pm
 SHA1 99ccb73ee8acdb9c738646b8be1464fa56dd2b6b t/basic.t
 SHA1 1939a16163d1ced544e36670f17930f1cf75cdb1 t/pod-coverage.t
 SHA1 cec881e89926d320475f9de2b7fad02c2169f510 t/pod.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v1.4.9 (GNU/Linux)
 
-iD8DBQFIvB1v3Or3ZzQuifMRAoooAKDvRgLdSlqOo8DjjDtniH26gIniwgCgsFMF
-zwBvd+UZqJoHVpGApEu3DRM=
-=2saz
+iEYEARECAAYFAknbe40ACgkQ3Or3ZzQuifMKKgCgunOExeUViEh+jmTyruTHB1tR
+E74AoKObbdy8KTjYWyVKFWb7zlZvH7cR
+=VoO+
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor.pm?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor.pm (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor.pm Sun Apr 12 09:21:44 2009
@@ -3,11 +3,10 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.07';
+our $VERSION = '0.08';
 $VERSION = eval $VERSION;
 
-use Class::MOP ();
-use Moose 0.56 ();
+use Moose 0.74 ();
 use Moose::Exporter;
 use Moose::Util::MetaRole;
 use MooseX::StrictConstructor::Role::Object;

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm Sun Apr 12 09:21:44 2009
@@ -19,7 +19,7 @@
         ( map { "$_ => 1," }
           grep { defined }
           map { $_->init_arg() }
-          @{ $self->attributes() }
+          @{ $self->_attributes() }
         );
 
     $source .= <<"EOF";

Modified: branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Object.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Object.pm?rev=33081&op=diff
==============================================================================
--- branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Object.pm (original)
+++ branches/upstream/libmoosex-strictconstructor-perl/current/lib/MooseX/StrictConstructor/Role/Object.pm Sun Apr 12 09:21:44 2009
@@ -15,7 +15,7 @@
         ( map { $_ => 1 }
           grep { defined }
           map { $_->init_arg() }
-          $self->meta()->compute_all_applicable_attributes()
+          $self->meta()->get_all_attributes()
         );
 
     my @bad = sort grep { ! $attrs{$_} }  keys %{ $params };




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