Skip to content
Browse files

consistency

  • Loading branch information...
1 parent 38c850d commit e37936c57e672775b73bccd23036f04a50c1c698 Contra committed Sep 7, 2011
Showing with 7 additions and 18 deletions.
  1. +4 −16 nodester.js
  2. +3 −2 package.json
View
20 nodester.js
@@ -101,11 +101,7 @@ nodester.prototype.status = function (cb) {
this.get('status', cb);
};
-/*
-nodester.prototype.app_set_start = function (name, start, cb) {
-
-};
-*/
+
nodester.prototype.app_running = function (name, running, cb) {
this.put('app', { appname: name, running: running }, cb);
@@ -155,14 +151,6 @@ nodester.prototype.appnpm_uninstall = function (name, package, cb) {
this.appnpm_handler(name, package, "uninstall", cb);
};
-/*
-nodester.prototype.appdomain_handler = function (name, domain, action, cb) {
- this.post('appdomains', { appname: name, action: action, domain: domain }, cb);
-};
-nodester.prototype.appdomain_delete = function (name, domain, cb) {
- this.appdomain_handler(name, domain, "delete", cb);
-};
-*/
nodester.prototype.appdomain_add = function (name, domain, cb) {
this.post('appdomains', { appname: name, domain: domain }, cb);
@@ -177,12 +165,12 @@ nodester.prototype.appdomains = function(cb) {
this.get('appdomains', cb);
};
-nodester.prototype.password_reset_token = function(some_user, cb) {
+nodester.prototype.reset_password_token = function(some_user, cb) {
this.post('reset_password', { user: some_user }, cb);
};
-nodester.prototype.password_reset_setpass = function(token, a_password, cb) {
- this.put('reset_password/'+token, { password: a_password }, cb);
+nodester.prototype.reset_password_setpass = function(token, a_password, cb) {
+ this.put('reset_password/' + token, { password: a_password }, cb);
};
exports.nodester = nodester;
View
5 package.json
@@ -1,7 +1,7 @@
{
"name": "nodester-api",
"description": "A module to allow interaction with the http://nodester.com/ platform.",
- "version": "0.1.10",
+ "version": "0.1.11",
"homepage": "http://nodester.com/",
"repository": "git://github.com/nodester/nodester-api.git",
"author": "Daniel Bartlett <dan@f-box.org> (http://danb-uk.net/)",
@@ -16,7 +16,8 @@
"node": "*"
},
"dependencies" : {
- "request": ">=1.9.1"
+ "request": "*",
+ "querystring": "*"
},
"main": "./nodester.js"
}

0 comments on commit e37936c

Please sign in to comment.
Something went wrong with that request. Please try again.