Broken out into its own repository, very basic implementation of a stand-alone Model with validation.
Implemented save() on model instances.
Added tests for updating model instances which didn't require code changes.
Implemented static method find() on Models for retrieving stored documents.
Implemented remove() as both a static and instance method on Models for removing documents.
Basic database access implemented, including:
- Model.find()
- Model.remove()
- instance.save()
- instance.remove()
Added support for defining hooks on a Model's instance methods.
- Class.pre('method', function);
- Class.post('method', function);
Configuring Travis CI.
Added missing dependencies.
Ignoring node_modules dependencies.
Removed old validation callback code and now supports validation through the use of pre hooks on the 'init' function.
Added validation support through the use of hooks. Hooks can modify properties passed to init to prevent the object being populated.
Ignoring dependencies.
Updated package and added Readme info.
Added package version to readme.
Merge branch 'release/0.1.0'