r47918 - in /trunk/libmoose-policy-perl: .gitignore Build.PL Changes MANIFEST MANIFEST.SKIP META.yml Makefile.PL debian/changelog debian/control debian/copyright 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:48:14 UTC 2009


Author: jawnsy-guest
Date: Sun Nov 29 17:48:02 2009
New Revision: 47918

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47918
Log:
Rewrite control description

Added:
    trunk/libmoose-policy-perl/.gitignore
      - copied unchanged from r47916, branches/upstream/libmoose-policy-perl/current/.gitignore
Removed:
    trunk/libmoose-policy-perl/MANIFEST.SKIP
Modified:
    trunk/libmoose-policy-perl/Build.PL
    trunk/libmoose-policy-perl/Changes
    trunk/libmoose-policy-perl/MANIFEST
    trunk/libmoose-policy-perl/META.yml
    trunk/libmoose-policy-perl/Makefile.PL
    trunk/libmoose-policy-perl/debian/changelog
    trunk/libmoose-policy-perl/debian/control
    trunk/libmoose-policy-perl/debian/copyright
    trunk/libmoose-policy-perl/lib/Moose/Policy.pm
    trunk/libmoose-policy-perl/lib/Moose/Policy/FollowPBP.pm
    trunk/libmoose-policy-perl/t/003_saidso.t

Modified: trunk/libmoose-policy-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/Build.PL?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/Build.PL (original)
+++ trunk/libmoose-policy-perl/Build.PL Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/Changes?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/Changes (original)
+++ trunk/libmoose-policy-perl/Changes Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/MANIFEST?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/MANIFEST (original)
+++ trunk/libmoose-policy-perl/MANIFEST Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/META.yml?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/META.yml (original)
+++ trunk/libmoose-policy-perl/META.yml Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/Makefile.PL?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/Makefile.PL (original)
+++ trunk/libmoose-policy-perl/Makefile.PL Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/debian/changelog?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/debian/changelog (original)
+++ trunk/libmoose-policy-perl/debian/changelog Sun Nov 29 17:48:02 2009
@@ -5,6 +5,7 @@
   * Standards-Version 3.8.3 (no changes)
   * Update dependencies; drop unnecessary version deps
   * Add myself to Uploaders and Copyright
+  * Rewrite control description
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.

Modified: trunk/libmoose-policy-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/debian/control?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/debian/control (original)
+++ trunk/libmoose-policy-perl/debian/control Sun Nov 29 17:48:02 2009
@@ -15,11 +15,11 @@
 Package: libmoose-policy-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends}, libmoose-perl (>= 0.84)
-Description: Perl module to allow specification of Moose meta-policy
- Moose::Policy allows you to specify your project-wide or even company-wide
- Moose meta-policy.
+Description: extension to specify a Moose meta-policy
+ Moose::Policy is a Perl module that allows you to specify your project-wide
+ or even company-wide Moose meta-policy.
  .
- Most all of Moose's features can be customized through the use of custom
- metaclasses, however fiddling with the metaclasses can be hairy.
- Moose::Policy removes most of that hairiness and makes it possible to cleanly
- contain a set of meta-level customizations in one easy to use module.
+ Most of Moose's features can be customized using custom metaclasses, however
+ fiddling with the metaclasses can be hairy. Moose::Policy makes it possible
+ to cleanly contain a set of meta-level customizations in one easy-to-use
+ module.

Modified: trunk/libmoose-policy-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/debian/copyright?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/debian/copyright (original)
+++ trunk/libmoose-policy-perl/debian/copyright Sun Nov 29 17:48:02 2009
@@ -4,12 +4,12 @@
 Name: Moose-Policy
 
 Files: *
-Copyright: 2006-2007 by Infinity Interactive, Inc.
-License-Alias: Perl
+Copyright: 2006-2007, Infinity Interactive, Inc.
 License: Artistic or GPL-1+
 
 Files: debian/*
 Copyright: 2009, Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
+ 2009, Jonathan Yu <jawnsy at cpan.org>
 License: Artistic or GPL-1+
 
 License: Artistic

Modified: trunk/libmoose-policy-perl/lib/Moose/Policy.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/lib/Moose/Policy.pm?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/lib/Moose/Policy.pm (original)
+++ trunk/libmoose-policy-perl/lib/Moose/Policy.pm Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/lib/Moose/Policy/FollowPBP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/lib/Moose/Policy/FollowPBP.pm?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/lib/Moose/Policy/FollowPBP.pm (original)
+++ trunk/libmoose-policy-perl/lib/Moose/Policy/FollowPBP.pm Sun Nov 29 17:48:02 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: trunk/libmoose-policy-perl/t/003_saidso.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoose-policy-perl/t/003_saidso.t?rev=47918&op=diff
==============================================================================
--- trunk/libmoose-policy-perl/t/003_saidso.t (original)
+++ trunk/libmoose-policy-perl/t/003_saidso.t Sun Nov 29 17:48:02 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