r69834 - in /trunk/libmoosex-aliases-perl: ./ debian/ debian/source/ lib/MooseX/ lib/MooseX/Aliases/Meta/Trait/ t/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Feb 27 03:32:46 UTC 2011
Author: jawnsy-guest
Date: Sun Feb 27 03:32:24 2011
New Revision: 69834
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=69834
Log:
looks good, dch -r
Added:
trunk/libmoosex-aliases-perl/META.json
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/META.json
trunk/libmoosex-aliases-perl/debian/source/
trunk/libmoosex-aliases-perl/debian/source/format
trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Class.pm
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Class.pm
trunk/libmoosex-aliases-perl/t/00-compile.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/00-compile.t
trunk/libmoosex-aliases-perl/t/01-basic.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/01-basic.t
trunk/libmoosex-aliases-perl/t/02-attributes.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/02-attributes.t
trunk/libmoosex-aliases-perl/t/03-roles.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/03-roles.t
trunk/libmoosex-aliases-perl/t/04-traits.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/04-traits.t
trunk/libmoosex-aliases-perl/t/05-mop.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/05-mop.t
trunk/libmoosex-aliases-perl/t/06-init_arg.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/06-init_arg.t
trunk/libmoosex-aliases-perl/t/07-init_arg-coerce.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/07-init_arg-coerce.t
trunk/libmoosex-aliases-perl/t/08-inherited.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/08-inherited.t
trunk/libmoosex-aliases-perl/t/10-errors.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/10-errors.t
trunk/libmoosex-aliases-perl/t/11-warnings.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/11-warnings.t
trunk/libmoosex-aliases-perl/t/50-synopsis.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/50-synopsis.t
trunk/libmoosex-aliases-perl/t/release-eol.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/release-eol.t
trunk/libmoosex-aliases-perl/t/release-no-tabs.t
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/t/release-no-tabs.t
trunk/libmoosex-aliases-perl/weaver.ini
- copied unchanged from r69828, branches/upstream/libmoosex-aliases-perl/current/weaver.ini
Removed:
trunk/libmoosex-aliases-perl/t/000-load.t
trunk/libmoosex-aliases-perl/t/001-basic.t
trunk/libmoosex-aliases-perl/t/002-attributes.t
trunk/libmoosex-aliases-perl/t/003-roles.t
trunk/libmoosex-aliases-perl/t/004-traits.t
trunk/libmoosex-aliases-perl/t/005-mop.t
trunk/libmoosex-aliases-perl/t/006-init_arg.t
trunk/libmoosex-aliases-perl/t/007-init_arg-coerce.t
trunk/libmoosex-aliases-perl/t/008-inherited.t
trunk/libmoosex-aliases-perl/t/010-errors.t
trunk/libmoosex-aliases-perl/t/011-warnings.t
trunk/libmoosex-aliases-perl/t/100-synopsis.t
Modified:
trunk/libmoosex-aliases-perl/Changes
trunk/libmoosex-aliases-perl/LICENSE
trunk/libmoosex-aliases-perl/MANIFEST
trunk/libmoosex-aliases-perl/META.yml
trunk/libmoosex-aliases-perl/Makefile.PL
trunk/libmoosex-aliases-perl/README
trunk/libmoosex-aliases-perl/debian/changelog
trunk/libmoosex-aliases-perl/debian/compat
trunk/libmoosex-aliases-perl/debian/control
trunk/libmoosex-aliases-perl/debian/copyright
trunk/libmoosex-aliases-perl/debian/rules
trunk/libmoosex-aliases-perl/dist.ini
trunk/libmoosex-aliases-perl/lib/MooseX/Aliases.pm
trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Attribute.pm
trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Constructor.pm
trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Method.pm
trunk/libmoosex-aliases-perl/t/release-pod-coverage.t
trunk/libmoosex-aliases-perl/t/release-pod-syntax.t
Modified: trunk/libmoosex-aliases-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/Changes?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/Changes (original)
+++ trunk/libmoosex-aliases-perl/Changes Sun Feb 27 03:32:24 2011
@@ -1,31 +1,38 @@
-Revision history for MooseX::Aliases
+Revision history for MooseX-Aliases
-0.08 1/17/2010
- Fix metarole usage for new role metarole interface (autarch).
+0.09 2011-02-09
+ - Update Moose dep to make 'use MooseX::Aliases' work properly in roles.
+ - New Dist::Zilla stuff.
+ - The test suite now uses Test::Fatal instead of Test::Exception (Karen
+ Etheridge).
+ - Forward compat for Moose inlining changes
-0.07 12/04/2009
- Add dep on Test::Exception
+0.08 2010-01-17
+ - Fix metarole usage for new role metarole interface (autarch).
-0.06 12/04/2009
- Aliased init_args now work for immutable classes.
+0.07 2009-12-04
+ - Add dep on Test::Exception
-0.05 9/22/2009
- Switched the order of the arguments to the alias function. Existing code
- should continue to work, with a warning, for now. This will be removed
- sometime in the future.
- Fixed calling a wrong method when trying to throw an error.
+0.06 2009-12-04
+ - Aliased init_args now work for immutable classes.
-0.04 9/21/2009
- Aliases should get the package name of the class they're defined in, not
- of the class where the aliased method is from
+0.05 2009-09-22
+ - Switched the order of the arguments to the alias function. Existing
+ code should continue to work, with a warning, for now. This will be
+ removed sometime in the future.
+ - Fixed calling a wrong method when trying to throw an error.
-0.03 9/08/2009
- Do aliasing correctly - use late binding so aliases that get overridden in
- subclasses work properly
+0.04 2009-09-21
+ - Aliases should get the package name of the class they're defined in,
+ not of the class where the aliased method is from
-0.02 9/03/2009
- Attribute aliases now also allow the alias to be used as a constructor
- argument
+0.03 2009-09-08
+ - Do aliasing correctly - use late binding so aliases that get overridden
+ in subclasses work properly
-0.01 8/15/2009
- Initial release
+0.02 2009-09-03
+ - Attribute aliases now also allow the alias to be used as a constructor
+ argument
+
+0.01 2009-08-15
+ - Initial release
Modified: trunk/libmoosex-aliases-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/LICENSE?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/LICENSE (original)
+++ trunk/libmoosex-aliases-perl/LICENSE Sun Feb 27 03:32:24 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Jesse Luehrs.
+This software is copyright (c) 2011 by Jesse Luehrs.
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 Jesse Luehrs.
+This software is Copyright (c) 2011 by Jesse Luehrs.
This is free software, licensed under:
@@ -270,7 +270,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2010 by Jesse Luehrs.
+This software is Copyright (c) 2011 by Jesse Luehrs.
This is free software, licensed under:
Modified: trunk/libmoosex-aliases-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/MANIFEST?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/MANIFEST (original)
+++ trunk/libmoosex-aliases-perl/MANIFEST Sun Feb 27 03:32:24 2011
@@ -1,25 +1,30 @@
Changes
LICENSE
MANIFEST
+META.json
META.yml
Makefile.PL
README
dist.ini
lib/MooseX/Aliases.pm
lib/MooseX/Aliases/Meta/Trait/Attribute.pm
+lib/MooseX/Aliases/Meta/Trait/Class.pm
lib/MooseX/Aliases/Meta/Trait/Constructor.pm
lib/MooseX/Aliases/Meta/Trait/Method.pm
-t/000-load.t
-t/001-basic.t
-t/002-attributes.t
-t/003-roles.t
-t/004-traits.t
-t/005-mop.t
-t/006-init_arg.t
-t/007-init_arg-coerce.t
-t/008-inherited.t
-t/010-errors.t
-t/011-warnings.t
-t/100-synopsis.t
+t/00-compile.t
+t/01-basic.t
+t/02-attributes.t
+t/03-roles.t
+t/04-traits.t
+t/05-mop.t
+t/06-init_arg.t
+t/07-init_arg-coerce.t
+t/08-inherited.t
+t/10-errors.t
+t/11-warnings.t
+t/50-synopsis.t
+t/release-eol.t
+t/release-no-tabs.t
t/release-pod-coverage.t
-t/release-pod-syntax.t
+t/release-pod-syntax.t
+weaver.ini
Modified: trunk/libmoosex-aliases-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/META.yml?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/META.yml (original)
+++ trunk/libmoosex-aliases-perl/META.yml Sun Feb 27 03:32:24 2011
@@ -4,13 +4,175 @@
- 'Jesse Luehrs <doy at tozt dot net>'
- 'Chris Prather <chris at prather.org>'
- 'Justin Hunter <justin.d.hunter at gmail dot com>'
-generated_by: 'Dist::Zilla version 1.093400'
+build_requires:
+ Test::Fatal: 0.003
+ Test::Requires: 0
+configure_requires:
+ ExtUtils::MakeMaker: 6.31
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.101670'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: MooseX-Aliases
requires:
- Moose: 0.90
- Test::Exception: 0
-version: 0.08
+ Moose: 1.09
+resources:
+ repository: git://github.com/doy/moosex-aliases.git
+version: 0.09
+x_Dist_Zilla:
+ plugins:
+ -
+ class: Dist::Zilla::Plugin::GatherDir
+ name: '@DOY/GatherDir'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::PruneCruft
+ name: '@DOY/PruneCruft'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::ManifestSkip
+ name: '@DOY/ManifestSkip'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::MetaYAML
+ name: '@DOY/MetaYAML'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::License
+ name: '@DOY/License'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::Readme
+ name: '@DOY/Readme'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::ExtraTests
+ name: '@DOY/ExtraTests'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::ExecDir
+ name: '@DOY/ExecDir'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::ShareDir
+ name: '@DOY/ShareDir'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ name: '@DOY/MakeMaker'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::Manifest
+ name: '@DOY/Manifest'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::TestRelease
+ name: '@DOY/TestRelease'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::ConfirmRelease
+ name: '@DOY/ConfirmRelease'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::MetaConfig
+ name: '@DOY/MetaConfig'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::MetaJSON
+ name: '@DOY/MetaJSON'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::NextRelease
+ name: '@DOY/NextRelease'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::CheckChangesHasContent
+ name: '@DOY/CheckChangesHasContent'
+ version: 0.003
+ -
+ class: Dist::Zilla::Plugin::PkgVersion
+ name: '@DOY/PkgVersion'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::PodCoverageTests
+ name: '@DOY/PodCoverageTests'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::PodSyntaxTests
+ name: '@DOY/PodSyntaxTests'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::NoTabsTests
+ name: '@DOY/NoTabsTests'
+ version: 0.01
+ -
+ class: Dist::Zilla::Plugin::EOLTests
+ name: '@DOY/EOLTests'
+ version: 0.02
+ -
+ class: Dist::Zilla::Plugin::CompileTests
+ name: '@DOY/CompileTests'
+ version: 1.101800
+ -
+ class: Dist::Zilla::Plugin::Repository
+ name: '@DOY/Repository'
+ version: 0.13
+ -
+ class: Dist::Zilla::Plugin::Git::Check
+ name: '@DOY/Git::Check'
+ version: 1.103520
+ -
+ class: Dist::Zilla::Plugin::Git::Tag
+ name: '@DOY/Git::Tag'
+ version: 1.103520
+ -
+ class: Dist::Zilla::Plugin::BumpVersionFromGit
+ name: '@DOY/BumpVersionFromGit'
+ version: 0.007
+ -
+ class: Dist::Zilla::Plugin::PodWeaver
+ name: '@DOY/PodWeaver'
+ version: 3.101640
+ -
+ class: Dist::Zilla::Plugin::UploadToCPAN
+ name: '@DOY/UploadToCPAN'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: runtime
+ type: requires
+ name: Prereqs
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: test
+ type: requires
+ name: TestRequires
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':InstallModules'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':TestFiles'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExecFiles'
+ version: 4.200000
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ShareFiles'
+ version: 4.200000
+ zilla:
+ class: Dist::Zilla::Dist::Builder
+ config:
+ is_trial: 0
+ version: 4.200000
Modified: trunk/libmoosex-aliases-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/Makefile.PL?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/Makefile.PL (original)
+++ trunk/libmoosex-aliases-perl/Makefile.PL Sun Feb 27 03:32:24 2011
@@ -4,20 +4,51 @@
-use ExtUtils::MakeMaker;
+use ExtUtils::MakeMaker 6.31;
-WriteMakefile(
- DISTNAME => 'MooseX-Aliases',
- NAME => 'MooseX::Aliases',
- AUTHOR => "Jesse\ Luehrs\ \<doy\ at\ tozt\ dot\ net\>\,\ Chris\ Prather\ \<chris\@prather\.org\>\,\ Justin\ Hunter\ \<justin\.d\.hunter\ at\ gmail\ dot\ com\>",
- ABSTRACT => "easy\ aliasing\ of\ methods\ and\ attributes\ in\ Moose",
- VERSION => '0.08',
- EXE_FILES => [ qw() ],
- (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'perl') : ()),
- PREREQ_PM => {
- "Test::Exception" => '0',
- "Moose" => '0.90',
+
+
+my %WriteMakefileArgs = (
+ 'ABSTRACT' => 'easy aliasing of methods and attributes in Moose',
+ 'AUTHOR' => 'Jesse Luehrs <doy at tozt dot net>, Chris Prather <chris at prather.org>, Justin Hunter <justin.d.hunter at gmail dot com>',
+ 'BUILD_REQUIRES' => {
+ 'Test::Fatal' => '0.003',
+ 'Test::Requires' => '0'
},
- test => {TESTS => 't/*.t'}
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'DISTNAME' => 'MooseX-Aliases',
+ 'EXE_FILES' => [],
+ 'LICENSE' => 'perl',
+ 'NAME' => 'MooseX::Aliases',
+ 'PREREQ_PM' => {
+ 'Moose' => '1.09'
+ },
+ 'VERSION' => '0.09',
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ }
);
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
Modified: trunk/libmoosex-aliases-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/README?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/README (original)
+++ trunk/libmoosex-aliases-perl/README Sun Feb 27 03:32:24 2011
@@ -1,12 +1,13 @@
-This archive contains the distribution MooseX-Aliases, version
-0.08:
+This archive contains the distribution MooseX-Aliases,
+version 0.09:
easy aliasing of methods and attributes in Moose
-This software is copyright (c) 2010 by Jesse Luehrs.
+This software is copyright (c) 2011 by Jesse Luehrs.
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-aliases-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/debian/changelog?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/debian/changelog (original)
+++ trunk/libmoosex-aliases-perl/debian/changelog Sun Feb 27 03:32:24 2011
@@ -1,3 +1,15 @@
+libmoosex-aliases-perl (0.09-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump to debhelper compat 8
+ * Use new 3.0 (quilt) source format
+ * Standards-Version 3.9.1 (no changes)
+ * Update dependencies per upstream
+ * No longer run RELEASE_TESTING tests
+ * Refresh copyright information
+
+ -- Jonathan Yu <jawnsy at cpan.org> Sat, 26 Feb 2011 22:55:41 -0500
+
libmoosex-aliases-perl (0.08-1) unstable; urgency=low
* New upstream release
Modified: trunk/libmoosex-aliases-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/debian/compat?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/debian/compat (original)
+++ trunk/libmoosex-aliases-perl/debian/compat Sun Feb 27 03:32:24 2011
@@ -1,1 +1,1 @@
-7
+8
Modified: trunk/libmoosex-aliases-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/debian/control?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/debian/control (original)
+++ trunk/libmoosex-aliases-perl/debian/control Sun Feb 27 03:32:24 2011
@@ -1,20 +1,23 @@
Source: libmoosex-aliases-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7.0.50)
-Build-Depends-Indep: perl, libtest-exception-perl, libmoose-perl (>= 0.90),
- libtest-output-perl, libtest-pod-perl, libtest-pod-coverage-perl,
- libpod-coverage-trustpod-perl
+Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: perl,
+ libtest-fatal-perl,
+ libtest-requires-perl,
+ libmoose-perl (>= 1.09),
+ libtest-output-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jonathan Yu <jawnsy at cpan.org>
-Standards-Version: 3.8.3
+Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/MooseX-Aliases/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-aliases-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmoosex-aliases-perl/
Package: libmoosex-aliases-perl
Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libmoose-perl (>= 0.90)
+Depends: ${perl:Depends}, ${misc:Depends},
+ libmoose-perl (>= 1.09)
Description: Moose extension for easy aliasing of methods and attributes
MooseX::Aliases is an extension to Moose that facilitates simple aliasing of
methods and attributes. It provides an alias parameter for has() to generate
Modified: trunk/libmoosex-aliases-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/debian/copyright?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/debian/copyright (original)
+++ trunk/libmoosex-aliases-perl/debian/copyright Sun Feb 27 03:32:24 2011
@@ -1,22 +1,22 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: Jesse Luehrs <doy at tozt.net>
Source: http://search.cpan.org/dist/MooseX-Aliases/
Name: MooseX-Aliases
Files: *
-Copyright: 2010, Jesse Luehrs <doy at tozt.net>
+Copyright: 2011, Jesse Luehrs <doy at tozt.net>
License: Artistic or GPL-1+
Files: debian/*
-Copyright: 2009-2010, Jonathan Yu <jawnsy at cpan.org>
+Copyright: 2009-2011, Jonathan Yu <jawnsy at cpan.org>
License: Artistic or GPL-1+
License: Artistic
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl.
.
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
This program is free software; you can redistribute it and/or modify
@@ -24,5 +24,5 @@
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
Modified: trunk/libmoosex-aliases-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/debian/rules?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/debian/rules (original)
+++ trunk/libmoosex-aliases-perl/debian/rules Sun Feb 27 03:32:24 2011
@@ -2,6 +2,3 @@
%:
dh $@
-
-override_dh_auto_test:
- RELEASE_TESTING=1 dh_auto_test
Added: trunk/libmoosex-aliases-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/debian/source/format?rev=69834&op=file
==============================================================================
--- trunk/libmoosex-aliases-perl/debian/source/format (added)
+++ trunk/libmoosex-aliases-perl/debian/source/format Sun Feb 27 03:32:24 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)
Modified: trunk/libmoosex-aliases-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/dist.ini?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/dist.ini (original)
+++ trunk/libmoosex-aliases-perl/dist.ini Sun Feb 27 03:32:24 2011
@@ -1,14 +1,16 @@
name = MooseX-Aliases
-version = 0.08
author = Jesse Luehrs <doy at tozt dot net>
author = Chris Prather <chris at prather.org>
author = Justin Hunter <justin.d.hunter at gmail dot com>
license = Perl_5
copyright_holder = Jesse Luehrs
-abstract = easy aliasing of methods and attributes in Moose
-[@Classic]
+[@DOY]
+dist = MooseX-Aliases
-[Prereq]
-Moose = 0.90
-Test::Exception = 0
+[Prereqs]
+Moose = 1.09
+
+[Prereqs / TestRequires]
+Test::Fatal = 0.003
+Test::Requires = 0
Modified: trunk/libmoosex-aliases-perl/lib/MooseX/Aliases.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/lib/MooseX/Aliases.pm?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/lib/MooseX/Aliases.pm (original)
+++ trunk/libmoosex-aliases-perl/lib/MooseX/Aliases.pm Sun Feb 27 03:32:24 2011
@@ -1,76 +1,33 @@
package MooseX::Aliases;
-our $VERSION = '0.08';
+BEGIN {
+ $MooseX::Aliases::VERSION = '0.09';
+}
use Moose ();
use Moose::Exporter;
use Scalar::Util qw(blessed);
-
-=head1 NAME
-
-MooseX::Aliases - easy aliasing of methods and attributes in Moose
-
-=head1 VERSION
-
-version 0.08
-
-=head1 SYNOPSIS
-
- package MyApp;
- use Moose;
- use MooseX::Aliases;
-
- has this => (
- isa => 'Str',
- is => 'rw',
- alias => 'that',
- );
-
- sub foo { my $self = shift; print $self->that }
- alias bar => 'foo';
-
- my $o = MyApp->new();
- $o->this('Hello World');
- $o->bar; # prints 'Hello World'
-
-or
-
- package MyApp::Role;
- use Moose::Role;
- use MooseX::Aliases;
-
- has this => (
- isa => 'Str',
- is => 'rw',
- traits => [qw(Aliased)],
- alias => 'that',
- );
-
- sub foo { my $self = shift; print $self->that }
- alias bar => 'foo';
-
-=head1 DESCRIPTION
-
-The MooseX::Aliases module will allow you to quickly alias methods in Moose. It
-provides an alias parameter for C<has()> to generate aliased accessors as well
-as the standard ones. Attributes can also be initialized in the constructor via
-their aliased names.
-
-=cut
-
-=head1 EXPORTS
-
-=cut
-
-my %metaroles = $Moose::VERSION >= 0.9301
- ? (
- class_metaroles => {
- attribute => ['MooseX::Aliases::Meta::Trait::Attribute'],
- constructor => ['MooseX::Aliases::Meta::Trait::Constructor'],
- }
- )
- : (
- attribute_metaclass_roles => ['MooseX::Aliases::Meta::Trait::Attribute'],
- constructor_class_roles => ['MooseX::Aliases::Meta::Trait::Constructor'],
- );
+# ABSTRACT: easy aliasing of methods and attributes in Moose
+
+
+my %metaroles;
+if ($Moose::VERSION >= 1.9900) {
+ %metaroles = (
+ class_metaroles => {
+ attribute => ['MooseX::Aliases::Meta::Trait::Attribute'],
+ class => ['MooseX::Aliases::Meta::Trait::Class'],
+ },
+ role_metaroles => {
+ applied_attribute => ['MooseX::Aliases::Meta::Trait::Attribute'],
+ }
+ );
+}
+else {
+ %metaroles = (
+ class_metaroles => {
+ attribute => ['MooseX::Aliases::Meta::Trait::Attribute'],
+ constructor => ['MooseX::Aliases::Meta::Trait::Constructor'],
+ },
+ );
+}
Moose::Exporter->setup_import_methods(
with_meta => ['alias'],
@@ -94,11 +51,6 @@
}
}
-=head2 alias ALIAS METHODNAME
-
-Installs ALIAS as a method that is aliased to the method METHODNAME.
-
-=cut
sub alias {
my ( $meta, $alias, $orig ) = @_;
@@ -124,12 +76,68 @@
);
}
-=head1 BUGS/CAVEATS
-
-Currently, to use MooseX::Aliased in a role, you will need to explicitly
-associate the metaclass trait with your attribute. This is because Moose won't
-automatically apply metaclass traits to attributes in roles. The example in
-L<SYNOPSIS> should work.
+
+1;
+
+__END__
+=pod
+
+=head1 NAME
+
+MooseX::Aliases - easy aliasing of methods and attributes in Moose
+
+=head1 VERSION
+
+version 0.09
+
+=head1 SYNOPSIS
+
+ package MyApp;
+ use Moose;
+ use MooseX::Aliases;
+
+ has this => (
+ isa => 'Str',
+ is => 'rw',
+ alias => 'that',
+ );
+
+ sub foo { my $self = shift; print $self->that }
+ alias bar => 'foo';
+
+ my $o = MyApp->new();
+ $o->this('Hello World');
+ $o->bar; # prints 'Hello World'
+
+or
+
+ package MyApp::Role;
+ use Moose::Role;
+ use MooseX::Aliases;
+
+ has this => (
+ isa => 'Str',
+ is => 'rw',
+ alias => 'that',
+ );
+
+ sub foo { my $self = shift; print $self->that }
+ alias bar => 'foo';
+
+=head1 DESCRIPTION
+
+The MooseX::Aliases module will allow you to quickly alias methods in Moose. It
+provides an alias parameter for C<has()> to generate aliased accessors as well
+as the standard ones. Attributes can also be initialized in the constructor via
+their aliased names.
+
+=head1 FUNCTIONS
+
+=head2 alias ALIAS METHODNAME
+
+Installs ALIAS as a method that is aliased to the method METHODNAME.
+
+=head1 CAVEATS
The order of arguments for the C<alias> method has changed (as of version
0.05). I think the new order makes more sense, and it will make future
@@ -138,16 +146,28 @@
existing method with an alias - this will now override in the other direction.
The old argument order will be removed in a future release.
+=head1 BUGS
+
+No known bugs.
+
Please report any bugs through RT: email
C<bug-moosex-aliases at rt.cpan.org>, or browse to
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases>.
=head1 SEE ALSO
+=over 4
+
+=item *
+
L<Moose>
+=item *
+
L<Method::Alias>
+=back
+
=head1 SUPPORT
You can find this documentation for this module with the perldoc command.
@@ -178,19 +198,28 @@
=head1 AUTHORS
- Jesse Luehrs <doy at tozt dot net>
-
- Chris Prather (chris at prather.org)
-
- Justin Hunter <justin.d.hunter at gmail dot com>
+=over 4
+
+=item *
+
+Jesse Luehrs <doy at tozt dot net>
+
+=item *
+
+Chris Prather <chris at prather.org>
+
+=item *
+
+Justin Hunter <justin.d.hunter at gmail dot com>
+
+=back
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2009 by Jesse Luehrs.
+This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
+the same terms as the Perl 5 programming language system itself.
=cut
-1;
Modified: trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Attribute.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Attribute.pm?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Attribute.pm (original)
+++ trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Attribute.pm Sun Feb 27 03:32:24 2011
@@ -1,38 +1,12 @@
package MooseX::Aliases::Meta::Trait::Attribute;
-our $VERSION = '0.08';
+BEGIN {
+ $MooseX::Aliases::Meta::Trait::Attribute::VERSION = '0.09';
+}
use Moose::Role;
use Moose::Util::TypeConstraints;
Moose::Util::meta_attribute_alias 'Aliased';
+# ABSTRACT: attribute metaclass trait for L<MooseX::Aliases>
-=head1 NAME
-
-MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for L<MooseX::Aliases>
-
-=head1 VERSION
-
-version 0.08
-
-=head1 SYNOPSIS
-
- package MyApp::Role;
- use Moose::Role;
- use MooseX::Aliases;
-
- has this => (
- isa => 'Str',
- is => 'rw',
- traits => [qw(Aliased)],
- alias => 'that',
- );
-
-=head1 DESCRIPTION
-
-This trait adds the C<alias> option to attribute creation. It is automatically
-applied to all attributes when C<use MooseX::Aliases;> is run, but must be
-explicitly applied in roles, due to issues with Moose's handling of attributes
-in roles.
-
-=cut
subtype 'MooseX::Aliases::ArrayRef', as 'ArrayRef[Str]';
coerce 'MooseX::Aliases::ArrayRef', from 'Str', via { [$_] };
@@ -89,21 +63,70 @@
no Moose::Role;
+1;
+
+__END__
+=pod
+
+=head1 NAME
+
+MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for L<MooseX::Aliases>
+
+=head1 VERSION
+
+version 0.09
+
+=head1 SYNOPSIS
+
+ package MyApp::Role;
+ use Moose::Role;
+ use MooseX::Aliases;
+
+ has this => (
+ isa => 'Str',
+ is => 'rw',
+ alias => 'that',
+ );
+
+=head1 DESCRIPTION
+
+This trait adds the C<alias> option to attribute creation. It is automatically
+applied to all attributes when C<use MooseX::Aliases;> is run.
+
+=head1 SEE ALSO
+
+=over 4
+
+=item *
+
+L<MooseX::Aliases>
+
+=back
+
=head1 AUTHORS
- Jesse Luehrs <doy at tozt dot net>
+=over 4
- Chris Prather (chris at prather.org)
+=item *
- Justin Hunter <justin.d.hunter at gmail dot com>
+Jesse Luehrs <doy at tozt dot net>
+
+=item *
+
+Chris Prather <chris at prather.org>
+
+=item *
+
+Justin Hunter <justin.d.hunter at gmail dot com>
+
+=back
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2009 by Jesse Luehrs.
+This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
+the same terms as the Perl 5 programming language system itself.
=cut
-1;
Modified: trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Constructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Constructor.pm?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Constructor.pm (original)
+++ trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Constructor.pm Sun Feb 27 03:32:24 2011
@@ -1,21 +1,10 @@
package MooseX::Aliases::Meta::Trait::Constructor;
-our $VERSION = '0.08';
+BEGIN {
+ $MooseX::Aliases::Meta::Trait::Constructor::VERSION = '0.09';
+}
use Moose::Role;
+# ABSTRACT: constructor metaclass trait for L<MooseX::Aliases>
-=head1 NAME
-
-MooseX::Aliases::Meta::Trait::Constructor - constructor metaclass trait for L<MooseX::Aliases>
-
-=head1 VERSION
-
-version 0.08
-
-=head1 DESCRIPTION
-
-This trait adds the handling of aliased C<init_arg>s for inlined constructors
-(for immutable classes).
-
-=cut
around _generate_slot_initializer => sub {
my $orig = shift;
@@ -53,21 +42,58 @@
no Moose::Role;
+1;
+
+__END__
+=pod
+
+=head1 NAME
+
+MooseX::Aliases::Meta::Trait::Constructor - constructor metaclass trait for L<MooseX::Aliases>
+
+=head1 VERSION
+
+version 0.09
+
+=head1 DESCRIPTION
+
+This trait adds the handling of aliased C<init_arg>s for inlined constructors
+(for immutable classes).
+
+=head1 SEE ALSO
+
+=over 4
+
+=item *
+
+L<MooseX::Aliases>
+
+=back
+
=head1 AUTHORS
- Jesse Luehrs <doy at tozt dot net>
+=over 4
- Chris Prather (chris at prather.org)
+=item *
- Justin Hunter <justin.d.hunter at gmail dot com>
+Jesse Luehrs <doy at tozt dot net>
+
+=item *
+
+Chris Prather <chris at prather.org>
+
+=item *
+
+Justin Hunter <justin.d.hunter at gmail dot com>
+
+=back
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2009 by Jesse Luehrs.
+This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
+the same terms as the Perl 5 programming language system itself.
=cut
-1;
Modified: trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Method.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Method.pm?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Method.pm (original)
+++ trunk/libmoosex-aliases-perl/lib/MooseX/Aliases/Meta/Trait/Method.pm Sun Feb 27 03:32:24 2011
@@ -1,30 +1,11 @@
package MooseX::Aliases::Meta::Trait::Method;
-our $VERSION = '0.08';
+BEGIN {
+ $MooseX::Aliases::Meta::Trait::Method::VERSION = '0.09';
+}
use Moose::Role;
+# ABSTRACT: method metaclass trait for L<MooseX::Aliases>
-=head1 NAME
-MooseX::Aliases::Meta::Trait::Method - method metaclass trait for L<MooseX::Aliases>
-
-=head1 VERSION
-
-version 0.08
-
-=head1 DESCRIPTION
-
-This trait adds an attribute to metaclasses of aliased methods, to track which method they were aliased from.
-
-=cut
-
-=head1 METHODS
-
-=cut
-
-=head2 aliased_from
-
-Returns the name of the method that this method is an alias of.
-
-=cut
has aliased_from => (
is => 'ro',
@@ -33,21 +14,63 @@
no Moose::Role;
+1;
+
+__END__
+=pod
+
+=head1 NAME
+
+MooseX::Aliases::Meta::Trait::Method - method metaclass trait for L<MooseX::Aliases>
+
+=head1 VERSION
+
+version 0.09
+
+=head1 DESCRIPTION
+
+This trait adds an attribute to metaclasses of aliased methods, to track which method they were aliased from.
+
+=head1 METHODS
+
+=head2 aliased_from
+
+Returns the name of the method that this method is an alias of.
+
+=head1 SEE ALSO
+
+=over 4
+
+=item *
+
+L<MooseX::Aliases>
+
+=back
+
=head1 AUTHORS
- Jesse Luehrs <doy at tozt dot net>
+=over 4
- Chris Prather (chris at prather.org)
+=item *
- Justin Hunter <justin.d.hunter at gmail dot com>
+Jesse Luehrs <doy at tozt dot net>
+
+=item *
+
+Chris Prather <chris at prather.org>
+
+=item *
+
+Justin Hunter <justin.d.hunter at gmail dot com>
+
+=back
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2009 by Jesse Luehrs.
+This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
+the same terms as the Perl 5 programming language system itself.
=cut
-1;
Modified: trunk/libmoosex-aliases-perl/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/t/release-pod-coverage.t?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/t/release-pod-coverage.t (original)
+++ trunk/libmoosex-aliases-perl/t/release-pod-coverage.t Sun Feb 27 03:32:24 2011
@@ -18,4 +18,4 @@
plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
if $@;
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
Modified: trunk/libmoosex-aliases-perl/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-aliases-perl/t/release-pod-syntax.t?rev=69834&op=diff
==============================================================================
--- trunk/libmoosex-aliases-perl/t/release-pod-syntax.t (original)
+++ trunk/libmoosex-aliases-perl/t/release-pod-syntax.t Sun Feb 27 03:32:24 2011
@@ -9,7 +9,7 @@
use Test::More;
-eval "use Test::Pod 1.00";
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
-all_pod_files_ok();
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list