Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

    authored
    	* 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

    authored
    	* 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.

    authored
    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.

    authored
  3. initial _make_delegation_method() wrapping

    authored
    ...to 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

    authored
Commits on May 2, 2014
  1. v0.024

    authored
    	* 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.

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

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

    authored
    ...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."

    authored
    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

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

    authored
    details, details...
  3. update travis config

    authored
  4. Add 'isa_instance_of' attribute option

    authored
    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 user.name && .email globally

    authored
    ...as 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

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

    authored
    	* 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

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

    authored
    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

    authored
    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

    authored
    	* 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...

    authored
    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

    authored
    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

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

    authored
Something went wrong with that request. Please try again.