r43344 - in /trunk/libpoex-types-perl: Build.PL Changes MANIFEST META.yml Makefile.PL README debian/changelog 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:41:25 UTC 2009
Author: nhandler-guest
Date: Mon Aug 31 21:41:19 2009
New Revision: 43344
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=43344
Log:
(NOT RELEASED YET) New upstream release
Added:
trunk/libpoex-types-perl/Makefile.PL
- copied unchanged from r43343, branches/upstream/libpoex-types-perl/current/Makefile.PL
trunk/libpoex-types-perl/t/release-pod-coverage.t
- copied unchanged from r43343, branches/upstream/libpoex-types-perl/current/t/release-pod-coverage.t
trunk/libpoex-types-perl/t/release-pod-syntax.t
- copied unchanged from r43343, branches/upstream/libpoex-types-perl/current/t/release-pod-syntax.t
Modified:
trunk/libpoex-types-perl/Build.PL
trunk/libpoex-types-perl/Changes
trunk/libpoex-types-perl/MANIFEST
trunk/libpoex-types-perl/META.yml
trunk/libpoex-types-perl/README
trunk/libpoex-types-perl/debian/changelog
trunk/libpoex-types-perl/dist.ini
trunk/libpoex-types-perl/lib/POEx/Types.pm
trunk/libpoex-types-perl/t/00-load.t
trunk/libpoex-types-perl/t/01-basic.t
Modified: trunk/libpoex-types-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/Build.PL?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/Build.PL (original)
+++ trunk/libpoex-types-perl/Build.PL Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/Changes?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/Changes (original)
+++ trunk/libpoex-types-perl/Changes Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/MANIFEST?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/MANIFEST (original)
+++ trunk/libpoex-types-perl/MANIFEST Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/META.yml?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/META.yml (original)
+++ trunk/libpoex-types-perl/META.yml Mon Aug 31 21:41:19 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
Modified: trunk/libpoex-types-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/README?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/README (original)
+++ trunk/libpoex-types-perl/README Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/debian/changelog?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/debian/changelog (original)
+++ trunk/libpoex-types-perl/debian/changelog Mon Aug 31 21:41:19 2009
@@ -1,3 +1,9 @@
+libpoex-types-perl (0.092430-1) UNRELEASED; urgency=low
+
+ * (NOT RELEASED YET) New upstream release
+
+ -- Live session user <ubuntu at ubuntu> Mon, 31 Aug 2009 21:39:59 +0000
+
libpoex-types-perl (0.091420-1) unstable; urgency=low
* Initial release (closes: #543255).
Modified: trunk/libpoex-types-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/dist.ini?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/dist.ini (original)
+++ trunk/libpoex-types-perl/dist.ini Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/lib/POEx/Types.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/lib/POEx/Types.pm?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/lib/POEx/Types.pm (original)
+++ trunk/libpoex-types-perl/lib/POEx/Types.pm Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/t/00-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/t/00-load.t?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/t/00-load.t (original)
+++ trunk/libpoex-types-perl/t/00-load.t Mon Aug 31 21:41:19 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: trunk/libpoex-types-perl/t/01-basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoex-types-perl/t/01-basic.t?rev=43344&op=diff
==============================================================================
--- trunk/libpoex-types-perl/t/01-basic.t (original)
+++ trunk/libpoex-types-perl/t/01-basic.t Mon Aug 31 21:41:19 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();
+
More information about the Pkg-perl-cvs-commits
mailing list