Skip to content

Commit

Permalink
Merge pull request #10 from wision/mongodb-version
Browse files Browse the repository at this point in the history
Revert mongodb back to 1.x.x
  • Loading branch information
arronzhang committed Mar 28, 2015
2 parents 4dd4855 + 0659654 commit 6e70849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/mongoq.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function mongoq( dbnameOrUrl, options ) {
for( var key in options ) {
op[ key ] = options[ key ];
}
server = new mongodb.ReplSet(servers, op);
server = new mongodb.ReplSetServers(servers, op);
}

/** auth */
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongoq"
, "version": "0.2.4"
, "version": "0.2.5"
, "description": "Use mongoDB like this: require('mongoq')('testdb').collection('users').find(function(err, cursor){});"
, "keywords": ["mongodb", "mongoq", "data", "datastore", "nosql"]
, "author" : "Hidden <zzdhidden@gmail.com>"
Expand All @@ -9,7 +9,7 @@
"url" : "http://github.com/zzdhidden/mongoq.git"
}
, "dependencies": {
"mongodb" : "^2.0.23"
"mongodb" : "^1.4.35"
, "jquery-deferred": "^0.2.0"
}
, "devDependencies": {
Expand Down

0 comments on commit 6e70849

Please sign in to comment.