diff --git a/.travis.yml b/.travis.yml index 85d5b05..cd3a516 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,7 @@ node_js: - 'iojs-1' - '0.12' - '0.11' -script: "npm run test-travis" -after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" +script: + - 'npm run test-cov' +after_script: + - 'npm i codecov.io && cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js' diff --git a/AUTHORS b/AUTHORS index 5e17c6d..2f3cf75 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,3 @@ fengmk2 (https://fengmk2.com) +Haoliang Gao (https://github.com/popomore) +闲耘™ (https://github.com/hotoo) diff --git a/History.md b/History.md index f7a4ab7..94f19a3 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,17 @@ +1.2.0 / 2015-08-31 +================== + + * refact(endsWith): endsWith is fast than regexp + * revert slice arguments to args + +1.1.0 / 2015-08-31 +================== + + * feat: paramter support object + * refact: arguments to array. + * optimize use regexp without caught group + 1.0.2 / 2015-05-17 ================== diff --git a/README.md b/README.md index 6ad0b2b..5099936 100644 --- a/README.md +++ b/README.md @@ -3,27 +3,18 @@ koa-locales [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] -[![Test coverage][coveralls-image]][coveralls-url] -[![Gittip][gittip-image]][gittip-url] +[![Test coverage][cov-image]][cov-url] [![David deps][david-image]][david-url] -[![iojs version][iojs-image]][iojs-url] -[![node version][node-image]][node-url] [![npm download][download-image]][download-url] [npm-image]: https://img.shields.io/npm/v/koa-locales.svg?style=flat-square [npm-url]: https://npmjs.org/package/koa-locales [travis-image]: https://img.shields.io/travis/koajs/locales.svg?style=flat-square [travis-url]: https://travis-ci.org/koajs/locales -[coveralls-image]: https://img.shields.io/coveralls/koajs/locales.svg?style=flat-square -[coveralls-url]: https://coveralls.io/r/koajs/locales?branch=master -[gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square -[gittip-url]: https://www.gittip.com/fengmk2/ +[cov-image]: https://codecov.io/github/koajs/locales/coverage.svg?branch=master +[cov-url]: https://codecov.io/github/koajs/locales?branch=master [david-image]: https://img.shields.io/david/koajs/locales.svg?style=flat-square [david-url]: https://david-dm.org/koajs/locales -[iojs-image]: https://img.shields.io/badge/io.js-%3E=_1.0-yellow.svg?style=flat-square -[iojs-url]: http://iojs.org/ -[node-image]: https://img.shields.io/badge/node.js-%3E=_0.12-green.svg?style=flat-square -[node-url]: http://nodejs.org/download/ [download-image]: https://img.shields.io/npm/dm/koa-locales.svg?style=flat-square [download-url]: https://npmjs.org/package/koa-locales diff --git a/package.json b/package.json index 8c409a6..7059a81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "koa-locales", - "version": "1.0.2", + "version": "1.2.0", "description": "koa locales, i18n solution for koa", "main": "index.js", "files": [ @@ -9,7 +9,6 @@ "scripts": { "test": "mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js", "test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js", - "test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js", "jshint": "jshint .", "autod": "autod -w --prefix '~'", "cnpm": "npm install --registry=https://registry.npm.taobao.org", @@ -51,8 +50,7 @@ "koa" ], "engines": { - "node": ">=0.12.0", - "iojs": ">=1.0.0" + "node": ">=0.12.0" }, "author": "fengmk2 (http://fengmk2.com)", "license": "MIT"