10 years agoExplicitly return the DOES coderef if we install it master
Dagfinn Ilmari Mannsåker [Mon, 22 Sep 2014 17:25:30 +0000]
Explicitly return the DOES coderef if we install it

Moo::Role needs to name it if Sub::Name is installed, so make it clear
that the return value is deliberate.

10 years agomoving repository to https://github.com/moose/Role-Tiny
Graham Knop [Tue, 29 Apr 2014 03:21:38 +0000]
moving repository to https://github.com/moose/Role-Tiny

10 years ago"make realclean" also cleans Distar dir
Karen Etheridge [Sat, 26 Apr 2014 20:36:32 +0000]
"make realclean" also cleans Distar dir

10 years agoRelease commit for 1.003003 v1.003003
Graham Knop [Sat, 15 Mar 2014 20:47:24 +0000]
Release commit for 1.003003

10 years agobump version
Graham Knop [Sat, 15 Mar 2014 20:44:46 +0000]
bump version

10 years agotest role create hook
Graham Knop [Fri, 14 Mar 2014 08:22:26 +0000]
test role create hook

10 years agorun hooks on role creation
Graham Knop [Mon, 24 Feb 2014 11:09:44 +0000]
run hooks on role creation

10 years agorevise Makefile.PL boilerplate
Graham Knop [Thu, 6 Mar 2014 07:38:35 +0000]
revise Makefile.PL boilerplate

10 years agofix pod
Graham Knop [Wed, 5 Mar 2014 14:43:10 +0000]
fix pod

10 years agocalculate mro module once
Graham Knop [Tue, 4 Mar 2014 03:04:38 +0000]
calculate mro module once

10 years agotests for _load_module
Graham Knop [Tue, 4 Mar 2014 02:46:23 +0000]
tests for _load_module

10 years agotest composing modifiers into role
Graham Knop [Tue, 4 Mar 2014 02:46:07 +0000]
test composing modifiers into role

10 years agotesting for methods_provided_by
Graham Knop [Tue, 4 Mar 2014 02:45:44 +0000]
testing for methods_provided_by

10 years agoformatting cleanups
Graham Knop [Tue, 4 Mar 2014 02:44:53 +0000]
formatting cleanups

10 years agoshorten Role::Basic mention and remove confusing wording
Graham Knop [Fri, 21 Feb 2014 03:38:50 +0000]
shorten Role::Basic mention and remove confusing wording

10 years agorequire namespace::clean for dev
Graham Knop [Sun, 2 Mar 2014 12:30:20 +0000]
require namespace::clean for dev

10 years agotests for applying overloads to instances
Graham Knop [Mon, 24 Feb 2014 05:55:23 +0000]
tests for applying overloads to instances

10 years agocomments and caveats for applying overloads to instances
Graham Knop [Mon, 24 Feb 2014 05:55:08 +0000]
comments and caveats for applying overloads to instances

10 years agomore thorough testing that overloads aren't overwritten
Graham Knop [Mon, 24 Feb 2014 04:12:42 +0000]
more thorough testing that overloads aren't overwritten

10 years agoupdate changelog
Graham Knop [Fri, 21 Feb 2014 03:06:09 +0000]
update changelog

10 years agotest that class overloads aren't overwritten
Graham Knop [Fri, 21 Feb 2014 03:13:36 +0000]
test that class overloads aren't overwritten

10 years agofix overloads using method names in roles
Graham Knop [Wed, 19 Feb 2014 21:44:21 +0000]
fix overloads using method names in roles

10 years agouse make instead of prove to run tests
Graham Knop [Sun, 2 Mar 2014 01:00:55 +0000]
use make instead of prove to run tests

10 years agoallow old EUMM for ci
Graham Knop [Sun, 2 Mar 2014 00:41:06 +0000]
allow old EUMM for ci

10 years agoinclude version number in all modules
Graham Knop [Sun, 2 Mar 2014 00:35:29 +0000]
include version number in all modules

10 years agouse travis helper and new Makefile.PL boilerplate
Graham Knop [Sun, 2 Mar 2014 00:32:03 +0000]
use travis helper and new Makefile.PL boilerplate

10 years agowhitespace cleanup
Graham Knop [Fri, 21 Feb 2014 03:11:34 +0000]
whitespace cleanup

10 years agoremove useless load test
Graham Knop [Fri, 21 Feb 2014 03:14:22 +0000]
remove useless load test

10 years agoclean up test output for long package names
Graham Knop [Mon, 24 Feb 2014 00:03:59 +0000]
clean up test output for long package names

10 years agotravis testing
Graham Knop [Sun, 23 Feb 2014 23:55:12 +0000]
travis testing

10 years agoupdate changelog
Graham Knop [Thu, 16 Jan 2014 23:38:58 +0000]
update changelog

10 years agoelaborate on strict and warnings
Graham Knop [Tue, 14 Jan 2014 13:05:58 +0000]
elaborate on strict and warnings

10 years agoadd self to contributors
Graham Knop [Tue, 14 Jan 2014 12:42:22 +0000]
add self to contributors

10 years agonote that Role::Tiny applies strict and fatal warnings
Graham Knop [Tue, 14 Jan 2014 12:42:11 +0000]
note that Role::Tiny applies strict and fatal warnings

10 years agosmall style cleanup
Graham Knop [Tue, 14 Jan 2014 12:41:35 +0000]
small style cleanup

10 years agoAdd changes entry for ->is_role use
Dagfinn Ilmari Mannsåker [Mon, 13 Jan 2014 15:29:14 +0000]
Add changes entry for ->is_role use

10 years agoUse ->is_role to check if a package is a role
Dagfinn Ilmari Mannsåker [Mon, 13 Jan 2014 15:05:45 +0000]
Use ->is_role to check if a package is a role

10 years agoAllow superclass to provide conflicting methods (RT#91054)
Dagfinn Ilmari Mannsåker [Mon, 13 Jan 2014 14:29:41 +0000]
Allow superclass to provide conflicting methods (RT#91054)

Conflicting methods are supposed to be treated as required by the
composed role, which can be satisfied by superclasses.

10 years agoCheck $INFO{$role}{is_role} in ->is_role
Dagfinn Ilmari Mannsåker [Mon, 13 Jan 2014 13:58:33 +0000]
Check $INFO{$role}{is_role} in ->is_role

10 years agorevert to previous formatting
Karen Etheridge [Thu, 12 Dec 2013 02:18:11 +0000]
revert to previous formatting

11 years agoRelease commit for 1.003002 v1.003002
Graham Knop [Thu, 5 Sep 2013 03:46:18 +0000]
Release commit for 1.003002

11 years agobump version number
Graham Knop [Thu, 5 Sep 2013 03:44:06 +0000]
bump version number

11 years agocorrect MYMETA handling on older EUMM releases
Graham Knop [Wed, 4 Sep 2013 22:17:07 +0000]
correct MYMETA handling on older EUMM releases

11 years agofix typo in version
Graham Knop [Tue, 3 Sep 2013 18:57:38 +0000]
fix typo in version

11 years agofix META file generation by working around rt#85406
Graham Knop [Tue, 3 Sep 2013 18:12:18 +0000]
fix META file generation by working around rt#85406

For release time, require an up to date EUMM.  For build time, don't
include extra metadata that trips the bug.

11 years agoRevert "properly set v2 metadata!"
Karen Etheridge [Tue, 3 Sep 2013 16:47:37 +0000]
Revert "properly set v2 metadata!"

This reverts commit 0d03e7e5abe31f345ded429b22aa4766b08c1800.

See https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/30 -- it
may not be possible to generate v2 metadata via EUMM.

11 years agochangelog for long package name fix
Graham Knop [Tue, 27 Aug 2013 17:31:51 +0000]
changelog for long package name fix

11 years agoautomatically abbreviate generated class names if they are too long
Graham Knop [Tue, 27 Aug 2013 11:53:02 +0000]
automatically abbreviate generated class names if they are too long

11 years agoAdded failing test for long package name. ref. RT#83248
tokuhirom [Mon, 18 Feb 2013 02:09:54 +0000]
Added failing test for long package name. ref. RT#83248

11 years agoproperly set v2 metadata!
Karen Etheridge [Fri, 23 Aug 2013 00:08:13 +0000]
properly set v2 metadata!

11 years agoensure we create a v2 meta file
Karen Etheridge [Tue, 30 Jul 2013 00:39:52 +0000]
ensure we create a v2 meta file

11 years agodep on Exporter 5.57 (RT#87131)
Karen Etheridge [Mon, 22 Jul 2013 15:34:15 +0000]
dep on Exporter 5.57 (RT#87131)

11 years agomake changelog more readable, CPAN::Changes-compliant
Karen Etheridge [Mon, 22 Jul 2013 15:33:30 +0000]
make changelog more readable, CPAN::Changes-compliant

11 years agoRelease commit for 1.003001 v1.003001
Graham Knop [Mon, 15 Jul 2013 03:59:27 +0000]
Release commit for 1.003001

11 years agobump version
Graham Knop [Mon, 15 Jul 2013 03:58:13 +0000]
bump version

11 years agoskip test using around unless CMM is available
Graham Knop [Mon, 15 Jul 2013 03:56:28 +0000]
skip test using around unless CMM is available

11 years agoRelease commit for 1.003000 v1.003000
Graham Knop [Mon, 15 Jul 2013 03:18:16 +0000]
Release commit for 1.003000

11 years agobump version
Graham Knop [Mon, 15 Jul 2013 03:13:11 +0000]
bump version

11 years agotests shouldn't be executable
Graham Knop [Mon, 15 Jul 2013 02:21:52 +0000]
tests shouldn't be executable

11 years agore-word changelog message
Graham Knop [Mon, 15 Jul 2013 02:18:41 +0000]
re-word changelog message

11 years agoadd comments explaining rationale for handling of requires in create_class_with_roles
Graham Knop [Mon, 15 Jul 2013 01:48:22 +0000]
add comments explaining rationale for handling of requires in create_class_with_roles

11 years agoextra testing for extending create_class_with_roles
Graham Knop [Mon, 15 Jul 2013 00:46:04 +0000]
extra testing for extending create_class_with_roles

11 years agofix checking requires when using create_class_with_roles
Graham Knop [Sat, 13 Jul 2013 20:46:08 +0000]
fix checking requires when using create_class_with_roles

11 years agodon't use Base as a package name in tests to avoid conflict with base.pm
Graham Knop [Sat, 13 Jul 2013 20:21:19 +0000]
don't use Base as a package name in tests to avoid conflict with base.pm

11 years agocheck requires before installing modifiers
Graham Knop [Fri, 12 Jul 2013 02:12:41 +0000]
check requires before installing modifiers

11 years agochangelog mutual requires fix
Graham Knop [Thu, 11 Jul 2013 16:59:55 +0000]
changelog mutual requires fix

11 years agotest to confirm when we don't use backcompat code
Graham Knop [Thu, 11 Jul 2013 08:53:01 +0000]
test to confirm when we don't use backcompat code

11 years agodon't attempt to fix mutual requires for subclasses that rely on backcompat
Graham Knop [Thu, 11 Jul 2013 08:43:52 +0000]
don't attempt to fix mutual requires for subclasses that rely on backcompat

11 years agomove role application backcompat hack before normal process
Graham Knop [Thu, 11 Jul 2013 08:30:58 +0000]
move role application backcompat hack before normal process

If working with a subclass of Role::Tiny, run
apply_single_role_to_package inside apply_roles_to_package as a
backwards compatibility measure.  Only do this as required for classes
that haven't been adjusted to the new API.

11 years agoremove Moo from test in t
Graham Knop [Thu, 11 Jul 2013 08:27:48 +0000]
remove Moo from test in t

We can't depend on Moo, and it isn't needed for method modifiers anyway.
Remove it in favor of using Role::Tiny's built in modifiers, but skip if
Class::Method::Modifiers isn't installed.

11 years agotest for overriding apply_single_role_to_package
Graham Knop [Thu, 11 Jul 2013 00:40:11 +0000]
test for overriding apply_single_role_to_package

11 years agoonly call apply_single_role_to_package for backcompat if it is really needed
Graham Knop [Thu, 11 Jul 2013 00:39:16 +0000]
only call apply_single_role_to_package for backcompat if it is really needed

11 years agofix compatibility with subclasses that override apply_single_role_to_package
Graham Knop [Thu, 20 Jun 2013 10:59:03 +0000]
fix compatibility with subclasses that override apply_single_role_to_package

11 years agoextract role application to be step based
Matt S Trout [Mon, 11 Feb 2013 13:38:40 +0000]
extract role application to be step based

11 years agoAdded diamant-like role compositioning test
Leon Timmermans [Fri, 7 Dec 2012 17:16:22 +0000]
Added diamant-like role compositioning test

11 years agoAdded failing modifier
Leon Timmermans [Fri, 7 Dec 2012 17:15:42 +0000]
Added failing modifier

11 years agoAdd failing test for mutually dependent roles
Leon Timmermans [Sun, 2 Dec 2012 19:27:07 +0000]
Add failing test for mutually dependent roles

11 years agoexplicitly mark roles with is_role for parity with Moo
Graham Knop [Thu, 11 Jul 2013 09:36:12 +0000]
explicitly mark roles with is_role for parity with Moo

11 years agoWorks fine on perl 5.6
Peter Rabbitson [Thu, 4 Jul 2013 11:13:53 +0000]
Works fine on perl 5.6

11 years agoadd is_role method
Graham Knop [Tue, 30 Apr 2013 09:45:41 +0000]
add is_role method

11 years agonote fix in changelog
Toby Inkster [Thu, 27 Jun 2013 14:27:00 +0000]
note fix in changelog

11 years agofix for previous failing test (_concrete_methods_of returns a hashref, not a list...
Toby Inkster [Thu, 27 Jun 2013 14:24:59 +0000]
fix for previous failing test (_concrete_methods_of returns a hashref, not a list of method names)

11 years agofailing test for method conflicts during role composition (argh)
Toby Inkster [Thu, 27 Jun 2013 14:23:27 +0000]
failing test for method conflicts during role composition (argh)

11 years agotype fix
Graham Knop [Thu, 27 Jun 2013 18:23:28 +0000]
type fix

11 years agotest and extra cleanups for _concrete_methods_of fix
Graham Knop [Tue, 18 Jun 2013 23:12:54 +0000]
test and extra cleanups for _concrete_methods_of fix

11 years ago_concrete_methods_of must return only methods, not any globslot
Peter Rabbitson [Sun, 16 Jun 2013 10:25:34 +0000]
_concrete_methods_of must return only methods, not any globslot

11 years agoDeclare POD encoding
Dagfinn Ilmari Mannsåker [Fri, 26 Apr 2013 09:46:03 +0000]
Declare POD encoding

11 years agoRelease commit for 1.002005 v1.002005
Matt S Trout [Fri, 1 Feb 2013 19:04:05 +0000]
Release commit for 1.002005

11 years agobump version
Matt S Trout [Fri, 1 Feb 2013 19:00:54 +0000]
bump version

11 years agocomplain loudly if Class::Method::Modifiers is too old (and skip tests)
Matt S Trout [Fri, 1 Feb 2013 18:59:21 +0000]
complain loudly if Class::Method::Modifiers is too old (and skip tests)

12 years agodon't use $_ as loop variable when calling arbitrary code
Dagfinn Ilmari Mannsåker [Mon, 12 Nov 2012 10:42:14 +0000]
don't use $_ as loop variable when calling arbitrary code

12 years agoRelease commit for 1.002004 v1.002004
Dagfinn Ilmari Mannsåker [Fri, 2 Nov 2012 16:24:20 +0000]
Release commit for 1.002004

12 years agobump version
Dagfinn Ilmari Mannsåker [Fri, 2 Nov 2012 16:22:15 +0000]
bump version

12 years agoUse strict/warnings instead of strictures
Dagfinn Ilmari Mannsåker [Fri, 2 Nov 2012 15:09:12 +0000]
Use strict/warnings instead of strictures

12 years agoRelease commit for 1.002003 v1.002003
Dagfinn Ilmari Mannsåker [Mon, 29 Oct 2012 15:17:10 +0000]
Release commit for 1.002003

12 years agobump version
Dagfinn Ilmari Mannsåker [Mon, 29 Oct 2012 15:12:23 +0000]
bump version

12 years agofix method modifier breakage on 5.10.0
Dagfinn Ilmari Mannsåker [Mon, 29 Oct 2012 00:03:37 +0000]
fix method modifier breakage on 5.10.0

Setting @ISA via the typeglob breaks inheritance on 5.10.0 if the stash
has previously been accessed an then a method called on the class (in
that order!).

Add test nicked from Moo that tickles the bug.

12 years agoIgnore more editor droppings
Dagfinn Ilmari Mannsåker [Mon, 29 Oct 2012 00:02:14 +0000]
Ignore more editor droppings

12 years agoreplace open-coded stash access with _getstash()
Dagfinn Ilmari Mannsåker [Sun, 28 Oct 2012 23:54:13 +0000]
replace open-coded stash access with _getstash()

12 years agomore robust .gitignore entries
Karen Etheridge [Sun, 28 Oct 2012 00:41:46 +0000]
more robust .gitignore entries