Skip to content

Commit

Permalink
Added the worker.js file and the underscore, utils, and mongodb refer…
Browse files Browse the repository at this point in the history
…ences.
  • Loading branch information
danpres14 committed Nov 5, 2012
1 parent f1f6dfc commit 71be8e9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
8 changes: 8 additions & 0 deletions lib/mongoMsgQueue.js
Expand Up @@ -15,3 +15,11 @@
* *
*/ */


var _ = require('underscore')
, mongodb = require('mongodb')
, util = require('util')

, worker = require('./worker')
, queue = require('./queue')
, task = require('./task');

9 changes: 9 additions & 0 deletions lib/worker.js
@@ -0,0 +1,9 @@
/*
* The Mongo Message Queue - worker object
*
* Copyright (c) 2012 Short Line Design Inc.
* Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
* The MIT License (MIT)
*
*/

5 changes: 3 additions & 2 deletions package.json
@@ -1,5 +1,5 @@
{ {
"version": "0.0.1", "version": "0.0.2",
"name": "mongo-msg-queue", "name": "mongo-msg-queue",
"description": "A lightweight message queue using mongo db as the data store.", "description": "A lightweight message queue using mongo db as the data store.",
"author": "Dan Prescott <danpres14@gmail.com> - Short Line Design Inc.", "author": "Dan Prescott <danpres14@gmail.com> - Short Line Design Inc.",
Expand All @@ -9,7 +9,8 @@
"url": "git@github.com:Short-Line-Design/MongoMsgQueue.git" "url": "git@github.com:Short-Line-Design/MongoMsgQueue.git"
}, },
"dependencies": { "dependencies": {
"underscore": "1.4.x" "underscore": "1.4.x",
"mongodb": "1.1.x"
}, },
"devDependencies": { "devDependencies": {
}, },
Expand Down

0 comments on commit 71be8e9

Please sign in to comment.