-
NotNaughty::Builder is now NotNaughty::ClassMethods
-
NotNaughty::Builder::ValidationDelegator is now NotNaughty::ClassMethods::Builder
-
NotNaughty::ClassMethods::Builder does not inherit from Delegation anymore, so { format :with => /rx/ } works
-
NotNaughty::Validation loads validations from directories listed in load_paths
-
builder/validation cleanups
-
added gemspecs for github
-
added support for predefined format expressions [resolves:#19814]
-
fixed Rakefile
-
removed whitespaces
-
removed Ruby-Sequel adapter (becomes an extra gem)
-
removed assistance gem dependency
-
fixed missing dependency
-
added an error handler, can now handle SQL validation errors
-
renamed Errors to Violation and merged it with ValidationException
-
changed specs for 0.4.1
-
fixed bug that causes infinite recursion in some apps that reload classes
-
some minor changes in validator method
-
completed documentation
-
added spec for :each in Builder::ValidationDelegator
-
fixed missing require
-
renamed to NotNaughty - The Validation Framework
-
made predefined Validation optional, you can load them with:
::NotNaughty::Validation.load '*'
or ordered (should be preferred):
::NotNaughty::Validation.load :acceptance, :confirmation, :format, :length, :numericality, :presence
-
specs pass, 100% code coverage, 2 not complete, so pending specs
-
docs added
-
complete rewrite
-
initial release