Skip to content

Commit

Permalink
Merge 7c69ee9 into 3b0335f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Aug 31, 2016
2 parents 3b0335f + 7c69ee9 commit 29f6a45
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
@@ -1,7 +1,8 @@
node_js:
- 0.12
- 4
- 5
sudo: false
language: node_js
script: "npm run test-travis"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
node_js:
- '0.12'
- '4'
- '6'
script: 'npm run test-travis'
after_script: 'npm install coveralls@2 && cat ./coverage/lcov.info | coveralls'
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -109,7 +109,7 @@ module.exports = function(opts, app){
throw new Error('this.session can only be set as null or an object.');
});

return function* (next){
return function* session(next){
// make sessionOptions independent in each request
initSessionOptions(this, opts);
try {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -13,16 +13,16 @@
"index.js"
],
"devDependencies": {
"istanbul-harmony": "0",
"koa": "1.1.2",
"istanbul": "0",
"koa": "1",
"mocha": "2",
"should": "8.0.2",
"supertest": "1"
"should": "8",
"supertest": "2"
},
"license": "MIT",
"dependencies": {
"debug": "~2.2.0",
"deep-equal": "~1.0.0"
"debug": "^2.2.0",
"deep-equal": "^1.0.0"
},
"scripts": {
"test": "NODE_ENV=test mocha --harmony --require should --reporter spec",
Expand Down

0 comments on commit 29f6a45

Please sign in to comment.