r70160 - in /trunk/libmoosex-setonce-perl: Changes LICENSE META.json META.yml Makefile.PL README debian/changelog lib/MooseX/SetOnce.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Mar 1 11:40:00 UTC 2011


Author: jawnsy-guest
Date: Tue Mar  1 11:39:51 2011
New Revision: 70160

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70160
Log:
NOTE: this contains compatibility changes for Moose 2.0; this
does not need to be uploaded until the new Moose is in Debian
* New upstream release

Modified:
    trunk/libmoosex-setonce-perl/Changes
    trunk/libmoosex-setonce-perl/LICENSE
    trunk/libmoosex-setonce-perl/META.json
    trunk/libmoosex-setonce-perl/META.yml
    trunk/libmoosex-setonce-perl/Makefile.PL
    trunk/libmoosex-setonce-perl/README
    trunk/libmoosex-setonce-perl/debian/changelog
    trunk/libmoosex-setonce-perl/lib/MooseX/SetOnce.pm

Modified: trunk/libmoosex-setonce-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/Changes?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/Changes (original)
+++ trunk/libmoosex-setonce-perl/Changes Tue Mar  1 11:39:51 2011
@@ -1,4 +1,7 @@
 Revision history for MooseX-SetOnce
+
+0.100473  2011-02-27 13:26:52 America/New_York
+          compatibile with Moose 2.x (thanks, APOCAL and Jesse Luehrs!)
 
 0.100472  2010-11-03 16:14:19 America/New_York
           include attribute name in error message

Modified: trunk/libmoosex-setonce-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/LICENSE?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/LICENSE (original)
+++ trunk/libmoosex-setonce-perl/LICENSE Tue Mar  1 11:39:51 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Ricardo SIGNES.
+This software is copyright (c) 2011 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2010 by Ricardo SIGNES.
+This software is Copyright (c) 2011 by Ricardo SIGNES.
 
 This is free software, licensed under:
 
@@ -270,7 +270,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2010 by Ricardo SIGNES.
+This software is Copyright (c) 2011 by Ricardo SIGNES.
 
 This is free software, licensed under:
 

Modified: trunk/libmoosex-setonce-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/META.json?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/META.json (original)
+++ trunk/libmoosex-setonce-perl/META.json Tue Mar  1 11:39:51 2011
@@ -4,7 +4,7 @@
       "Ricardo SIGNES <rjbs at cpan.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.102400",
+   "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110550",
    "license" : [
       "perl_5"
    ],
@@ -39,118 +39,123 @@
          "url" : "git://git.codesimply.com/MooseX-SetOnce.git"
       }
    },
-   "version" : "0.100472",
+   "version" : "0.100473",
    "x_Dist_Zilla" : {
       "plugins" : [
          {
+            "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
+            "name" : "@RJBS/CheckPrereqsIndexed",
+            "version" : "0.002"
+         },
+         {
             "class" : "Dist::Zilla::Plugin::GatherDir",
             "name" : "@RJBS/@Basic/GatherDir",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::PruneCruft",
             "name" : "@RJBS/@Basic/PruneCruft",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::ManifestSkip",
             "name" : "@RJBS/@Basic/ManifestSkip",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaYAML",
             "name" : "@RJBS/@Basic/MetaYAML",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::License",
             "name" : "@RJBS/@Basic/License",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::Readme",
             "name" : "@RJBS/@Basic/Readme",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExtraTests",
             "name" : "@RJBS/@Basic/ExtraTests",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
             "name" : "@RJBS/@Basic/ExecDir",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::ShareDir",
             "name" : "@RJBS/@Basic/ShareDir",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::MakeMaker",
             "name" : "@RJBS/@Basic/MakeMaker",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
             "name" : "@RJBS/@Basic/Manifest",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::TestRelease",
             "name" : "@RJBS/@Basic/TestRelease",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::ConfirmRelease",
             "name" : "@RJBS/@Basic/ConfirmRelease",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::UploadToCPAN",
             "name" : "@RJBS/@Basic/UploadToCPAN",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::AutoPrereqs",
             "name" : "@RJBS/AutoPrereqs",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::NextVersion",
             "name" : "@RJBS/Git::NextVersion",
-            "version" : "1.102810"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::PkgVersion",
             "name" : "@RJBS/PkgVersion",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaConfig",
             "name" : "@RJBS/MetaConfig",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaJSON",
             "name" : "@RJBS/MetaJSON",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::NextRelease",
             "name" : "@RJBS/NextRelease",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
             "name" : "@RJBS/PodSyntaxTests",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::Repository",
             "name" : "@RJBS/Repository",
-            "version" : "0.14"
+            "version" : "0.17"
          },
          {
             "class" : "Dist::Zilla::Plugin::Prereqs",
@@ -161,7 +166,7 @@
                }
             },
             "name" : "@RJBS/TestMoreWithSubtests",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -171,42 +176,42 @@
          {
             "class" : "Dist::Zilla::Plugin::Git::Check",
             "name" : "@RJBS/@Git/Check",
-            "version" : "1.102810"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Commit",
             "name" : "@RJBS/@Git/Commit",
-            "version" : "1.102810"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Tag",
             "name" : "@RJBS/@Git/Tag",
-            "version" : "1.102810"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Push",
             "name" : "@RJBS/@Git/Push",
-            "version" : "1.102810"
+            "version" : "1.110500"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":InstallModules",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":TestFiles",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExecFiles",
-            "version" : "4.102342"
+            "version" : "4.200004"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ShareFiles",
-            "version" : "4.102342"
+            "version" : "4.200004"
          }
       ],
       "zilla" : {
@@ -214,7 +219,7 @@
          "config" : {
             "is_trial" : 0
          },
-         "version" : "4.102342"
+         "version" : "4.200004"
       }
    }
 }

Modified: trunk/libmoosex-setonce-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/META.yml?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/META.yml (original)
+++ trunk/libmoosex-setonce-perl/META.yml Tue Mar  1 11:39:51 2011
@@ -9,7 +9,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 6.31
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110550'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,97 +19,101 @@
   Moose::Role: 0.90
 resources:
   repository: git://git.codesimply.com/MooseX-SetOnce.git
-version: 0.100472
+version: 0.100473
 x_Dist_Zilla:
   plugins:
     -
+      class: Dist::Zilla::Plugin::CheckPrereqsIndexed
+      name: '@RJBS/CheckPrereqsIndexed'
+      version: 0.002
+    -
       class: Dist::Zilla::Plugin::GatherDir
       name: '@RJBS/@Basic/GatherDir'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::PruneCruft
       name: '@RJBS/@Basic/PruneCruft'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::ManifestSkip
       name: '@RJBS/@Basic/ManifestSkip'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::MetaYAML
       name: '@RJBS/@Basic/MetaYAML'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::License
       name: '@RJBS/@Basic/License'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::Readme
       name: '@RJBS/@Basic/Readme'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::ExtraTests
       name: '@RJBS/@Basic/ExtraTests'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: '@RJBS/@Basic/ExecDir'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::ShareDir
       name: '@RJBS/@Basic/ShareDir'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::MakeMaker
       name: '@RJBS/@Basic/MakeMaker'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::Manifest
       name: '@RJBS/@Basic/Manifest'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::TestRelease
       name: '@RJBS/@Basic/TestRelease'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::ConfirmRelease
       name: '@RJBS/@Basic/ConfirmRelease'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::UploadToCPAN
       name: '@RJBS/@Basic/UploadToCPAN'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::AutoPrereqs
       name: '@RJBS/AutoPrereqs'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::Git::NextVersion
       name: '@RJBS/Git::NextVersion'
-      version: 1.102810
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::PkgVersion
       name: '@RJBS/PkgVersion'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::MetaConfig
       name: '@RJBS/MetaConfig'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::MetaJSON
       name: '@RJBS/MetaJSON'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::NextRelease
       name: '@RJBS/NextRelease'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::PodSyntaxTests
       name: '@RJBS/PodSyntaxTests'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::Repository
       name: '@RJBS/Repository'
-      version: 0.14
+      version: 0.17
     -
       class: Dist::Zilla::Plugin::Prereqs
       config:
@@ -117,7 +121,7 @@
           phase: test
           type: requires
       name: '@RJBS/TestMoreWithSubtests'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::PodWeaver
       name: '@RJBS/PodWeaver'
@@ -125,37 +129,37 @@
     -
       class: Dist::Zilla::Plugin::Git::Check
       name: '@RJBS/@Git/Check'
-      version: 1.102810
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::Git::Commit
       name: '@RJBS/@Git/Commit'
-      version: 1.102810
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::Git::Tag
       name: '@RJBS/@Git/Tag'
-      version: 1.102810
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::Git::Push
       name: '@RJBS/@Git/Push'
-      version: 1.102810
+      version: 1.110500
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':TestFiles'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExecFiles'
-      version: 4.102342
+      version: 4.200004
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ShareFiles'
-      version: 4.102342
+      version: 4.200004
   zilla:
     class: Dist::Zilla::Dist::Builder
     config:
       is_trial: 0
-    version: 4.102342
+    version: 4.200004

Modified: trunk/libmoosex-setonce-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/Makefile.PL?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/Makefile.PL (original)
+++ trunk/libmoosex-setonce-perl/Makefile.PL Tue Mar  1 11:39:51 2011
@@ -26,7 +26,7 @@
   'PREREQ_PM' => {
     'Moose::Role' => '0.90'
   },
-  'VERSION' => '0.100472',
+  'VERSION' => '0.100473',
   'test' => {
     'TESTS' => 't/*.t'
   }

Modified: trunk/libmoosex-setonce-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/README?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/README (original)
+++ trunk/libmoosex-setonce-perl/README Tue Mar  1 11:39:51 2011
@@ -1,11 +1,11 @@
 
 
 This archive contains the distribution MooseX-SetOnce,
-version 0.100472:
+version 0.100473:
 
   write-once, read-many attributes for Moose
 
-This software is copyright (c) 2010 by Ricardo SIGNES.
+This software is copyright (c) 2011 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.

Modified: trunk/libmoosex-setonce-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/debian/changelog?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/debian/changelog (original)
+++ trunk/libmoosex-setonce-perl/debian/changelog Tue Mar  1 11:39:51 2011
@@ -1,3 +1,12 @@
+libmoosex-setonce-perl (0.100473-1) UNRELEASED; urgency=low
+
+  NOTE: this contains compatibility changes for Moose 2.0; this
+  does not need to be uploaded until the new Moose is in Debian
+
+  * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Tue, 01 Mar 2011 06:50:53 -0500
+
 libmoosex-setonce-perl (0.100472-1) unstable; urgency=low
 
   [ Ansgar Burchardt ]

Modified: trunk/libmoosex-setonce-perl/lib/MooseX/SetOnce.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-setonce-perl/lib/MooseX/SetOnce.pm?rev=70160&op=diff
==============================================================================
--- trunk/libmoosex-setonce-perl/lib/MooseX/SetOnce.pm (original)
+++ trunk/libmoosex-setonce-perl/lib/MooseX/SetOnce.pm Tue Mar  1 11:39:51 2011
@@ -2,18 +2,25 @@
 use warnings;
 package MooseX::SetOnce;
 BEGIN {
-  $MooseX::SetOnce::VERSION = '0.100472';
+  $MooseX::SetOnce::VERSION = '0.100473';
 }
 # ABSTRACT: write-once, read-many attributes for Moose
 
 
 package MooseX::SetOnce::Attribute;
 BEGIN {
-  $MooseX::SetOnce::Attribute::VERSION = '0.100472';
+  $MooseX::SetOnce::Attribute::VERSION = '0.100473';
 }
 use Moose::Role 0.90;
 
 before set_value => sub { $_[0]->_ensure_unset($_[1]) };
+
+around _inline_set_value => sub {
+    my ( $orig, $self, @args ) = @_;
+    my (@lines) = $self->$orig(@args);
+    unshift @lines, sprintf q{$_[0]->meta->get_attribute("%s")->_ensure_unset($_[0]);}, quotemeta( $self->name );
+    return @lines;
+} if $Moose::VERSION >= 1.9900;
 
 sub _ensure_unset {
   my ($self, $instance) = @_;
@@ -29,11 +36,11 @@
     roles => [ 'MooseX::SetOnce::Accessor' ],
     cache => 1
   )->name
-};
+} if $Moose::VERSION < 1.9900;
 
 package MooseX::SetOnce::Accessor;
 BEGIN {
-  $MooseX::SetOnce::Accessor::VERSION = '0.100472';
+  $MooseX::SetOnce::Accessor::VERSION = '0.100473';
 }
 use Moose::Role 0.90;
 
@@ -52,7 +59,7 @@
 
 package Moose::Meta::Attribute::Custom::Trait::SetOnce;
 BEGIN {
-  $Moose::Meta::Attribute::Custom::Trait::SetOnce::VERSION = '0.100472';
+  $Moose::Meta::Attribute::Custom::Trait::SetOnce::VERSION = '0.100473';
 }
 sub register_implementation { 'MooseX::SetOnce::Attribute' }
 
@@ -67,7 +74,7 @@
 
 =head1 VERSION
 
-version 0.100472
+version 0.100473
 
 =head1 SYNOPSIS
 
@@ -106,7 +113,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is copyright (c) 2010 by Ricardo SIGNES.
+This software is copyright (c) 2011 by Ricardo SIGNES.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.




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