Permalink
Browse files

Completed command "/status"

  • Loading branch information...
1 parent b5dc1cc commit 81370717544eb789508b81891dcf8042c0ec8468 @detro committed May 18, 2012
Showing with 8 additions and 7 deletions.
  1. +8 −7 src/request_handlers/status_request_handler.js
@@ -30,17 +30,18 @@ var ghostdriver = ghostdriver || {};
ghostdriver.StatusReqHand = function() {
// private:
var
+ _system = require("system"),
_protoParent = ghostdriver.StatusReqHand.prototype,
- _statusObj = { //< TODO Report real status
+ _statusObj = {
"build" : {
- "version" : "0.1a",
- "revision" : "none",
- "time" : "20120320"
+ "version" : "1.0-dev",
+ "revision" : "unknown",
+ "time" : "unknown"
},
"os" : {
- "arch" : "x86",
- "name" : "osx",
- "version" : "10.7.2"
+ "name" : _system.os.name,
+ "version" : _system.os.version,
+ "arch" : _system.os.architecture
}
},

0 comments on commit 8137071

Please sign in to comment.