From 3d7cd2fd1aa772d2e14d6717b9561df3ea9b3dda Mon Sep 17 00:00:00 2001 From: Florian Holzapfel Date: Thu, 20 Mar 2014 07:42:08 +0100 Subject: [PATCH] updated documentation updated contributors bump version to 0.6.6 --- README.md | 3 +++ package.json | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e8d9d94..4f59f864 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,8 @@ serve(app, model, [options]) allows mongoose validators to be called. Default is ```true```. (For more information, read the Mongoose docs: http://mongoosejs.com/docs/api.html#model_Model.findByIdAndUpdate) + * contextFilter - `function(model, req)`. Allows authorization per request, for example filtering +items based on req.user. Defaults to `return model`. ### defaults ``` @@ -170,6 +172,7 @@ defaults(options) * Christoph Herbst (https://github.com/cherbst) * doobinay (https://github.com/doobinay) * Hareesh (https://github.com/hareeshbabu82ns) +* 09setht (https://github.com/09setht) ## Formalia diff --git a/package.json b/package.json index 601562d8..edabcd7e 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,9 @@ }, { "name": "Hareesh" + }, + { + "name": "09setht" } ], "dependencies": { @@ -82,5 +85,5 @@ "pretest": "./node_modules/.bin/jshint lib test", "test": "./node_modules/.bin/mocha -R spec ./test --recursive --timeout 5s" }, - "version": "0.6.5" + "version": "0.6.6" }