diff --git a/README.md b/README.md index 754f05e..a5ad71b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Rocky 2.0.1 +# Rocky 2.0.2 [![Build Status](https://api.travis-ci.org/electricimp/Rocky.svg?branch=master)](https://travis-ci.org/electricimp/Rocky) @@ -44,7 +44,7 @@ Rocky is an framework for building powerful and scalable APIs for your imp-power Calling the Rocky constructor creates a new Rocky application. An optional *options* table can be passed into the constructor to override default behaviours: ```squirrel -#require "rocky.class.nut:2.0.1" +#require "rocky.class.nut:2.0.2" app <- Rocky() ``` diff --git a/Rocky.class.nut b/Rocky.class.nut index b31d03d..4ac5899 100644 --- a/Rocky.class.nut +++ b/Rocky.class.nut @@ -6,7 +6,7 @@ const ROCKY_PARSE_ERROR = "Error parsing body of request"; class Rocky { - static VERSION = "2.0.1"; + static VERSION = "2.0.2"; // Route handlers, event handers, and middleware _handlers = null; @@ -368,7 +368,7 @@ class Rocky { } function _defaultTimeoutHandler(context) { - context.send(500, format("Agent Request Timedout after %i seconds.", _timeout)); + context.send(500, format("Agent Request timed out after %i seconds.", _timeout)); } function _defaultExceptionHandler(context, ex) {