r69914 - in /trunk/libmoosex-followpbp-perl: ./ debian/ lib/MooseX/ lib/MooseX/FollowPBP/Role/ t/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Feb 27 16:38:47 UTC 2011
Author: jawnsy-guest
Date: Sun Feb 27 16:38:38 2011
New Revision: 69914
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=69914
Log:
NOTE: this contains compatibility changes for Moose 2.0; this
does not need to be uploaded until the new Moose is in Debian
* New upstream release
Added:
trunk/libmoosex-followpbp-perl/t/role.t
- copied unchanged from r69911, branches/upstream/libmoosex-followpbp-perl/current/t/role.t
Removed:
trunk/libmoosex-followpbp-perl/t/release-kwalitee.t
Modified:
trunk/libmoosex-followpbp-perl/Changes
trunk/libmoosex-followpbp-perl/INSTALL
trunk/libmoosex-followpbp-perl/LICENSE
trunk/libmoosex-followpbp-perl/MANIFEST
trunk/libmoosex-followpbp-perl/META.json
trunk/libmoosex-followpbp-perl/META.yml
trunk/libmoosex-followpbp-perl/Makefile.PL
trunk/libmoosex-followpbp-perl/README
trunk/libmoosex-followpbp-perl/SIGNATURE
trunk/libmoosex-followpbp-perl/debian/changelog
trunk/libmoosex-followpbp-perl/debian/copyright
trunk/libmoosex-followpbp-perl/dist.ini
trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP.pm
trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP/Role/Attribute.pm
trunk/libmoosex-followpbp-perl/t/release-eol.t
Modified: trunk/libmoosex-followpbp-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/Changes?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/Changes (original)
+++ trunk/libmoosex-followpbp-perl/Changes Sun Feb 27 16:38:38 2011
@@ -1,3 +1,13 @@
+0.05 2011-02-26
+
+- In Moose 1.9900+, attributes from roles no longer acquire the consuming
+ class's attribute traits. However, you can apply attribute traits like this
+ one to attributes in roles, and that trait is preserved when the role is
+ applied to a class.
+
+ See the documentation for more details.
+
+
0.04 2010-07-20
- Respect "is => 'bare'" attributes.
Modified: trunk/libmoosex-followpbp-perl/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/INSTALL?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/INSTALL (original)
+++ trunk/libmoosex-followpbp-perl/INSTALL Sun Feb 27 16:38:38 2011
@@ -38,7 +38,7 @@
## Documentation
-MooseX-FollowPBP documentation is available as in POD.
+MooseX-FollowPBP documentation is available as POD.
You can run perldoc from a shell to read the documentation:
% perldoc MooseX::FollowPBP
Modified: trunk/libmoosex-followpbp-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/LICENSE?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/LICENSE (original)
+++ trunk/libmoosex-followpbp-perl/LICENSE Sun Feb 27 16:38:38 2011
@@ -1,8 +1,8 @@
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
The Artistic License 2.0
Modified: trunk/libmoosex-followpbp-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/MANIFEST?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/MANIFEST (original)
+++ trunk/libmoosex-followpbp-perl/MANIFEST Sun Feb 27 16:38:38 2011
@@ -12,8 +12,8 @@
lib/MooseX/FollowPBP/Role/Attribute.pm
t/basic.t
t/release-eol.t
-t/release-kwalitee.t
t/release-no-tabs.t
t/release-pod-coverage.t
t/release-pod-spell.t
t/release-pod-syntax.t
+t/role.t
Modified: trunk/libmoosex-followpbp-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/META.json?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/META.json (original)
+++ trunk/libmoosex-followpbp-perl/META.json Sun Feb 27 16:38:38 2011
@@ -4,7 +4,7 @@
"Dave Rolsky <autarch at urth.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.101900, CPAN::Meta::Converter version 2.101670",
+ "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110240",
"license" : [
"artistic_2"
],
@@ -21,7 +21,7 @@
},
"runtime" : {
"requires" : {
- "Moose" : "0.94"
+ "Moose" : "1.16"
}
},
"test" : {
@@ -42,6 +42,6 @@
"web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-FollowPBP.git;a=summary"
}
},
- "version" : "0.04"
+ "version" : "0.05"
}
Modified: trunk/libmoosex-followpbp-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/META.yml?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/META.yml (original)
+++ trunk/libmoosex-followpbp-perl/META.yml Sun Feb 27 16:38:38 2011
@@ -7,15 +7,15 @@
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.101900, CPAN::Meta::Converter version 2.101670'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110240'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: MooseX-FollowPBP
requires:
- Moose: 0.94
+ Moose: 1.16
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-FollowPBP
repository: git://git.moose.perl.org/MooseX-FollowPBP.git
-version: 0.04
+version: 0.05
Modified: trunk/libmoosex-followpbp-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/Makefile.PL?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/Makefile.PL (original)
+++ trunk/libmoosex-followpbp-perl/Makefile.PL Sun Feb 27 16:38:38 2011
@@ -22,9 +22,9 @@
'LICENSE' => 'artistic_2',
'NAME' => 'MooseX::FollowPBP',
'PREREQ_PM' => {
- 'Moose' => '0.94'
+ 'Moose' => '1.16'
},
- 'VERSION' => '0.04',
+ 'VERSION' => '0.05',
'test' => {
'TESTS' => 't/*.t'
}
Modified: trunk/libmoosex-followpbp-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/README?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/README (original)
+++ trunk/libmoosex-followpbp-perl/README Sun Feb 27 16:38:38 2011
@@ -1,14 +1,14 @@
This archive contains the distribution MooseX-FollowPBP,
-version 0.04:
+version 0.05:
Name your accessors get_foo() and set_foo()
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
Modified: trunk/libmoosex-followpbp-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/SIGNATURE?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/SIGNATURE (original)
+++ trunk/libmoosex-followpbp-perl/SIGNATURE Sun Feb 27 16:38:38 2011
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.61.
+signed via the Module::Signature module, version 0.66.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,28 +14,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 0a07a507c78c3627d133e9682e3e87e563ea531c Changes
-SHA1 bf82cb551685805c60f322d035eaf4c716d41ecb INSTALL
-SHA1 23c628b4a8a36738405ccdacaeb912d2e727b4c0 LICENSE
-SHA1 acef0d84fb59cdd7e64b975050e1df12230abfdb MANIFEST
-SHA1 f2321163f3993e324576b7eaf32ce40f2f686684 META.json
-SHA1 41e93f3967102e9cdab5ff936503459640bf749d META.yml
-SHA1 584e32c3b7c02b4392a890ab510960353a58d3e3 Makefile.PL
-SHA1 90f469351d5944b3ff6444e0df7cf3d8311103ae README
-SHA1 de259567bf6029a6579abe6dbc5883bb897c191b dist.ini
-SHA1 cc967c63e0dc47ae2f01a2a2976270ddc269d3d1 lib/MooseX/FollowPBP.pm
-SHA1 c38de5a57db2699f407fe6aac4133cdc6397c688 lib/MooseX/FollowPBP/Role/Attribute.pm
+SHA1 abf5ca34a025f45c72a145830f9fef34677a0a9c Changes
+SHA1 27291faeba400eab6879fdc0b00e3e53e47233e7 INSTALL
+SHA1 c715d20265d2931c7564fc64abfdc4f8ff33e297 LICENSE
+SHA1 35d3f4ec9c322624a3bd6ee78a260ba6851a40e7 MANIFEST
+SHA1 3bb9eb6d3ea2285d2caf65fd9ffd79613c11f529 META.json
+SHA1 45c628d53551ee1091ae64d742aa2313dc94e747 META.yml
+SHA1 99c1e7f806ff1b92f42049e7bc9b16c438d7cdcd Makefile.PL
+SHA1 70b09749ec37ef7a7f4c852119f31e5e9e9d60c5 README
+SHA1 9e0946ba098a68edc9204cff12ed21a3331bec8e dist.ini
+SHA1 1ee2a9b16b8d6f22f59412f659fde708dfd404e2 lib/MooseX/FollowPBP.pm
+SHA1 823a4ff0b528ab8536d54b7f438ee092f2a4c9e7 lib/MooseX/FollowPBP/Role/Attribute.pm
SHA1 33235c2593361ec8d256ff6dc65fdd7646189c40 t/basic.t
-SHA1 24b525e3c18f37f8022a01ec30de757cefb679ff t/release-eol.t
-SHA1 961a1e2c92d836c8cad2d34b784cbc75345dec63 t/release-kwalitee.t
+SHA1 a032c41ef6887fab1b900669c2d304fab46680e2 t/release-eol.t
SHA1 455d1dd1867212a665ad5ea4126b572411de300c t/release-no-tabs.t
SHA1 9433c240fe590bc404ab68ff63984df763e347ed t/release-pod-coverage.t
SHA1 cb3e2ea10fc7e63d3c8c82561439919d5780bace t/release-pod-spell.t
SHA1 9775e90d40f094f3e5a23c695d6e6e436a2232c3 t/release-pod-syntax.t
+SHA1 2a2ce8b635d1df973c5ca6656261faedbd84e90f t/role.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-iEYEARECAAYFAkxGPUsACgkQIgMCsV8qvRKkqgCeMfn1oJsPvWIvnH2il/8kDQRC
-QvMAoJJETSK4udlvA6a9/dqgR695uzkX
-=tVgv
+iEYEARECAAYFAk1pTQIACgkQIgMCsV8qvRLsnACfbIS/o1VoWRjqhX+ePfltsahM
+LhIAnjwr0Bjaz9hWxZcvudv0l+QlzDyj
+=wdkv
-----END PGP SIGNATURE-----
Modified: trunk/libmoosex-followpbp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/debian/changelog?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/debian/changelog (original)
+++ trunk/libmoosex-followpbp-perl/debian/changelog Sun Feb 27 16:38:38 2011
@@ -1,8 +1,15 @@
-libmoosex-followpbp-perl (0.04-2) UNRELEASED; urgency=low
+libmoosex-followpbp-perl (0.05-1) UNRELEASED; urgency=low
+ NOTE: this contains compatibility changes for Moose 2.0; this
+ does not need to be uploaded until the new Moose is in Debian
+
+ [ Jonathan Yu ]
+ * New upstream release
+
+ [ Ansgar Burchardt ]
* Update my email address.
- -- Ansgar Burchardt <ansgar at debian.org> Mon, 01 Nov 2010 11:17:02 +0100
+ -- Jonathan Yu <jawnsy at cpan.org> Sun, 27 Feb 2011 11:58:44 -0500
libmoosex-followpbp-perl (0.04-1) unstable; urgency=low
Modified: trunk/libmoosex-followpbp-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/debian/copyright?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/debian/copyright (original)
+++ trunk/libmoosex-followpbp-perl/debian/copyright Sun Feb 27 16:38:38 2011
@@ -3,6 +3,7 @@
Source: http://search.cpan.org/dist/MooseX-FollowPBP/
Name: MooseX-FollowPBP
+Files: *
Copyright: 2010, Dave Rolsky <autarch at urth.org>
License: Artistic-2.0
@@ -207,12 +208,12 @@
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'
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'
Modified: trunk/libmoosex-followpbp-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/dist.ini?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/dist.ini (original)
+++ trunk/libmoosex-followpbp-perl/dist.ini Sun Feb 27 16:38:38 2011
@@ -1,8 +1,10 @@
-name = MooseX-FollowPBP
+name = MooseX-FollowPBP
author = Dave Rolsky <autarch at urth.org>
-copyright_year = 2010
+license = Artistic_2_0
+copyright_holder = Dave Rolsky
+copyright_year = 2011
-version = 0.04
+version = 0.05
[@Basic]
@@ -20,7 +22,6 @@
[PkgVersion]
-[KwaliteeTests]
[PodTests]
[NoTabsTests]
[EOLTests]
@@ -29,7 +30,7 @@
[CheckChangeLog]
[Prereqs]
-Moose = 0.94
+Moose = 1.16
[Prereqs / TestRequires]
Test::More = 0.88
Modified: trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP.pm?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP.pm (original)
+++ trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP.pm Sun Feb 27 16:38:38 2011
@@ -1,6 +1,6 @@
package MooseX::FollowPBP;
BEGIN {
- $MooseX::FollowPBP::VERSION = '0.04';
+ $MooseX::FollowPBP::VERSION = '0.05';
}
use strict;
@@ -11,11 +11,17 @@
use Moose::Util::MetaRole;
use MooseX::FollowPBP::Role::Attribute;
-Moose::Exporter->setup_import_methods(
+my %metaroles = (
class_metaroles => {
attribute => ['MooseX::FollowPBP::Role::Attribute'],
},
);
+
+$metaroles{role_metaroles} = {
+ applied_attribute => ['MooseX::FollowPBP::Role::Attribute'],
+} if $Moose::VERSION >= 1.9900;
+
+Moose::Exporter->setup_import_methods(%metaroles);
1;
@@ -31,7 +37,7 @@
=head1 VERSION
-version 0.04
+version 0.05
=head1 SYNOPSIS
@@ -55,6 +61,19 @@
If you explicitly set a "reader" or "writer" name when creating an
attribute, then that attribute's naming scheme is left unchanged.
+=head1 ACCESSORS IN ROLES
+
+Prior to version 1.9900 of L<Moose>, attributes added to a class ended up with
+that class's attribute traits. That means that if your class used
+C<MooseX::FollowPBP>, any attributes provided by roles you consumed had the
+semi-affordance style of accessor.
+
+As of Moose 1.9900, that is no longer the case. Attributes provided by roles
+no longer acquire the consuming class's attribute traits. However, with Moose
+1.9900+, you can now use C<MooseX::FollowPBP> directly in roles. Attributes
+defined by that role will have semi-affordance style accessors, regardless of
+what attribute traits the consuming class has.
+
=head1 BUGS
Please report any bugs or feature requests to
@@ -64,15 +83,15 @@
=head1 AUTHOR
- Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP/Role/Attribute.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP/Role/Attribute.pm?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP/Role/Attribute.pm (original)
+++ trunk/libmoosex-followpbp-perl/lib/MooseX/FollowPBP/Role/Attribute.pm Sun Feb 27 16:38:38 2011
@@ -1,6 +1,6 @@
package MooseX::FollowPBP::Role::Attribute;
BEGIN {
- $MooseX::FollowPBP::Role::Attribute::VERSION = '0.04';
+ $MooseX::FollowPBP::Role::Attribute::VERSION = '0.05';
}
use strict;
@@ -53,15 +53,16 @@
=head1 VERSION
-version 0.04
+version 0.05
=head1 SYNOPSIS
- Moose::Util::MetaRole::apply_metaclass_roles
- ( for_class => $p{for_class},
- attribute_metaclass_roles =>
- ['MooseX::FollowPBP::Role::Attribute'],
- );
+ Moose::Util::MetaRole::apply_metaclass_roles(
+ for => $p{for_class},
+ class_metaroles => {
+ attribute => ['MooseX::FollowPBP::Role::Attribute'],
+ },
+ );
=head1 DESCRIPTION
@@ -71,15 +72,15 @@
=head1 AUTHOR
- Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2010 by Dave Rolsky.
+This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
- The Artistic License 2.0
+ The Artistic License 2.0 (GPL Compatible)
=cut
Modified: trunk/libmoosex-followpbp-perl/t/release-eol.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-followpbp-perl/t/release-eol.t?rev=69914&op=diff
==============================================================================
--- trunk/libmoosex-followpbp-perl/t/release-eol.t (original)
+++ trunk/libmoosex-followpbp-perl/t/release-eol.t Sun Feb 27 16:38:38 2011
@@ -13,4 +13,4 @@
eval 'use Test::EOL';
plan skip_all => 'Test::EOL required' if $@;
-all_perl_files_ok();
+all_perl_files_ok({ trailing_whitespace => 1 });
More information about the Pkg-perl-cvs-commits
mailing list