Skip to content
Commits on Jul 6, 2012
  1. Upgrade to Grails 2.1 and test

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jul 6, 2012
  2. Fix issue #16: Support @TestFor annotations for testing Constraints i…

    …mplementations. Thanks to Sam Day for the idea/example.
    committed Jul 5, 2012
  3. Upgrade to latest Grails 2.0.3 and test. Set compile to 1.6.

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jul 5, 2012
Commits on Apr 16, 2012
  1. Merge pull request #17 from wotifgroup/improvedautoreloading

    Auto reload improvement
    committed Apr 16, 2012
Commits on Apr 4, 2012
  1. Re-jiggered the registerConstraint code in ConstraintsGrailsPlugin. N…

    …ewly created constraints will correctly register in an already running app now.
    Sam Day committed Apr 4, 2012
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 10, 2012
  2. Merge pull request #15 from wotifgroup/testmixin

    @TestMixin support for constraint unit testing
    committed Feb 10, 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 23, 2011
  2. Increment version to 0.7

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Dec 23, 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 11, 2011
  2. Increment version

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Jul 11, 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 16, 2011
  2. add a comment to README about unit testing

    Signed-off-by: Geoff Lane <geoff@zorched.net>
    committed Feb 16, 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 11, 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
Something went wrong with that request. Please try again.