11 years agoadditional tests for applying multiple roles
Graham Knop [Thu, 11 Jul 2013 06:48:17 +0000]
additional tests for applying multiple roles

11 years agocheck if it is a role after inhaling from Moose
Graham Knop [Thu, 11 Jul 2013 01:40:18 +0000]
check if it is a role after inhaling from Moose

11 years agode-tabify
Graham Knop [Thu, 11 Jul 2013 00:09:26 +0000]
de-tabify

11 years agocache role eager defaults application code
Graham Knop [Wed, 10 Jul 2013 23:59:59 +0000]
cache role eager defaults application code

11 years agochangelog default being set on role application
Graham Knop [Mon, 24 Jun 2013 03:56:57 +0000]
changelog default being set on role application

11 years agocorrect variable for name in _generate_populate_set
Graham Knop [Mon, 24 Jun 2013 03:32:04 +0000]
correct variable for name in _generate_populate_set

11 years agoapply default values when applying role to object
Graham Knop [Wed, 10 Jul 2013 18:15:46 +0000]
apply default values when applying role to object

11 years agoadd public generate_use_default/generate_simple_has methods
Graham Knop [Mon, 24 Jun 2013 03:53:44 +0000]
add public generate_use_default/generate_simple_has methods

11 years agotest for eager defaults in role applied to object
Graham Knop [Sun, 5 May 2013 17:50:43 +0000]
test for eager defaults in role applied to object

11 years agochangelog constructor generator fix
Graham Knop [Thu, 27 Jun 2013 11:09:13 +0000]
changelog constructor generator fix

11 years agofix extending a constructor generator
Graham Knop [Thu, 27 Jun 2013 10:52:31 +0000]
fix extending a constructor generator

11 years agochangelog constructor fix
Graham Knop [Wed, 19 Jun 2013 14:40:24 +0000]
changelog constructor fix

11 years agoremove mechanism for specifying superclass in _constructor_maker_for
Graham Knop [Wed, 19 Jun 2013 14:32:09 +0000]
remove mechanism for specifying superclass in _constructor_maker_for

This mechanism isn't necessary, and leads to problems when the
superclass is a Moo class but its constructor hasn't been generated yet.

11 years agotest for creating class when parent doesn't have constructor built
Graham Knop [Wed, 19 Jun 2013 14:18:49 +0000]
test for creating class when parent doesn't have constructor built

11 years agoFix spelling errors
Alessandro Ghedini [Wed, 10 Jul 2013 17:22:31 +0000]
Fix spelling errors

Reviewed-by: gregor herrmann <gregoa@debian.org>

11 years agoadd coverage option in fulltest script and ignore cover_db
Graham Knop [Sun, 23 Jun 2013 01:23:33 +0000]
add coverage option in fulltest script and ignore cover_db

11 years agotest for no Moo::sification
Graham Knop [Mon, 24 Jun 2013 04:49:43 +0000]
test for no Moo::sification

11 years agotests for combining lazy/rwp with reader/writer
Graham Knop [Mon, 24 Jun 2013 04:49:16 +0000]
tests for combining lazy/rwp with reader/writer

11 years agotest for invalid handles spec
Graham Knop [Mon, 24 Jun 2013 04:48:49 +0000]
test for invalid handles spec

11 years agotest for required+builder
Graham Knop [Mon, 24 Jun 2013 04:47:58 +0000]
test for required+builder

11 years agovalidate builder-sub with _validate_codulatable
Graham Knop [Mon, 24 Jun 2013 04:47:24 +0000]
validate builder-sub with _validate_codulatable

11 years agotest generating bare attributes
Graham Knop [Mon, 24 Jun 2013 03:07:48 +0000]
test generating bare attributes

11 years agotests for $CurrentAttribute and __DIE__ handlers in isa checks
Graham Knop [Mon, 24 Jun 2013 03:07:26 +0000]
tests for $CurrentAttribute and __DIE__ handlers in isa checks

11 years agocorrect filename of Moo::Object in test
Graham Knop [Thu, 27 Jun 2013 11:03:50 +0000]
correct filename of Moo::Object in test

11 years agonote META updates in changelog
Graham Knop [Wed, 19 Jun 2013 22:25:04 +0000]
note META updates in changelog

11 years agorequire reasonably modern EUMM at author time
Graham Knop [Tue, 18 Jun 2013 05:46:45 +0000]
require reasonably modern EUMM at author time

11 years agotake conflicts from Moo::Conflicts module
Graham Knop [Mon, 17 Jun 2013 23:39:04 +0000]
take conflicts from Moo::Conflicts module

11 years agouse meta v2 format for prereqs
Graham Knop [Thu, 13 Jun 2013 19:36:13 +0000]
use meta v2 format for prereqs

11 years agotest for consuming multiple Moose roles
Graham Knop [Wed, 19 Jun 2013 02:48:57 +0000]
test for consuming multiple Moose roles

11 years agotest constructor after composing multiple roles
Graham Knop [Tue, 18 Jun 2013 23:29:30 +0000]
test constructor after composing multiple roles

11 years agoinclude moo-outdated in manifest
Graham Knop [Mon, 17 Jun 2013 23:36:53 +0000]
include moo-outdated in manifest

11 years agouse Test::Fatal instead of Test::Exception in all xt tests
Graham Knop [Mon, 17 Jun 2013 00:28:03 +0000]
use Test::Fatal instead of Test::Exception in all xt tests

11 years agooops; went overboard and forgot the whole point of the alt-die branch; need to handle...
Toby Inkster [Sat, 15 Jun 2013 11:54:38 +0000]
oops; went overboard and forgot the whole point of the alt-die branch; need to handle exceptions which are refs

11 years agomention $CurrentAttribute in changelog
Toby Inkster [Sat, 15 Jun 2013 02:27:24 +0000]
mention $CurrentAttribute in changelog

11 years agocombine three strings into a hashref
Toby Inkster [Sat, 15 Jun 2013 01:49:48 +0000]
combine three strings into a hashref

11 years agomake sigdie handler private
Toby Inkster [Sat, 15 Jun 2013 01:41:40 +0000]
make sigdie handler private

11 years agopull the SIG{__DIE__} handler out of the eval
Toby Inkster [Sat, 15 Jun 2013 01:38:52 +0000]
pull the SIG{__DIE__} handler out of the eval

11 years agouse the _attr_desc function instead of reinventing it
Toby Inkster [Sat, 15 Jun 2013 00:50:21 +0000]
use the _attr_desc function instead of reinventing it

11 years agotidy
Toby Inkster [Sat, 15 Jun 2013 00:43:10 +0000]
tidy

11 years agoreimplementation of SIGDIE stuff using a single coderef for the constructor (backed...
Toby Inkster [Sat, 15 Jun 2013 00:38:23 +0000]
reimplementation of SIGDIE stuff using a single coderef for the constructor (backed by some localized variables) rather than one coderef per isa/coerce

11 years agoMerge branch 'topic/conflicting_upstream_deps'
Karen Etheridge [Thu, 13 Jun 2013 21:44:33 +0000]
Merge branch 'topic/conflicting_upstream_deps'

We now have conflict tracking! Please keep it up to date when an issue is observed.

11 years agoonly sleep when installing interactively
Karen Etheridge [Thu, 13 Jun 2013 21:40:27 +0000]
only sleep when installing interactively

11 years agoHTML::Restrict 2.1.5 breaks with Moo 1.002000 (see RT#85088)
Karen Etheridge [Mon, 6 May 2013 17:30:59 +0000]
HTML::Restrict 2.1.5 breaks with Moo 1.002000 (see RT#85088)

11 years agoalso add x_breaks to META.*
Karen Etheridge [Mon, 6 May 2013 17:30:24 +0000]
also add x_breaks to META.*

11 years agointroduction of conflicts checking for Moo
Karen Etheridge [Mon, 6 May 2013 17:17:39 +0000]
introduction of conflicts checking for Moo

This was copied from the latest Moose build (which in turn was auto-generated
via Dist::Zilla::Plugin::Conflicts).

11 years agochangelog FOREIGNBUILDARGS fix
Graham Knop [Thu, 13 Jun 2013 18:57:41 +0000]
changelog FOREIGNBUILDARGS fix

11 years agofix FOREIGNBUILDARGS not being called when no attributes created
Tomohiro Hosaka [Thu, 13 Jun 2013 18:52:08 +0000]
fix FOREIGNBUILDARGS not being called when no attributes created

11 years agoremove HTML-Zoom-Parser-HH5P from broken dependent list
Graham Knop [Wed, 12 Jun 2013 18:50:43 +0000]
remove HTML-Zoom-Parser-HH5P from broken dependent list

11 years agoremove GeoIP2 from broken dependent list
Graham Knop [Mon, 27 May 2013 00:30:11 +0000]
remove GeoIP2 from broken dependent list

11 years agofix module name determination
Graham Knop [Wed, 15 May 2013 15:31:09 +0000]
fix module name determination

11 years agomark todo dependent tests
Graham Knop [Tue, 14 May 2013 22:03:26 +0000]
mark todo dependent tests

11 years agoexclude by dist in dependents test, with some refactoring
Graham Knop [Tue, 14 May 2013 02:45:50 +0000]
exclude by dist in dependents test, with some refactoring

11 years agoskip prereq tests on some problematic modules and know broken modules
Graham Knop [Mon, 13 May 2013 22:22:05 +0000]
skip prereq tests on some problematic modules and know broken modules

11 years agotest to check dependents
Graham Knop [Mon, 13 May 2013 19:48:42 +0000]
test to check dependents

11 years agochangelog Sub::Quote documentation updates
Graham Knop [Wed, 12 Jun 2013 18:22:09 +0000]
changelog Sub::Quote documentation updates

11 years agocorrect docs for capture_unroll
Graham Knop [Fri, 31 May 2013 00:56:27 +0000]
correct docs for capture_unroll

11 years agoDocument Sub::Quote's use of strictures as a caveat
Toby Inkster [Tue, 28 May 2013 07:29:24 +0000]
Document Sub::Quote's use of strictures as a caveat

11 years agochangelog multiple modifier inflation
Graham Knop [Wed, 12 Jun 2013 18:19:38 +0000]
changelog multiple modifier inflation

11 years agofix inflating method modifiers applied to multiple methods
Graham Knop [Fri, 7 Jun 2013 15:34:27 +0000]
fix inflating method modifiers applied to multiple methods

11 years agochangelog attribute trait fix
Graham Knop [Fri, 24 May 2013 16:47:18 +0000]
changelog attribute trait fix

11 years agotest for trait inflation from moo roles
Graham Knop [Tue, 14 May 2013 22:10:32 +0000]
test for trait inflation from moo roles

11 years agohard code traits as valid for attribute inflation
Graham Knop [Tue, 14 May 2013 21:34:13 +0000]
hard code traits as valid for attribute inflation

11 years agofuck you, Moose::Meta::Role::Attribute. in the ear. with a rusty spork.
Matt S Trout [Sun, 5 May 2013 18:18:39 +0000]
fuck you, Moose::Meta::Role::Attribute. in the ear. with a rusty spork.

11 years agoclean up trait test and add check for init_arg => undef
Graham Knop [Sun, 5 May 2013 18:11:10 +0000]
clean up trait test and add check for init_arg => undef

11 years agorestore init_arg => undef checking
Matt S Trout [Sun, 5 May 2013 18:04:53 +0000]
restore init_arg => undef checking

11 years agoswitch to a more functional style for the attribute ripping code
Matt S Trout [Sun, 5 May 2013 17:55:18 +0000]
switch to a more functional style for the attribute ripping code

11 years agoalso include attributes from attribute traits on inflate
Graham Knop [Sun, 5 May 2013 17:29:19 +0000]
also include attributes from attribute traits on inflate

11 years agotest for attribute attributes coming from traits
Graham Knop [Sun, 5 May 2013 14:23:36 +0000]
test for attribute attributes coming from traits

11 years agowhen inhaling Moose roles, only include original options for attributes
Graham Knop [Sun, 5 May 2013 14:26:15 +0000]
when inhaling Moose roles, only include original options for attributes

11 years agoremove out of date docs about unquoting all subs
Graham Knop [Mon, 27 May 2013 04:48:24 +0000]
remove out of date docs about unquoting all subs

11 years agotest for composing non-role
Graham Knop [Fri, 24 May 2013 17:06:35 +0000]
test for composing non-role

11 years agoExplicitly use Role::Tiny in Moo::Role
Graham Knop [Sun, 19 May 2013 22:08:29 +0000]
Explicitly use Role::Tiny in Moo::Role

base.pm will ignore failures loading a module if there are any entries
in its stash.  Moo will cause an entry to exist because it refers to
Role::Tiny::INFO.  Loading Moo before before Moo::Role will thus cause
base.pm to ignore failures loading Role::Tiny.  Fix this by explicitly
loading Role::Tiny in Moo::Role.

11 years agotighten up list of ignored files
Karen Etheridge [Sun, 19 May 2013 18:07:26 +0000]
tighten up list of ignored files

11 years agotypo fix
Graham Knop [Wed, 15 May 2013 15:31:31 +0000]
typo fix

11 years agoproperly die when composing a non-Role module
Graham Knop [Mon, 13 May 2013 19:46:43 +0000]
properly die when composing a non-Role module

11 years agoRelease commit for 1.002000 v1.002000
Matt S Trout [Sat, 4 May 2013 20:35:39 +0000]
Release commit for 1.002000

11 years agochangelog moosify feature
Matt S Trout [Sat, 4 May 2013 20:33:19 +0000]
changelog moosify feature

11 years agoSilence warning in pre-5.8.3 weaken test
Dagfinn Ilmari Mannsåker [Sat, 4 May 2013 20:30:10 +0000]
Silence warning in pre-5.8.3 weaken test

11 years agobump version
Matt S Trout [Sat, 4 May 2013 20:28:30 +0000]
bump version

11 years agoFix warnings about unknown attribute parameters on metaclass inflation
Dagfinn Ilmari Mannsåker [Sun, 21 Apr 2013 15:23:18 +0000]
Fix warnings about unknown attribute parameters on metaclass inflation

Moo::Role::_inhale_if_moose inhales the entire guts of the attribute
metaobject, so make sure we pass the correct constructor args for the
attribute metaclass.

11 years agomore tests (because I cannot believe that fixed it)
Arthur Axel 'fREW' Schmidt [Fri, 26 Apr 2013 22:09:01 +0000]
more tests (because I cannot believe that fixed it)

11 years agodon't copy delegates into overridden attributes
Graham Knop [Fri, 26 Apr 2013 19:26:23 +0000]
don't copy delegates into overridden attributes

11 years agooverriding delegate methods should work
Arthur Axel 'fREW' Schmidt [Fri, 26 Apr 2013 19:04:31 +0000]
overriding delegate methods should work

11 years agoAvoid braces as regex delimiters when used escaped in the pattern
Dagfinn Ilmari Mannsåker [Sat, 4 May 2013 20:09:16 +0000]
Avoid braces as regex delimiters when used escaped in the pattern

It warns in 5.17.x, and the parsing and metacharcter status is subject
to change in future versions of perl.

11 years agodie with a helpful error message if $TYPE_MAP{$isa}->() returned something useless
Toby Inkster [Thu, 25 Apr 2013 13:00:00 +0000]
die with a helpful error message if $TYPE_MAP{$isa}->() returned something useless

11 years agofix breakage introduced by accessor fix
Graham Knop [Sat, 4 May 2013 19:16:18 +0000]
fix breakage introduced by accessor fix

11 years agoavoid using separate variable for value in modifier when possible
Graham Knop [Wed, 17 Apr 2013 11:16:15 +0000]
avoid using separate variable for value in modifier when possible

11 years agotry to avoid localizing @_ when not needed
Graham Knop [Wed, 17 Apr 2013 11:01:56 +0000]
try to avoid localizing @_ when not needed

11 years agolib/Moo/HandleMoose.pm: Fix for rt#84615
Kent Fredric [Tue, 23 Apr 2013 21:11:21 +0000]
lib/Moo/HandleMoose.pm: Fix for rt#84615

If the constructor autovivification call returns 'undef', then the
package we're trying to get the contructor for, ( and from that, the
    constructor specs ), that package was not constructed via

  package;
  use Moo;

doesn't turn up in %Moo::MAKERS, and must either be either Moose::Object itself, or a simple child class of
that.

Therefore, assume it has no attributes, and inflate a minimal
methods-only metaclass.

11 years agoadd xt/ test for RT#84615 : Moo::Object->meta->can() dies
Kent Fredric [Tue, 23 Apr 2013 19:48:00 +0000]
add xt/ test for RT#84615 : Moo::Object->meta->can() dies

Add a test for people doing simple inheritance of Moo::Object, which also exhibits RT#84615

Add Haargs test case which is seemingly more common than the other two
combined. get_all_attributes even works as expected!

11 years agoadd changelog entry for non-ref defaults fix, and missed entry from previous version
Graham Knop [Sun, 31 Mar 2013 03:16:15 +0000]
add changelog entry for non-ref defaults fix, and missed entry from previous version

11 years agofix for eager false non-ref defaults
Graham Knop [Fri, 22 Mar 2013 23:06:43 +0000]
fix for eager false non-ref defaults

11 years agotests for eager false non-ref defaults
Graham Knop [Fri, 22 Mar 2013 23:03:41 +0000]
tests for eager false non-ref defaults

11 years agomoosify on overridden attributes adds to list of subs
Graham Knop [Thu, 2 May 2013 17:16:33 +0000]
moosify on overridden attributes adds to list of subs

11 years agosquash, cleanup on _validate_codulatable
Matt Phillips [Tue, 30 Apr 2013 14:59:46 +0000]
squash, cleanup on _validate_codulatable

11 years agoAdds moosify isa spec
Matt Phillips [Fri, 22 Mar 2013 20:35:43 +0000]
Adds moosify isa spec

This feature is an optional coderef that gets fired when Moo::HandleMoose is
injecting a real metaclass. The spec hashref is passed as the only argument to
allow for modifications to carry forward to Moose.

The main usecase for this is to allow thirdparty extensions such as
MooX::HandlesVia to mutate their Moo specific attributes to something Moose
will understand.

11 years agoadd checks that refaddr of $spec->{isa} and $spec->{coerce} are unchanged
Toby Inkster [Fri, 19 Apr 2013 12:49:16 +0000]
add checks that refaddr of $spec->{isa} and $spec->{coerce} are unchanged

11 years agotest that repeated calls to accessor doesn't re-trigger overloads on isa/coerce
Graham Knop [Thu, 18 Apr 2013 20:05:22 +0000]
test that repeated calls to accessor doesn't re-trigger overloads on isa/coerce

11 years agofix overload-coderefs test
Graham Knop [Thu, 18 Apr 2013 19:57:49 +0000]
fix overload-coderefs test

11 years agoinlining for overloaded object isa/coerce
Toby Inkster [Fri, 5 Apr 2013 17:56:39 +0000]
inlining for overloaded object isa/coerce