Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump version number, clean up tests and saner options checking

  • Loading branch information...
commit ed99df899d00c2700102dd317b7710a6974adf24 1 parent 5aad513
Jamison Dance jergason authored
Showing with 14 additions and 5 deletions.
  1. +4 −2 lib/index.js
  2. +7 −1 package.json
  3. +3 −2 tests/test.sh
6 lib/index.js
View
@@ -329,10 +329,12 @@
options = options || {};
// there could potentially be a race condition here at startup
- // sholud be negligable
+ // should be negligible
storage = require('./redis-wrapper').create(options.redis || {});
- filesDir = options.files;
+ if (options.files) {
+ filesDir = options.files;
+ }
if (options.allowUserSpecifiedIds) {
allowUserSpecifiedIds = true;
8 package.json
View
@@ -2,8 +2,14 @@
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.info/)",
"name": "dropshare",
"description": "A ge.tt / min.us clone for your private servers",
- "version": "0.1.1",
+ "version": "0.2.1",
"homepage": "dropshare.coolaj86.info",
+ "contributors": [
+ {
+ "name": "Jamison Dance",
+ "email": "jergason@gmail.com"
+ }
+ ],
"repository": {
"type": "git",
"url": "git://github.com/coolaj86/dropshare.git"
5 tests/test.sh
View
@@ -19,12 +19,13 @@ expect_not_equal () {
fi
}
+# make sure we have modules installed
+npm install .. > /dev/null 2>&1
+
# Make sure redis is running
redis-server > /dev/null 2>&1 &
REDIS_PID=$!
-echo "Last pid was $REDIS_PID"
-
# start the server
spark -C .. > /dev/null 2>&1 &
PID=$!
Please sign in to comment.
Something went wrong with that request. Please try again.