Skip to content
This repository has been archived by the owner on Dec 23, 2018. It is now read-only.

Commit

Permalink
update gumbo dep to 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Condon committed Jan 22, 2013
1 parent cbc7b94 commit ca0cf4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/plugins/cbd.projects/index.js
Expand Up @@ -151,6 +151,7 @@ exports.plugin = function(router) {
ops.projectName = params.target || ops.target || (ops.args.length ? ops.args.shift() : path.basename(process.cwd()));
}


Project.find(ops.projectName, function(err, projects) {

//attach onto the request so anything routes after this get the projects. example above
Expand Down
6 changes: 4 additions & 2 deletions lib/plugins/cbd.projects/model.js
Expand Up @@ -22,6 +22,7 @@ exports.init = function(config, router) {

this.router = router;


this.globalConfig = config;
},

Expand Down Expand Up @@ -94,7 +95,7 @@ exports.init = function(config, router) {

if(!script) {

console.error('Command "%s" does not exist', ops.command.bold);
xerror('Command "%s" does not exist', ops.command.bold);
return callback();
}

Expand Down Expand Up @@ -174,7 +175,7 @@ exports.init = function(config, router) {

if(queryOrName == '--all' || queryOrName == 'all-projects') {

search = { path: { $ne: null } }; //all
query = { _id: { $ne: null } }; //all
} else {

query = { _id: { $in: (queryOrName || '').replace(/([^+]+)/g,this.getId('$1')).split('+') } };
Expand All @@ -184,6 +185,7 @@ exports.init = function(config, router) {
query = queryOrName;
}


return query;
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"url": "git://github.com/crcn/cupboard.git"
},
"dependencies": {
"gumbo": "0.1.2",
"gumbo": "0.1.x",
"colors": "0.5.1",
"celeri": "0.3.x",
"ini": "1.0.1",
Expand Down

0 comments on commit ca0cf4a

Please sign in to comment.