Skip to content

Commit 628ed07

Browse files
author
waleed samy
committed
add .travis.yml
1 parent 90a5b46 commit 628ed07

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: node_js
2+
node_js:
3+
- "0.10"
4+
- "0.12"
5+
- "4.0"
6+
services:
7+
- redis-server
8+
install:
9+
- npm install
10+
script:
11+
- make test

Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Rate limiter for Node.js backed by Redis.
44

5+
[![Build Status](https://travis-ci.org/tj/node-ratelimiter.svg)](https://travis-ci.org/tj/node-ratelimiter)
6+
57
## Release Notes
68
[v2.1.1](https://github.com/tj/node-ratelimiter/tree/v2.1.1) - [#13](/../../pull/13) by [@kwizzn](https://github.com/kwizzn) - Fixes out-of-sync TTLs after running decr()
79

@@ -49,7 +51,7 @@ limit.get(function(err, limit){
4951

5052
## Result Object
5153
- `total` - `max` value
52-
- `remaining` - number of calls left in current `duration` without decreasing current `get`
54+
- `remaining` - number of calls left in current `duration` without decreasing current `get`
5355
- `reset` - time in milliseconds until the end of current `duration`
5456

5557
## Options

0 commit comments

Comments
 (0)