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

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

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

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

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

    Sam Day committed Apr 4, 2012
    …ewly created constraints will correctly register in an already running app now.
Commits on Feb 11, 2012
  1. Add test for ConstraintUnitTestMixin and add info to the README about…

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

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

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

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

    Sam Day committed Jan 28, 2012
    …aClass.
  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…

    Sam Day committed Jan 24, 2012
    …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.
  2. Fixed auto-reloading of Constraints class by adding watchedResources …

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

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

    geofflane committed Dec 24, 2011
  2. Increment version to 0.7

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

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

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

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

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

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

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

    geofflane committed Feb 17, 2011
    …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>
  2. add a comment to README about unit testing

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

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

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

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

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

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