diff --git a/.travis.yml b/.travis.yml index 923aae64..9cdf9778 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,12 @@ language: node_js node_js: - - "0.10" + - "4.2" + - "4.1" + - "4.0" + - "iojs" - "0.12" - - "iojs" \ No newline at end of file + - "0.10" + +branches: + only: + - master diff --git a/lib/tenso.es6.js b/lib/tenso.es6.js index 35be375f..bdea8de1 100644 --- a/lib/tenso.es6.js +++ b/lib/tenso.es6.js @@ -6,12 +6,12 @@ * @license BSD-3-Clause * @link http://avoidwork.github.io/tenso * @module tenso - * @version 2.0.6 + * @version 2.0.7 */ "use strict"; const CONFIG = require(__dirname + "/../config.json"); -const VERSION = "2.0.6"; +const VERSION = "2.0.7"; const SERVER = "tenso/" + VERSION; let keigai = require("keigai"), @@ -114,7 +114,7 @@ let renderers = { }).join("\n")) .replace("{{body}}", JSON.stringify(arg, null, 2)) .replace("{{year}}", new Date().getFullYear()) - .replace("{{version}}", "2.0.6") + .replace("{{version}}", "2.0.7") .replace("{{allow}}", headers.allow) .replace("{{methods}}", string.explode(headers.allow.replace("GET, HEAD, OPTIONS", "")).filter(function (i) { return i !== ""; diff --git a/lib/tenso.js b/lib/tenso.js index 0f3c974e..5a9fd9d2 100644 --- a/lib/tenso.js +++ b/lib/tenso.js @@ -6,7 +6,7 @@ * @license BSD-3-Clause * @link http://avoidwork.github.io/tenso * @module tenso - * @version 2.0.6 + * @version 2.0.7 */ "use strict"; @@ -15,7 +15,7 @@ var _createClass = (function () { function defineProperties(target, props) { for function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var CONFIG = require(__dirname + "/../config.json"); -var VERSION = "2.0.6"; +var VERSION = "2.0.7"; var SERVER = "tenso/" + VERSION; var keigai = require("keigai"), @@ -111,7 +111,7 @@ var renderers = { return "