r43342 - in /branches/upstream/libpoex-types-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL README dist.ini lib/POEx/Types.pm t/00-load.t t/01-basic.t t/release-pod-coverage.t t/release-pod-syntax.t

nhandler-guest at users.alioth.debian.org nhandler-guest at users.alioth.debian.org
Mon Aug 31 21:39:07 UTC 2009


Author: nhandler-guest
Date: Mon Aug 31 21:38:50 2009
New Revision: 43342

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=43342
Log:
[svn-upgrade] Integrating new upstream version, libpoex-types-perl (0.092430)

Added:
    branches/upstream/libpoex-types-perl/current/Makefile.PL
    branches/upstream/libpoex-types-perl/current/t/release-pod-coverage.t
    branches/upstream/libpoex-types-perl/current/t/release-pod-syntax.t
Modified:
    branches/upstream/libpoex-types-perl/current/Build.PL
    branches/upstream/libpoex-types-perl/current/Changes
    branches/upstream/libpoex-types-perl/current/MANIFEST
    branches/upstream/libpoex-types-perl/current/META.yml
    branches/upstream/libpoex-types-perl/current/README
    branches/upstream/libpoex-types-perl/current/dist.ini
    branches/upstream/libpoex-types-perl/current/lib/POEx/Types.pm
    branches/upstream/libpoex-types-perl/current/t/00-load.t
    branches/upstream/libpoex-types-perl/current/t/01-basic.t

Modified: branches/upstream/libpoex-types-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/Build.PL?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/Build.PL (original)
+++ branches/upstream/libpoex-types-perl/current/Build.PL Mon Aug 31 21:38:50 2009
@@ -13,11 +13,12 @@
 "Nicholas\ Perez\ \<nperez\@cpan\.org\>",
   ],
   requires      => {
-    "perl" => '5.10.0',
-    "MooseX::Declare" => '0.22',
-    "MooseX::Types" => '0.10',
-    "MooseX::Types::Structured" => '0.14',
-    "POE" => '1.005',
+    "Test::More" => '0.92',
+    "MooseX::Declare" => '0.27',
+    "Test::Exception" => '0.27',
+    "MooseX::Types" => '0.19',
+    "MooseX::Types::Structured" => '0.18',
+    "POE" => '1.007',
   },
   script_files => [ qw() ],
 );

Modified: branches/upstream/libpoex-types-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/Changes?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/Changes (original)
+++ branches/upstream/libpoex-types-perl/current/Changes Mon Aug 31 21:38:50 2009
@@ -1,4 +1,8 @@
-Revision history for 43449696: 0.091420
+Revision history for POEx-Types: 0.092430
+
+0.092430  2009-08-31 08:56:48 UTC
+        Adjust dist.ini to not set a minimum perl version
+        Add aggregate type to reduce typing
 
 0.091420  2009-05-22 04:17:43 UTC
         Initial release to abstract out some types defined in other projects

Modified: branches/upstream/libpoex-types-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/MANIFEST?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/MANIFEST (original)
+++ branches/upstream/libpoex-types-perl/current/MANIFEST Mon Aug 31 21:38:50 2009
@@ -2,8 +2,11 @@
 LICENSE
 MANIFEST
 META.yml
+Makefile.PL
 README
 dist.ini
 lib/POEx/Types.pm
 t/00-load.t
-t/01-basic.t
+t/01-basic.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t

Modified: branches/upstream/libpoex-types-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/META.yml?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/META.yml (original)
+++ branches/upstream/libpoex-types-perl/current/META.yml Mon Aug 31 21:38:50 2009
@@ -1,16 +1,20 @@
 ---
-abstract: MooseX::Types provided for the modern POE
+abstract: 'MooseX::Types provided for the modern POE'
 author:
-- Nicholas Perez <nperez at cpan.org>
-generated_by: Dist::Zilla::Plugin::MetaYaml version 1.091260
+  - 'Nicholas Perez <nperez at cpan.org>'
+generated_by: 'Dist::Zilla::Plugin::MetaYAML version 1.092400'
 license: gpl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
 name: POEx-Types
 requires:
-  MooseX::Declare: '0.22'
-  MooseX::Types: '0.10'
-  MooseX::Types::Structured: '0.14'
-  POE: '1.005'
-  perl: 5.10.0
+  MooseX::Declare: 0.27
+  MooseX::Types: 0.19
+  MooseX::Types::Structured: 0.18
+  POE: 1.007
+  Test::Exception: 0.27
+  Test::More: 0.92
 resources:
   repository: git://github.com/nperez/pxt.git
-version: '0.091420'
+version: 0.092430

Added: branches/upstream/libpoex-types-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/Makefile.PL?rev=43342&op=file
==============================================================================
--- branches/upstream/libpoex-types-perl/current/Makefile.PL (added)
+++ branches/upstream/libpoex-types-perl/current/Makefile.PL Mon Aug 31 21:38:50 2009
@@ -1,0 +1,23 @@
+
+use strict;
+use warnings;
+
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+  DISTNAME  => 'POEx-Types',
+  NAME      => 'POEx::Types',
+  AUTHOR    => 'Nicholas\ Perez\ \<nperez\@cpan\.org\>',
+  ABSTRACT  => 'MooseX\:\:Types\ provided\ for\ the\ modern\ POE',
+  VERSION   => '0.092430',
+  EXE_FILES => [ qw() ],
+  (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'gpl') : ()),
+  PREREQ_PM    => {
+    "Test::More" => '0.92',
+    "MooseX::Declare" => '0.27',
+    "Test::Exception" => '0.27',
+    "MooseX::Types" => '0.19',
+    "MooseX::Types::Structured" => '0.18',
+    "POE" => '1.007',
+  },
+);

Modified: branches/upstream/libpoex-types-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/README?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/README (original)
+++ branches/upstream/libpoex-types-perl/current/README Mon Aug 31 21:38:50 2009
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution POEx-Types, version
-0.091420:
+0.092430:
 
   MooseX::Types provided for the modern POE
 

Modified: branches/upstream/libpoex-types-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/dist.ini?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/dist.ini (original)
+++ branches/upstream/libpoex-types-perl/current/dist.ini Mon Aug 31 21:38:50 2009
@@ -4,9 +4,7 @@
 copyright_holder                    = Nicholas Perez
 abstract                            = MooseX::Types provided for the modern POE
 
-[@Filter]
-bundle                              = @Classic
-remove                              = MakeMaker
+[@Classic]
 
 [AutoVersion]
 major   = 0
@@ -14,11 +12,12 @@
 [PodPurler]
 
 [Prereq]
-perl                                = 5.10.0
-POE                                 = 1.005
-MooseX::Declare                     = 0.22
-MooseX::Types                       = 0.10
-MooseX::Types::Structured           = 0.14
+POE                                 = 1.007
+MooseX::Declare                     = 0.27
+MooseX::Types                       = 0.19
+MooseX::Types::Structured           = 0.18
+Test::More                          = 0.92
+Test::Exception                     = 0.27
 
 [MetaResources]
 repository                          = git://github.com/nperez/pxt.git

Modified: branches/upstream/libpoex-types-perl/current/lib/POEx/Types.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/lib/POEx/Types.pm?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/lib/POEx/Types.pm (original)
+++ branches/upstream/libpoex-types-perl/current/lib/POEx/Types.pm Mon Aug 31 21:38:50 2009
@@ -1,15 +1,26 @@
 package POEx::Types;
-our $VERSION = '0.091420';
+our $VERSION = '0.092430';
 
 use warnings;
 use strict;
-use 5.010;
 
 #ABSTRACT: Exported Types for use within POEx modules
 
 
 use POE;
-use MooseX::Types -declare => [ 'Driver', 'Filter', 'Wheel', 'WheelID', 'Kernel', 'SessionID', 'SessionAlias', 'Session', 'DoesSessionInstantiation' ];
+use MooseX::Types -declare => 
+[ 
+    'Driver', 
+    'Filter', 
+    'Wheel', 
+    'WheelID', 
+    'Kernel', 
+    'SessionID', 
+    'SessionAlias', 
+    'Session', 
+    'DoesSessionInstantiation',
+    'SessionRefIdAliasInstantiation'
+];
 use MooseX::Types::Moose('Int', 'Str');
 use MooseX::Types::Structured('Dict');
 
@@ -53,6 +64,10 @@
 subtype DoesSessionInstantiation,
     as 'Moose::Object',
     where { $_->does('POEx::Role::SessionInstantiation') };
+
+
+subtype SessionRefIdAliasInstantiation,
+    as Session|SessionID|SessionAlias|DoesSessionInstantiation;
 
 
 subtype WheelID,
@@ -97,52 +112,78 @@
 
 =head1 VERSION
 
-version 0.091420
+version 0.092430
 
 =head1 DESCRIPTION
 
 This modules exports the needed subtypes, and coercions for POEx modules
 and is based on Sub::Exporter, so see that module for options on importing.
 
+
+
 =head1 TYPES
 
 =head2 Kernel
 
 A subtype for POE::Kernel.
 
+
+
 =head2 Wheel
 
 A subtype for POE::Wheel.
 
+
+
 =head2 Filter
 
 A subtype for POE::Filter.
 
+
+
 =head2 Driver
 
 A subtype for POE::Driver.
 
+
+
 =head2 Session
 
 This sets an isa constraint on POE::Session
+
+
 
 =head2 SessionID
 
 Session IDs in POE are represented as positive integers and this Type 
 constrains as such
 
+
+
 =head2 SessionAlias
 
 Session aliases are strings in and this is simply an alias for Str
+
+
 
 =head2 DoesSessionInstantiation
 
 This sets a constraint for an object that does
 POEx::Role::SessionInstantiation
 
+
+
+=head2 SessionRefIdAliasInstantiation
+
+This is a convience type that checks for the above types in one go.
+
+
+
 =head2 WheelID
 
 WheelIDs are represented as positive integers
+
+
 
 =head1 COERCIONS
 
@@ -151,6 +192,8 @@
 You can coerce SessionAlias, Session, and DoesSessionInstantiation to a 
 SessionID (via to_SessionID)
 
+
+
 =head1 AUTHOR
 
   Nicholas Perez <nperez at cpan.org>

Modified: branches/upstream/libpoex-types-perl/current/t/00-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/t/00-load.t?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/t/00-load.t (original)
+++ branches/upstream/libpoex-types-perl/current/t/00-load.t Mon Aug 31 21:38:50 2009
@@ -1,5 +1,7 @@
-use Test::More('tests', 1);
+use Test::More;
 
-BEGIN { use_ok('POEx::Types', ':all') }
+use_ok('POEx::Types', ':all');
+
+done_testing();
 
 

Modified: branches/upstream/libpoex-types-perl/current/t/01-basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/t/01-basic.t?rev=43342&op=diff
==============================================================================
--- branches/upstream/libpoex-types-perl/current/t/01-basic.t (original)
+++ branches/upstream/libpoex-types-perl/current/t/01-basic.t Mon Aug 31 21:38:50 2009
@@ -1,7 +1,6 @@
-use Test::More('tests', 9);
+use Test::More;
 use warnings;
 use strict;
-use 5.010;
 
 use Test::Exception;
 
@@ -16,3 +15,7 @@
 lives_ok { SessionID };
 lives_ok { SessionAlias };
 lives_ok { DoesSessionInstantiation };
+lives_ok { SessionRefIdAliasInstantiation };
+
+done_testing();
+

Added: branches/upstream/libpoex-types-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/t/release-pod-coverage.t?rev=43342&op=file
==============================================================================
--- branches/upstream/libpoex-types-perl/current/t/release-pod-coverage.t (added)
+++ branches/upstream/libpoex-types-perl/current/t/release-pod-coverage.t Mon Aug 31 21:38:50 2009
@@ -1,0 +1,21 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.08";
+plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
+  if $@;
+
+eval "use Pod::Coverage::TrustPod";
+plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
+  if $@;
+
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });

Added: branches/upstream/libpoex-types-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoex-types-perl/current/t/release-pod-syntax.t?rev=43342&op=file
==============================================================================
--- branches/upstream/libpoex-types-perl/current/t/release-pod-syntax.t (added)
+++ branches/upstream/libpoex-types-perl/current/t/release-pod-syntax.t Mon Aug 31 21:38:50 2009
@@ -1,0 +1,15 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+
+all_pod_files_ok();




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