Permalink
Commits on Feb 11, 2012
  1. Add test for ConstraintUnitTestMixin and add info to the README about…

    … testing
    
    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Feb 11, 2012
  2. Merge pull request #15 from wotifgroup/testmixin

    @TestMixin support for constraint unit testing
    committed Feb 11, 2012
Commits on Jan 28, 2012
  1. Some cleanups to extended validation, extra test for null return and …

    …update documentation.
    
    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jan 28, 2012
  2. Fix typo in javadoc

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jan 28, 2012
  3. oops: should be modifying constraintClass.metaClass, not instance.met…

    …aClass.
    Sam Day committed Jan 28, 2012
  4. basic ConstraintUnitTestMixin implementation.

    Sam Day committed Jan 28, 2012
Commits on Jan 25, 2012
  1. wrote tests for extended validation

    Sam Day committed Jan 25, 2012
Commits on Jan 24, 2012
  1. Validator closure can now return complex types (String or List). Chan…

    …ged GrailsConstraintClass to return an Object from validation call. Copy/pasted the same handling code from grails-core ValidatorConstraint to setup the right errcode/args to rejectValue.
    Sam Day committed Jan 24, 2012
  2. Fixed auto-reloading of Constraints class by adding watchedResources …

    …and re-registering changed constraints with application.addArtefact + setupConstraintsProperties.
    Sam Day committed Jan 24, 2012
  3. Fixed DefaultGrailsConstraintClass.validate to handle null returns fr…

    …om validation closure.
    Sam Day committed Jan 24, 2012
Commits on Dec 24, 2011
  1. Fix typos

    committed Dec 24, 2011
  2. Increment version to 0.7

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Dec 24, 2011
Commits on Dec 16, 2011
  1. Fix Issue #6: constraintOwningClass and constraintPropertyName where …

    …only being set on persistent constraints. Now set on non-persistent as well. Includes new test.
    committed Dec 16, 2011
  2. Add some extra tests based on issues in issue tracker.

    Convert tests to Junit4 style (annotations).
    committed Dec 16, 2011
  3. Upgrade to Grails 2

    committed Dec 16, 2011
Commits on Jul 12, 2011
  1. Increment plugin version really

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jul 12, 2011
  2. Increment version

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jul 12, 2011
Commits on Jul 11, 2011
  1. Upgrade to grails 1.3.7

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jul 11, 2011
Commits on Feb 17, 2011
  1. Contribution from Damir: Allow a user to override whether the validat…

    …ion will be called when a value is blank or null. The default is to skip null and blanks for validation.
    
    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Feb 17, 2011
  2. add a comment to README about unit testing

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Feb 17, 2011
Commits on Jan 2, 2011
  1. Upgrade to latest grails an test

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jan 2, 2011
  2. Add logging to constraints and tests to make sure it works

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jan 2, 2011
Commits on May 12, 2010
  1. Upgrade to Grails 1.3

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed May 12, 2010
Commits on May 9, 2010
  1. Remove refresh plugin that was accidentally left in. Upgrade to 0.5.1…

    … for another release.
    
    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed May 9, 2010
  2. Update code documentation a bit.

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed May 9, 2010
  3. Signed-off-by: Geoff Lane <geoff@zorched.net>

    Update plugin version to 0.5
    Minor cleanup
    committed May 9, 2010
  4. Rework plugin significantly. Persistent constraints, Command objects …

    …and Injection are all working better now.
    
    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed May 9, 2010
Commits on May 6, 2010
Commits on Feb 3, 2010
  1. Fix typo and url

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Feb 3, 2010
Commits on Jan 8, 2010
  1. Upgrade to Grails 1.2

    Add fix for Command Object
    Add test for @Validateable annotated classes
    
    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jan 8, 2010
Commits on Oct 28, 2009
  1. Set version 0.2 properly

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Oct 28, 2009