Skip to content

Commit

Permalink
Dont use >= in dependencies. Updated to support new mongodb dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
bydga committed Mar 23, 2015
1 parent 14fc50a commit 2278ae0
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.ReplSetServers(servers, op);
server = new mongodb.ReplSet(servers, op);
}

/** auth */
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"url" : "http://github.com/zzdhidden/mongoq.git"
}
, "dependencies": {
"mongodb" : ">=0.9.1"
, "jquery-deferred": ">=0.2.0"
"mongodb" : "^2.0.23"
, "jquery-deferred": "^0.2.0"
}
, "devDependencies": {
"mocha" : "*"
Expand Down

0 comments on commit 2278ae0

Please sign in to comment.