Comparing version 3.1.0 to 3.1.1
@@ -0,1 +1,5 @@ | ||
3.1.1 / 2016-07-29 | ||
================== | ||
- Provide option to not cache collections (fix #21) | ||
3.1.0 / 2016-07-22 | ||
@@ -2,0 +6,0 @@ ================== |
@@ -42,2 +42,4 @@ /* | ||
delete this.options.cache | ||
this.oid = this.id | ||
@@ -676,4 +678,2 @@ this.opts = this.opts.bind(this) | ||
console.log(keys, condition, initial, reduce, finalize, command, opts, fn) | ||
opts = this.opts(opts) | ||
@@ -680,0 +680,0 @@ |
@@ -246,3 +246,3 @@ /* | ||
Manager.prototype.get = function (name, options) { | ||
if (!this.collections[name]) { | ||
if ((options || {}).cache === false || !this.collections[name]) { | ||
this.collections[name] = new Collection(this, name, options) | ||
@@ -270,3 +270,3 @@ } | ||
if (!this.collections[name]) { | ||
if ((options || {}).cache === false || !this.collections[name]) { | ||
this.collections[name] = new Collection(this, name, options) | ||
@@ -273,0 +273,0 @@ } |
{ | ||
"name": "monk", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"main": "lib/monk.js", | ||
@@ -5,0 +5,0 @@ "tags": [ |
39548