Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #14 from cpsubrian/redis

Removes redis dependency.
  • Loading branch information...
commit 221d8b21b9983b77afb05a5b5dac817163474450 2 parents 8c792ea + 2d9307e
@tj authored
Showing with 4 additions and 5 deletions.
  1. +2 −3 lib/stores/RedisStore.js
  2. +2 −2 package.json
View
5 lib/stores/RedisStore.js
@@ -4,8 +4,7 @@
*/
var EventEmitter = require('events').EventEmitter
- , debug = require('debug')('jog:redis')
- , redis = require('redis');
+ , debug = require('debug')('jog:redis');
/**
* Expose `RedisStore`.
@@ -22,7 +21,7 @@ module.exports = RedisStore;
*/
function RedisStore(client, key) {
- this.db = client || redis.createClient();
+ this.db = client || require('redis').createClient();
this.key = key || 'jog';
this.rangeSize = 300;
}
View
4 package.json
@@ -8,13 +8,13 @@
, "bin": { "jog": "./bin/jog" }
, "dependencies": {
"debug": "*",
- "redis": "0.8.1",
"commander": "0.5.2",
"ms": "0.1.0"
}
, "devDependencies": {
"mocha": "*",
- "should": "*"
+ "should": "*",
+ "redis": "0.8.1"
}
, "main": "index"
, "engines": { "node": "*" }
Please sign in to comment.
Something went wrong with that request. Please try again.