From 9e04ecf71677222b7d8460ffffbcac9b30f51b45 Mon Sep 17 00:00:00 2001 From: Patrick Stadler Date: Fri, 9 Dec 2016 09:31:19 +0100 Subject: [PATCH] update docs, bump version --- README.md | 4 ++-- lib/index.js | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2d484e7..59a2be7 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ plan.target('production', [ ]); // run with `fly dynamic-hosts` -plan.target('dynamic-hosts', function(done) { +plan.target('dynamic-hosts', function(done, runtime) { var AWS = require('aws-sdk'); AWS.config.update({accessKeyId: '...', secretAccessKey: '...'}); var ec2 = new AWS.EC2(); @@ -268,7 +268,7 @@ multiple hosts. Passing an `Error` object will immediately abort the current flightplan. ```javascript -plan.target('dynamic-hosts', function(done) { +plan.target('dynamic-hosts', function(done, runtime) { var AWS = require('aws-sdk'); AWS.config.update({accessKeyId: '...', secretAccessKey: '...'}); var ec2 = new AWS.EC2(); diff --git a/lib/index.js b/lib/index.js index 1c21bb0..bf45aee 100644 --- a/lib/index.js +++ b/lib/index.js @@ -222,7 +222,7 @@ function Flightplan() { * flightplan. * * ```javascript - * plan.target('dynamic-hosts', function(done, options) { + * plan.target('dynamic-hosts', function(done, runtime) { * var AWS = require('aws-sdk'); * AWS.config.update({accessKeyId: '...', secretAccessKey: '...'}); * var ec2 = new AWS.EC2(); diff --git a/package.json b/package.json index d202a56..95a99b7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flightplan", "description": "Library for streamlining application deployment or systems administration tasks", - "version": "0.6.14", + "version": "0.6.15", "author": "Patrick Stadler ", "keywords": [ "deploy",