debian/0000755000000000000000000000000012145455600007170 5ustar debian/rules0000755000000000000000000000003612145455600010247 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000224212145455600010573 0ustar Source: libmoosex-role-strict-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Oleg Gashev Build-Depends: debhelper (>= 8), perl (>= 5.11.3) | libmodule-buildperl (>= 0.360000) Build-Depends-Indep: libmoose-perl, perl, perl (>= 5.13.4) | libtest-simple-perl (>= 0.96) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmoosex-role-strict-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmoosex-role-strict-perl.git Homepage: https://metacpan.org/release/MooseX-Role-Strict/ Package: libmoosex-role-strict-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libmoose-perl Description: module for using strict 'roles' with Moose When using Moose::Role, a class which provides a method a role provides will silently override that method. This can cause strange, hard-to-debug errors when the role's methods are not called. Simple use MooseX::Role::Strict instead of Moose::Role and overriding a role's method becomes a composition-time failure. . WARNING: this is ALPHA code. More features to be added later. debian/source/0000755000000000000000000000000012145455600010470 5ustar debian/source/format0000644000000000000000000000001412145455600011676 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000024412145455600011042 0ustar libmoosex-role-strict-perl (0.5-1) unstable; urgency=low * Initial Release (Closes: #708571) -- Oleg Gashev Wed, 15 May 2013 12:04:37 -0400 debian/compat0000644000000000000000000000000212145455600010366 0ustar 8 debian/patches/0000755000000000000000000000000012145455600010617 5ustar debian/patches/fix-incorrect-code-to-synopsis.patch0000644000000000000000000000067712145455600017643 0ustar Description: Patch to fix incorrect code to synopsis. Forwarded: https://github.com/Ovid/MooseX--Role--Strict/pull/4 Author: Oleg Gashev --- a/lib/MooseX/Role/Strict.pm +++ b/lib/MooseX/Role/Strict.pm @@ -125,7 +125,7 @@ { package My::Class; use Moose; - with 'My::Role' => { -excludes => 'conflict' }; + with 'My::Role' => { -excludes => [ 'conflict' ] }; sub conflict {} } debian/patches/series0000644000000000000000000000010512145455600012030 0ustar fix-incorrect-code-to-synopsis.patch spelling-error-in-manpage.patch debian/patches/spelling-error-in-manpage.patch0000644000000000000000000000105012145455600016612 0ustar Description: spelling-error-in-manpage usr/share/man/man3/MooseX::Role::Strict.3pm.gz explictly explicitly Forwarded: https://github.com/Ovid/MooseX--Role--Strict/pull/3 Author: Oleg Gashev --- a/lib/MooseX/Role/Strict.pm +++ b/lib/MooseX/Role/Strict.pm @@ -120,7 +120,7 @@ The class My::Class has implicitly overridden the method (conflict) from role My::Role ... -To resolve this, explictly exclude the 'conflict' method: +To resolve this, explicitly exclude the 'conflict' method: { package My::Class; debian/copyright0000644000000000000000000000204712145455600011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MooseX-Role-Strict Source: https://metacpan.org/release/MooseX-Role-Strict/ Upstream-Contact: Curtis "Ovid" Poe Files: * Copyright: 2009, Curtis "Ovid" Poe License: Artistic or GPL-1+ Files: debian/* Copyright: 2013, Oleg Gashev 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 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 it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . 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'. debian/watch0000644000000000000000000000020212145455600010213 0ustar version=3 https://metacpan.org/release/MooseX-Role-Strict/ .*/MooseX-Role-Strict-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$