Skip to content

Commit 9b9b447

Browse files
committed
Finish v0.8.9
2 parents 53708f8 + 7d71af1 commit 9b9b447

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

lib/dispatch/beacon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ etl.verify = function (context, workspace, collection, documents, callback) {
3535
var key = '';
3636
var hashCode = function(str){
3737
var hash = 0;
38-
if (str.length == 0) return hash;
38+
if (str.length === 0) return hash;
3939
for (var i = 0; i < str.length; i++) {
4040
var char = str.charCodeAt(i);
4141
hash = ((hash<<5)-hash)+char;
@@ -397,7 +397,7 @@ exports.subscribe = {
397397
callback = callback || function () {
398398
};
399399

400-
subscribers.push(req.socket);
400+
//subscribers.push(req.socket);
401401
return callback();
402402
}
403403
};

lib/dispatch/query.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,11 @@ manager.parse = function (context, options, callback) {
386386
manager.applyFilters = function (context, query, callback) {
387387
if (!query.filter)
388388
query.filter = [];
389-
if (context.user.filter)
390-
query.filter.push(query.filter.concat(context.user.filter.concat('--forced')));
389+
if (context.user.filter && context.user.filter.length > 0) {
390+
context.user.filter.forEach(function (f) {
391+
query.filter.push(query.filter.concat(f.concat('--forced')));
392+
});
393+
}
391394

392395
return callback(null, query);
393396
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "joola",
33
"preferGlobal": true,
4-
"version": "0.8.8",
4+
"version": "0.8.9",
55
"author": "Joola <info@joo.la>",
66
"description": "Custom data analytics solution built for today's market needs and scale.",
77
"private": false,
@@ -116,7 +116,7 @@
116116
"cloneextend": "0.0.3",
117117
"coffee-script": "^1.9.1",
118118
"compression": "^1.4.3",
119-
"config": "^1.12.0",
119+
"config": "1.10.0",
120120
"connect": "^3.3.5",
121121
"deep-diff": "^0.3.1",
122122
"deep-equal": "^1.0.0",

0 commit comments

Comments
 (0)