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

Commit

Permalink
Browse files Browse the repository at this point in the history
update structr version
  • Loading branch information
Craig Condon committed Mar 8, 2012
1 parent 3d0a96a commit 605e282
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 13 deletions.
6 changes: 2 additions & 4 deletions lib/beans/cbd.projects/index.js
Expand Up @@ -36,7 +36,7 @@ exports.plugin = function(router) {
*/

'pull projects -> command/execute/:cmd OR projects/execute/:cmd': function(req, res) {

var running = req.projects.length;


Expand Down Expand Up @@ -147,10 +147,8 @@ 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
req.projects = projects;

Expand Down
2 changes: 1 addition & 1 deletion lib/beans/cbd.projects/processor.js
Expand Up @@ -177,4 +177,4 @@ var Processor = module.exports = Structr({

return this._processors[project.name()] || (this._processors[project.name()] = new module.exports(project));
}
});
});
2 changes: 2 additions & 0 deletions lib/bootstrap.js
Expand Up @@ -11,6 +11,8 @@ initialized = false;

exports.init = function(callback) {



if(initialized) return callback(router);

em.addListener('init', callback);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -15,7 +15,7 @@
"findit": "0.1.1",
"relative-date": "1.1.1",
"underscore": "*",
"structr": "*",
"structr": "0.2.x",
"beanpoll": "<0.3.0",
"plugin": "<0.2.0",
"vine": "0.0.10",
Expand Down
48 changes: 41 additions & 7 deletions project.sublime-workspace
Expand Up @@ -332,6 +332,14 @@
"line_ending": "Unix"
}
},
{
"file": "/tmp/subl stdin QXAqrX.txt",
"settings":
{
"buffer_size": 0,
"line_ending": "Unix"
}
},
{
"file": "/tmp/subl stdin cGVCof.txt",
"settings":
Expand Down Expand Up @@ -489,7 +497,7 @@
"groups":
[
{
"selected": 39,
"selected": 40,
"sheets":
[
{
Expand Down Expand Up @@ -1558,7 +1566,7 @@
},
{
"buffer": 40,
"file": "/tmp/subl stdin cGVCof.txt",
"file": "/tmp/subl stdin QXAqrX.txt",
"settings":
{
"buffer_size": 0,
Expand All @@ -1584,6 +1592,32 @@
},
{
"buffer": 41,
"file": "/tmp/subl stdin cGVCof.txt",
"settings":
{
"buffer_size": 0,
"regions":
{
},
"selection":
[
[
0,
0
]
],
"settings":
{
"syntax": "Packages/Text/Plain text.tmLanguage"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"type": "text"
},
{
"buffer": 42,
"file": "lib/beans/cbd.projects/model.js",
"settings":
{
Expand All @@ -1610,7 +1644,7 @@
"type": "text"
},
{
"buffer": 42,
"buffer": 43,
"file": ".gitignore",
"settings":
{
Expand All @@ -1636,7 +1670,7 @@
"type": "text"
},
{
"buffer": 43,
"buffer": 44,
"file": "lib/beans/cbd.projects/getUpdatedFiles.js",
"settings":
{
Expand All @@ -1663,7 +1697,7 @@
"type": "text"
},
{
"buffer": 44,
"buffer": 45,
"file": ".cupboard",
"settings":
{
Expand All @@ -1689,7 +1723,7 @@
"type": "text"
},
{
"buffer": 45,
"buffer": 46,
"file": "/tmp/subl stdin Hq7npW.txt",
"settings":
{
Expand All @@ -1715,7 +1749,7 @@
"type": "text"
},
{
"buffer": 46,
"buffer": 47,
"file": "/tmp/subl stdin zV8gzp.txt",
"settings":
{
Expand Down

0 comments on commit 605e282

Please sign in to comment.