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 "" + i + "" + sanitize(headers[i]) + ""; }).join("\n")).replace("{{formats}}", req.server.config.renderers.map(function (i) { return ""; - }).join("\n")).replace("{{body}}", JSON.stringify(arg, null, 2)).replace("{{year}}", new Date().getFullYear()).replace("{{version}}", "2.0.6").replace("{{allow}}", headers.allow).replace("{{methods}}", string.explode(headers.allow.replace("GET, HEAD, OPTIONS", "")).filter(function (i) { + }).join("\n")).replace("{{body}}", JSON.stringify(arg, null, 2)).replace("{{year}}", new Date().getFullYear()).replace("{{version}}", "2.0.7").replace("{{allow}}", headers.allow).replace("{{methods}}", string.explode(headers.allow.replace("GET, HEAD, OPTIONS", "")).filter(function (i) { return i !== ""; }).map(function (i) { return ""; diff --git a/package.json b/package.json index bfe30338..b401c526 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tenso", "description": "Tensō is a REST API facade for node.js, designed to simplify the implementation of APIs.", - "version": "2.0.6", + "version": "2.0.7", "homepage": "http://avoidwork.github.io/tenso", "author": { "name": "Jason Mulligan", @@ -26,7 +26,7 @@ "connect-redis": "~2.2.0", "cookie-parser": "~1.3.4", "express-session": "~1.10.3", - "keigai": "~1.3.17", + "keigai": "~1.3.19", "lusca": "~1.0.2", "passport": "~0.2.1", "passport-facebook": "~1.0.3", @@ -38,9 +38,9 @@ "passport-oauth2": "~1.1.2", "passport-saml": "~0.9.1", "passport-twitter": "~1.0.2", - "retsu": "^1.1.0", - "tiny-defer": "^1.0.2", - "turtle.io": "~4.1.3", + "retsu": "^2.0.0", + "tiny-defer": "^1.0.3", + "turtle.io": "~4.1.5", "yamljs": "^0.2.1" }, "devDependencies": {