Skip to content

Commit

Permalink
package.json version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cavage committed May 16, 2011
1 parent e3d5056 commit 45304bc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
node_modules
docs/*.3*
8 changes: 6 additions & 2 deletions Makefile
Expand Up @@ -13,11 +13,15 @@ GLINT_ARGS = --nojsdoc -x lib/sprintf.js -e node_modules -r .

NODEUNIT = nodeunit

.PHONY: check test clean all
.PHONY: check test clean all doc

all:: check test
all:: check test doc

doc:
(cd docs && ls *.md | xargs ronn)

clean:
rm -fr docs/*.3*

check:: lint glint

Expand Down
2 changes: 1 addition & 1 deletion lib/restify.js
Expand Up @@ -171,7 +171,7 @@ function _parseRequest(request, response, next) {
message: 'Date header is too old'
}));
}
} catch(e) {
} catch (e) {
return response.sendError(newError({
httpCode: HttpCodes.BadRequest,
restCode: RestCodes.InvalidArgument,
Expand Down
8 changes: 6 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "restify",
"description": "REST framework specifically meant for web service APIs",
"version": "0.1.6",
"version": "0.1.7",
"repository": {
"type": "git",
"url": "git://github.com/mcavage/node-resty.git"
Expand All @@ -12,7 +12,11 @@
"node-uuid": ">=1.1.0"
},
"scripts": {
"test": "nodeunit tst"
"test": "./node_modules/nodeunit/bin/nodeunit tst"
},
"man": {
"name": "restify",
"man": ["./docs/restify.3", "./docs/request.3", "./docs/response.3", "./docs/log.3"]
},
"devDependencies": {
"httpu": ">=0.0.1",
Expand Down

0 comments on commit 45304bc

Please sign in to comment.