Permalink
Browse files

Removes undocumented host() method for setting up a single host from …

…config and adds engines specification to package file.
  • Loading branch information...
tsmith committed Aug 14, 2010
1 parent 4989dd0 commit 3e6756400aae2d0d4fa291d1fe933ec3bec0feaa
Showing with 4 additions and 16 deletions.
  1. +2 −0 CHANGELOG
  2. +0 −14 lib/host.js
  3. +0 −1 lib/index.js
  4. +2 −1 package.json
View
@@ -1,5 +1,7 @@
0.1.6
- Document sshOptions and reimplement to allow setting in config or host object
+- Remove undocumented host() method for setting up a single host from config
+- Add engines specfication to package.json for node >=0.1.99
0.1.5
- Remove errant console.log statement in ssh command
View
@@ -109,19 +109,6 @@ function hostConstructor(config) {
return Host;
}
-function host(config, address) {
- if (!config) {
- throw new Error("No config");
- }
-
- if (!address) {
- throw new Error("No remote host address");
- }
-
- var Host = hostConstructor(config);
- return new Host(address);
-}
-
function hosts(config, addresses) {
if (!config) {
throw new Error("No config");
@@ -142,5 +129,4 @@ function hosts(config, addresses) {
return list;
}
-exports.host = host;
exports.hosts = hosts;
View
@@ -7,4 +7,3 @@ exports.task = task.task;
exports.begin = task.begin;
exports.perform = task.perform;
exports.hosts = host.hosts;
-exports.host = host.host;
View
@@ -2,5 +2,6 @@
"description" : "Scripted asynchronous control of remote machines in parallel via ssh",
"version" : "0.1.5",
"author" : "Thomas Smith <node@thomassmith.com>",
- "main" : "./lib"
+ "main" : "./lib",
+ "engines" : { "node" : ">=0.1.99" }
}

0 comments on commit 3e67564

Please sign in to comment.