Skip to content

Commit

Permalink
npm version? bug in npm?
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Aug 1, 2016
1 parent 002ad4b commit 08988b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/renderers.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ renderers.set("text/html", function (arg, req, headers, tpl) {
return i.indexOf("html") === -1;
}).map(function (i) {
return "<option value='" + i + "'>" + i.replace(/^.*\//, "").toUpperCase() + "</option>";
}).join("\n")).replace("{{body}}", JSON.stringify(arg, null, 2)).replace("{{year}}", new Date().getFullYear()).replace("{{version}}", "3.3.13").replace("{{allow}}", headers.allow).replace("{{methods}}", utility.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}}", "3.3.14").replace("{{allow}}", headers.allow).replace("{{methods}}", utility.explode(headers.allow.replace("GET, HEAD, OPTIONS", "")).filter(function (i) {
return i !== "";
}).map(function (i) {
return "<option value='" + i + "'>" + i + "</option>";
Expand Down
4 changes: 2 additions & 2 deletions lib/tenso.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var Tenso = function () {

_classCallCheck(this, Tenso);

config.headers.server = "tenso/3.3.13";
config.headers.server = "tenso/3.3.14";
this.coap = null;
this.hostname = "";
this.rates = {};
Expand All @@ -33,7 +33,7 @@ var Tenso = function () {
});
this.server.tenso = this;
this.websocket = null;
this.version = "3.3.13";
this.version = "3.3.14";
}

_createClass(Tenso, [{
Expand Down
2 changes: 1 addition & 1 deletion lib/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function bootstrap(obj, config) {
config.headers = {};
}

config.headers.server = "tenso/3.3.13";
config.headers.server = "tenso/3.3.14";

// Starting WebSocket server
if (config.websocket.enabled && uws) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tenso",
"description": "Tensō is a REST API gateway for node.js, designed to simplify the implementation of APIs.",
"version": "3.3.13",
"version": "3.3.14",
"homepage": "http://avoidwork.github.io/tenso",
"author": "Jason Mulligan <[email protected]>",
"repository": {
Expand Down

0 comments on commit 08988b6

Please sign in to comment.