Permalink
Browse files

support more version

  • Loading branch information...
1 parent 9192281 commit fb72478338977e2c2a1c12a34bff975ee3bfd8a8 @fengmk2 fengmk2 committed Sep 22, 2012
Showing with 11 additions and 6 deletions.
  1. +2 −1 .travis.yml
  2. +3 −2 Makefile
  3. +5 −2 README.md
  4. +1 −1 lib/urlrouter.js
View
@@ -1,4 +1,5 @@
language: node_js
node_js:
- 0.6
- - 0.8
+ - 0.8
+ - 0.9
View
@@ -1,9 +1,10 @@
TESTS = test/*.js
TESTTIMEOUT = 1000
REPORTER = progress
-SUPPORT_VERSIONS := 1.9.0 1.8.0 1.8.5 1.8.6 1.8.7 \
+SUPPORT_VERSIONS := 1.9.2 1.9.1 1.9.0 1.8.0 1.8.5 1.8.6 1.8.7 \
2.2.0 2.2.1 2.2.2 \
- 2.3.0 2.3.1 2.3.2 2.3.3
+ 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 \
+ 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6
test:
@NODE_ENV=test ./node_modules/.bin/mocha -R $(REPORTER) --timeout $(TESTTIMEOUT) $(TESTS)
View
@@ -12,8 +12,11 @@ Support `connect` @1.8.x and @2.2.0+ .
## Test connect version
-* 1.8.0+: 1.8.0 1.8.5 1.8.6 1.8.7 **1.9.0**
-* 2.2.0+: 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 **2.3.3**
+* 1.8.0+: 1.8.0 1.8.5 1.8.6 1.8.7
+* 1.9.0+
+* 2.2.0+
+* 2.3.0+
+* 2.4.0+
```bash
$ make test-version
View
@@ -107,7 +107,7 @@ function router(fn, options) {
} else {
return fn(req, res, next);
}
- }
+ };
return routeMiddleware();
}
}

0 comments on commit fb72478

Please sign in to comment.