Skip to content

Commit

Permalink
Updating README, version bump for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Jun 17, 2015
1 parent 41d328b commit 34b7873
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Unprotected routes are routes that do not require authorization for access, and
Tensō decorates `req` with "helpers" such as `req.ip`, & `req.parsed`. `PATCH`, `PUT`, & `POST` payloads are available as `req.body`. Sessions are available as `req.session` when using `local` authentication.

## Responses
Responses will have a standard shape, and will be utf-8 by default. The result, and hypermedia will be in `data`. Hypermedia (pagination, links, etc.) will be in `links:[ {"uri": "...", "rel": "..."}, ...]`, & pagination will also be present via the `Link` HTTP header.
Responses will have a standard shape, and will be utf-8 by default. The result will be in `data`. Hypermedia (pagination, links, etc.) will be in `links:[ {"uri": "...", "rel": "..."}, ...]`, & pagination will also be present via the `Link` HTTP header.

```json
{
Expand Down
2 changes: 1 addition & 1 deletion doc/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,7 @@ <h5>Returns:</h5>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2015-06-15T18:25:51-04:00 using the <a
on 2015-06-17T07:07:45-04:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h4>Unprotected Routes</h4>
<h3>Request Helpers</h3>
<p>Tensō decorates <code>req</code> with &quot;helpers&quot; such as <code>req.ip</code>, &amp; <code>req.parsed</code>. <code>PATCH</code>, <code>PUT</code>, &amp; <code>POST</code> payloads are available as <code>req.body</code>. Sessions are available as <code>req.session</code> when using <code>local</code> authentication.</p>
<h2>Responses</h2>
<p>Responses will have a standard shape, and will be utf-8 by default. The result, and hypermedia will be in <code>data</code>. Hypermedia (pagination, links, etc.) will be in <code>links:[ {&quot;uri&quot;: &quot;...&quot;, &quot;rel&quot;: &quot;...&quot;}, ...]</code>, &amp; pagination will also be present via the <code>Link</code> HTTP header.</p>
<p>Responses will have a standard shape, and will be utf-8 by default. The result will be in <code>data</code>. Hypermedia (pagination, links, etc.) will be in <code>links:[ {&quot;uri&quot;: &quot;...&quot;, &quot;rel&quot;: &quot;...&quot;}, ...]</code>, &amp; pagination will also be present via the <code>Link</code> HTTP header.</p>
<pre><code class="lang-json">{
&quot;data&quot;: &quot;`null` or ?&quot;,
&quot;error&quot;: &quot;`null` or an `Error` stack trace / message&quot;,
Expand Down Expand Up @@ -402,7 +402,7 @@ <h2>License</h2>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2015-06-15T18:25:51-04:00 using the <a
on 2015-06-17T07:07:45-04:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/module-tenso.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>
<dt class="tag-version">Version:</dt>
<dd class="tag-version">
<ul class="dummy">
<li>2.0.0</li>
<li>2.0.1</li>
</ul>
</dd>

Expand Down Expand Up @@ -352,7 +352,7 @@ <h5>Type:</h5>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2015-06-15T18:25:51-04:00 using the <a
on 2015-06-17T07:07:45-04:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/modules.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h2>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a>
on 2015-06-15T18:25:51-04:00 using the <a
on 2015-06-17T07:07:45-04:00 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
6 changes: 3 additions & 3 deletions lib/tenso.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
* @license BSD-3-Clause
* @link http://avoidwork.github.io/tenso
* @module tenso
* @version 2.0.0
* @version 2.0.1
*/
"use strict";

const CONFIG = require(__dirname + "/../config.json");
const VERSION = "2.0.0";
const VERSION = "2.0.1";
const SERVER = "tenso/" + VERSION;

let keigai = require("keigai"),
Expand Down Expand Up @@ -113,7 +113,7 @@ let renderers = {
}).join("\n"))
.replace("{{body}}", JSON.stringify(arg, null, 2))
.replace("{{year}}", new Date().getFullYear())
.replace("{{version}}", "2.0.0")
.replace("{{version}}", "2.0.1")
.replace("{{allow}}", headers.allow)
.replace("{{methods}}", string.explode(headers.allow.replace("GET, HEAD, OPTIONS", "")).filter(function (i) {
return i !== "";
Expand Down
6 changes: 3 additions & 3 deletions lib/tenso.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license BSD-3-Clause
* @link http://avoidwork.github.io/tenso
* @module tenso
* @version 2.0.0
* @version 2.0.1
*/
"use strict";

Expand All @@ -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.0";
var VERSION = "2.0.1";
var SERVER = "tenso/" + VERSION;

var keigai = require("keigai"),
Expand Down Expand Up @@ -110,7 +110,7 @@ var renderers = {
return "<tr><td>" + i + "</td><td>" + sanitize(headers[i]) + "</td></tr>";
}).join("\n")).replace("{{formats}}", req.server.config.renderers.map(function (i) {
return "<option value='" + i + "'>" + i.toUpperCase() + "</option>";
}).join("\n")).replace("{{body}}", JSON.stringify(arg, null, 2)).replace("{{year}}", new Date().getFullYear()).replace("{{version}}", "2.0.0").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.1").replace("{{allow}}", headers.allow).replace("{{methods}}", string.explode(headers.allow.replace("GET, HEAD, OPTIONS", "")).filter(function (i) {
return i !== "";
}).map(function (i) {
return "<option value='" + i + "'>" + i + "</option>";
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 facade for node.js, designed to simplify the implementation of APIs.",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "http://avoidwork.github.io/tenso",
"author": {
"name": "Jason Mulligan",
Expand Down

0 comments on commit 34b7873

Please sign in to comment.