Skip to content

Commit

Permalink
Updated to 0.9.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
bow-fujita committed Apr 8, 2016
1 parent 6f3ab23 commit 21a471c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ REQUIRED_MODULES :=


# Use _mocha instead of mocha for istanbul
# https://github.com/gotwarlost/istanbul/issues/44
# https://github.com/gotwarlost/istanbul/issues/44
MOCHA := $(shell which _mocha 2> /dev/null)
ifeq ($(MOCHA),)
MOCHA := $(NODE_MODULES_BIN)/_mocha
REQUIRED_MODULES += $(MOCHA)
endif

MOCHA_OPTIONS := --opts $(TEST_DIR)/mocha.opts $(TEST_DIR)/suites
MOCHA_OPTIONS := --opts $(TEST_DIR)/mocha.opts


ifneq ($(NO_COVERAGE),yes)
Expand Down Expand Up @@ -67,6 +67,8 @@ ifeq ($(NODE_DEBUG),)
NODE_DEBUG := $(NODE_MODULES_BIN)/node-debug
REQUIRED_MODULES += $(NODE_DEBUG)

MOCHA_OPTIONS += --timeout=300000

NODE_DEBUG_OPTIONS :=
ifneq ($(NODE_DEBUG_PORT),)
NODE_DEBUG_OPTIONS += --debug-port $(NODE_DEBUG_PORT)
Expand All @@ -81,6 +83,9 @@ endif # $(MAKECMDGOALS) == debug

endif

MOCHA_OPTIONS += $(TEST_DIR)/suites


$(REQUIRED_MODULES):
npm install

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ app.delete('/api/example/:id', example.remove);
+ **`url`: String [Default: `'/'`]**<br>
Virtual path prefix for the `controllers`.

+ **`index`: String [Default: `'index'`]**<br>
Controller's name which will be mapped directly onto `url`.

+ **`authorizer`: Function [Default: `undefined`]**<br>
Middleware for user authorization.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exprest4",
"version": "0.9.5",
"version": "0.9.6",
"description": "REST API framework for Express 4.x.",
"homepage": "https://github.com/bow-fujita/exprest4",
"repository": {
Expand Down

0 comments on commit 21a471c

Please sign in to comment.