Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 3, 2014
  1. v0.026

    	* Keep our comments dumb, even in tests. (thanks, @haarg!)
  2. Graham Knop

    remove debugging cruft

    haarg authored committed
Commits on May 22, 2014
  1. v0.025

    	* This is a TRIAL release, as I'm not entirely sure of the wisdom and
    	  implementation of the following.
    	* Allow for the creation of additional associated methods by hijacking the
    	  delegation system, a la native traits: handles => { ... => sub { ... } }
Commits on May 21, 2014
  1. Nope, let's do it plain. let people construct their own bits.

    No custom coderefs created or passed to custom accessors now; let people do
    what they need to do on their own.
    The attribute metaclass is stashed in $_, and we've provided 3 convenience
    methods to help interact with the associated class' meta-instance class.
  2. ....or this. hm.

  3. initial _make_delegation_method() wrapping

    authored allow us to generate custom accessors a la native traits:
        handles => {
            method_name => sub { ... accessor body (value in $_) ... }
    sooooooooooooooooo lazy.
Commits on May 20, 2014
  1. nit! comments

Commits on May 2, 2014
  1. v0.024

    	* Make the undocumented isa_* options "deprecated" ...which seems like
    	  better karma than no warning, as people really shouldn't be using these
    	  anyways, but better nice than to have it done to me someday :)
  2. move our Latin down a touch.

    ...towards the section that may be construed as enabling attribute abuse.
  3. ...and test for the deprecation warnings

    This has the added benefit of quieting them down :)
  4. Make the undocumented isa_* options "deprecated"

    ...which seems like better karma than none, as people really shouldn't be
    using these anyways, but better nice than to have it done to me someday :)
  5. "Bad use does not preclude proper usage."

    There's some parts of this package that make it pretty easy to shoot oneself
    in the foot -- but then, one can quite easily do that without needing anything
    like this at all.
Commits on Apr 5, 2014
  1. v0.023

    	* Add isa_instance_of attribute option.
  2. Semi-embarrassing POD fix

    details, details...
  3. update travis config

  4. Add 'isa_instance_of' attribute option

    Adding an instance type constraint to an attribute can be done easily with:
        isa => 'PackageName',
    ...however, this is suboptimal, for reasons discussed at significant length
    and volume elsewhere on the interwebs.  Instead, you could do:
        use Moose::TypeConstraints 'class_type';
        # ...
        isa => class_type('PackageName'),
    ...but that's wordy, and for some reason, confuses my simple little brain.
    Given that what we're trying to express is "the value this attribute holds isa
    instance of the PackageName class", why not just say that?
        isa_instance_of => 'PackageName',
    Voila.  Also a little wordy, but completely encapsulated inside the attribute,
    non-confusing to me, clearly expresses the intent of the author.
Commits on Oct 11, 2013
  1. configure git && .email globally

    authored dzil plugins like ContributorsFromGit will try to use git, and fail
    abysmally if we only have this configured inside our repository.
Commits on Oct 10, 2013
  1. Merge pull request #13 from dsteinbrunner/patch-1

    typo fixes
    closes #13, thanks! :)
Commits on Sep 29, 2013
  1. v0.022

    	* No code changes -- released with refreshed test suite
Commits on Sep 27, 2013
  1. David Steinbrunner

    typo fixes

    dsteinbrunner authored
Commits on Sep 9, 2013
  1. v0.021

    	* Drop MXCPA entirely, and incorporate the subtyping functionality
  2. move CoercePerAttribute functionality over directly

    We were only documenting and using a subset of it, and with the recent changes
    we need to keep a tighter control over it.  This will also allow us to refine
    how we handle this down the road.
Commits on Aug 27, 2013
  1. explicitly ensure that coerce is *not* a reference to something

    With the change from hashref to arrayref in MX::CoercePerAttribute 1.000, the
    stringification heuristics changed enough to throw off our constraint check.
    We now explicitly check to ensure that coerce is not a reference before trying
    to do anything with it.
    So that was a fun bug to diagnose.
Commits on Aug 26, 2013
  1. v0.020_01

    	* Keep MXCPA quiet, for now.  This is evil (hence the dev release), but
    	  should keep things status-quo until we properly integrate MXCPA
    	  functionality into MXAS proper.
  2. evil, evil, evil hack...

    Work around the warning introduced by MX::CoercePerAttribute by localizing
    warnings into nothingness around _process_coerce_option().
  3. add initial tests for coercion per attribute

    Completely not comprehensive, and uses the older hashref syntax.  This is, at
    the moment, more to check that the warning MXCPA issues now than anything
    else... But will be a good point to start at when incorporating the MXCPS
    functionality directly.
Commits on Aug 20, 2013
  1. v0.020

    	* Bump CoercePerAttribute version requirement to 1.000 and update docs
  2. autoadd

Something went wrong with that request. Please try again.