r47915 - in /branches/upstream/libmoose-policy-perl/current: .gitignore Build.PL Changes MANIFEST MANIFEST.SKIP META.yml Makefile.PL lib/Moose/Policy.pm lib/Moose/Policy/FollowPBP.pm t/003_saidso.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Nov 29 17:12:28 UTC 2009


Author: jawnsy-guest
Date: Sun Nov 29 17:12:22 2009
New Revision: 47915

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47915
Log:
[svn-upgrade] Integrating new upstream version, libmoose-policy-perl (0.04)

Added:
    branches/upstream/libmoose-policy-perl/current/.gitignore
Removed:
    branches/upstream/libmoose-policy-perl/current/MANIFEST.SKIP
Modified:
    branches/upstream/libmoose-policy-perl/current/Build.PL
    branches/upstream/libmoose-policy-perl/current/Changes
    branches/upstream/libmoose-policy-perl/current/MANIFEST
    branches/upstream/libmoose-policy-perl/current/META.yml
    branches/upstream/libmoose-policy-perl/current/Makefile.PL
    branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy.pm
    branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy/FollowPBP.pm
    branches/upstream/libmoose-policy-perl/current/t/003_saidso.t

Added: branches/upstream/libmoose-policy-perl/current/.gitignore
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/.gitignore?rev=47915&op=file
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/.gitignore (added)
+++ branches/upstream/libmoose-policy-perl/current/.gitignore Sun Nov 29 17:12:22 2009
@@ -1,0 +1,18 @@
+.*
+!.gitignore
+Makefile*
+Makefile.PL
+Build*
+!Build.PL
+META.yml
+blib
+build
+_build
+inc
+pm_to_blib
+MANIFEST*
+!MANIFEST.SKIP
+Debian*
+README
+Moose-Policy-*
+*.bs

Modified: branches/upstream/libmoose-policy-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/Build.PL?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/Build.PL (original)
+++ branches/upstream/libmoose-policy-perl/current/Build.PL Sun Nov 29 17:12:22 2009
@@ -5,8 +5,8 @@
 my $build = Module::Build->new(
     module_name => 'Moose::Policy',
     license => 'perl',
-    requires => { 
-        'Moose' => '0.20',
+    requires => {
+        'Moose' => '0.84',
     },
     optional => {
     },

Modified: branches/upstream/libmoose-policy-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/Changes?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/Changes (original)
+++ branches/upstream/libmoose-policy-perl/current/Changes Sun Nov 29 17:12:22 2009
@@ -1,16 +1,20 @@
 Revision history for Perl extension Moose-Policy
+
+0.04 Sun. Nov. 29, 2009
+    - Fix a couple of POD typos.
+    - Fix test warnings on new Moose versions.
 
 0.03 Sat. April 14th, 2007
     - changing it to use the Class::MOP::is_class_loaded
       and Class::MOP::load_class instead.
-    - fixed the metaclass loading to work with newer 
+    - fixed the metaclass loading to work with newer
       versions of Class::MOP
 
 0.02 Sun. Nov. 5, 2006
-    - We removed UNIVERSAL::require in Moose recently, and 
-      this module was breaking beacuse of that. It is now 
+    - We removed UNIVERSAL::require in Moose recently, and
+      this module was breaking beacuse of that. It is now
       fixed.
 
 0.01 Wed. Aug. 9, 2006
-    - module created by Stevan Little and Eric Willhelm, 
-      with input form Matt Trout and the #moose crew.
+    - module created by Stevan Little and Eric Willhelm,
+      with input form Matt Trout and the #moose crew.

Modified: branches/upstream/libmoose-policy-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/MANIFEST?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/MANIFEST (original)
+++ branches/upstream/libmoose-policy-perl/current/MANIFEST Sun Nov 29 17:12:22 2009
@@ -1,14 +1,12 @@
+.gitignore
 Build.PL
 Changes
-META.yml
-Makefile.PL
-MANIFEST
-MANIFEST.SKIP
-README
 lib/Moose/Policy.pm
 lib/Moose/Policy/FollowPBP.pm
 lib/Moose/Policy/JavaAccessors.pm
 lib/Moose/Policy/SingleInheritence.pm
+MANIFEST			This list of files
+README
 t/000_load.t
 t/001_basic.t
 t/002_dynamic.t
@@ -18,3 +16,5 @@
 t/020_SingleInheritence_test.t
 t/pod.t
 t/pod_coverage.t
+Makefile.PL
+META.yml

Modified: branches/upstream/libmoose-policy-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/META.yml?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/META.yml (original)
+++ branches/upstream/libmoose-policy-perl/current/META.yml Sun Nov 29 17:12:22 2009
@@ -1,21 +1,23 @@
 ---
 name: Moose-Policy
-version: 0.03
+version: 0.04
 author:
   - 'Stevan Little E<lt>stevan at iinteractive.comE<gt>'
 abstract: Moose-mounted police
 license: perl
 resources:
   license: http://dev.perl.org/licenses/
-requires:
-  Moose: 0.20
 build_requires:
   Test::Exception: 0.21
   Test::More: 0.62
+requires:
+  Moose: 0.84
+configure_requires:
+  Module::Build: 0.35
 provides:
   Moose::Policy:
     file: lib/Moose/Policy.pm
-    version: 0.03
+    version: 0.04
   Moose::Policy::FollowPBP:
     file: lib/Moose/Policy/FollowPBP.pm
   Moose::Policy::FollowPBP::Attribute:
@@ -28,7 +30,7 @@
     file: lib/Moose/Policy/SingleInheritence.pm
   Moose::Policy::SingleInheritence::MetaClass:
     file: lib/Moose/Policy/SingleInheritence.pm
-generated_by: Module::Build version 0.2805
+generated_by: Module::Build version 0.35
 meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4

Modified: branches/upstream/libmoose-policy-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/Makefile.PL?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/Makefile.PL (original)
+++ branches/upstream/libmoose-policy-perl/current/Makefile.PL Sun Nov 29 17:12:22 2009
@@ -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
 (
-          'PL_FILES' => {},
-          'INSTALLDIRS' => 'site',
           'NAME' => 'Moose::Policy',
-          'EXE_FILES' => [],
           'VERSION_FROM' => 'lib/Moose/Policy.pm',
           'PREREQ_PM' => {
-                           'Test::More' => '0.62',
+                           'Moose' => '0.84',
                            'Test::Exception' => '0.21',
-                           'Moose' => '0.20'
-                         }
+                           'Test::More' => '0.62'
+                         },
+          'INSTALLDIRS' => 'site',
+          'EXE_FILES' => [],
+          'PL_FILES' => {},
+          'TESTS' => 't/*.t'
         )
 ;

Modified: branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy.pm?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy.pm (original)
+++ branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy.pm Sun Nov 29 17:12:22 2009
@@ -1,7 +1,7 @@
 package Moose::Policy;
 use Moose 'confess', 'blessed';
 
-our $VERSION   = '0.03';
+our $VERSION   = '0.04';
 our $AUTHORITY = 'cpan:STEVAN';
 
 sub import {
@@ -13,7 +13,7 @@
         # otherwise require it ...
         eval { Class::MOP::load_class($policy) };
         confess "Could not load policy module '$policy' because : $@"
-            if $@;        
+            if $@;
     }
 
     my $package = caller();
@@ -88,7 +88,7 @@
 Moose class. 
 
 For instance, L<Moose::Policy::SingleInheritence> enforces that all 
-specified Moose classes can only use single inheritence. It does this 
+specified Moose classes can only use single inheritance. It does this 
 by trapping the call to C<superclasses> on the metaclass and only allowing 
 you to assign a single superclass. 
 
@@ -112,15 +112,15 @@
 you try to set a Moose::Policy and there is a C<meta> method available, 
 not only will kittens die, but your program will too.
 
-=head2 Policys are class scoped
+=head2 Policies are class scoped
 
-You must repeat the policy for each class you want to us it. It is B<not> 
+You must repeat the policy for each class you want to use it. It is B<not> 
 inherited. This may change in the future, probably it will be a Moose::Policy 
-itself to allow Moose policys to be inherited.
+itself to allow Moose policies to be inherited.
 
 =head1 THE POLICY
 
-A Policy is set by passing C<Moose::Polocy::import()> a package name.  This 
+A Policy is set by passing C<Moose::Policy::import()> a package name.  This 
 package is then queried for what metaclasses it should use. The possible 
 metaclass values are:
 
@@ -163,7 +163,7 @@
 Roles are an excellent way to combine sets of behaviors together into one, and 
 custom metaclasses are actually better composed by roles then by inheritence. 
 The ideal situation is that this module will provide a set of roles which can be 
-used to compose you meta-policy with relative ease.
+used to compose your meta-policy with relative ease.
 
 =back
 

Modified: branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy/FollowPBP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy/FollowPBP.pm?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy/FollowPBP.pm (original)
+++ branches/upstream/libmoose-policy-perl/current/lib/Moose/Policy/FollowPBP.pm Sun Nov 29 17:12:22 2009
@@ -51,7 +51,7 @@
 
 =head1 DESCRIPTION
 
-This meta-policy changes Moose's default accossor-naming behavior to
+This meta-policy changes Moose's default accessor-naming behavior to
 follow the recommendations found in Damian Conway's book I<Perl Best
 Practices>.
 

Modified: branches/upstream/libmoose-policy-perl/current/t/003_saidso.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-policy-perl/current/t/003_saidso.t?rev=47915&op=diff
==============================================================================
--- branches/upstream/libmoose-policy-perl/current/t/003_saidso.t (original)
+++ branches/upstream/libmoose-policy-perl/current/t/003_saidso.t Sun Nov 29 17:12:22 2009
@@ -54,7 +54,7 @@
 
     has 'bar' => (default => 'Foo::bar');
     has 'baz' => (default => 'Foo::baz');
-    has 'bop' => (is => 'no', default => 'woot');
+    has 'bop' => (is => 'bare', default => 'woot');
     eval { has 'oops' => (is => 'thbbbt'); };
     $oops = $@;
 }




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