Skip to content

Commit 94d0f54

Browse files
committed
fixed docs and travis
On branch master modified: .travis.yml modified: LICENSE modified: Readme.md modified: lib/syllabus.js modified: package.json
1 parent fe5e5f4 commit 94d0f54

File tree

5 files changed

+44
-42
lines changed

5 files changed

+44
-42
lines changed

.travis.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "0.11"
4+
- "9"
5+
- "8"
6+
- "7"
7+
- "6"
8+
- "5"
9+
- "4"
10+
- "2"
11+
- "1"
12+
- "0.12"
513
- "0.10"
614
before_script:
715
- npm install -g istanbul
816
- npm install -g codeclimate-test-reporter
917
script: istanbul cover -v test/run.js
1018
after_script:
11-
- codeclimate < coverage/lcov.info
12-
addons:
13-
code_climate:
14-
repo_token: 1ac34200abf15952bc81e3b93f1482339a312ae8ee1d0f3b64b41d79e5d8993b
15-
matrix:
16-
allow_failures:
17-
- node_js: "0.11"
19+
- codeclimate-test-reporter < coverage/lcov.info
20+
env:
21+
- CODECLIMATE_REPO_TOKEN=1ac34200abf15952bc81e3b93f1482339a312ae8ee1d0f3b64b41d79e5d8993b

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015 < Guglielmo Ferri : 44gatti@gmail.com >
1+
Copyright (c) 2015-present < Guglielmo Ferri : 44gatti@gmail.com >
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of
44
this software and associated documentation files (the 'Software'), to deal in the

Readme.md

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
###Σ Syllabus
1+
### Σ Syllabus
22

33
[![NPM VERSION](http://img.shields.io/npm/v/syllabus.svg?style=flat)](https://www.npmjs.org/package/syllabus)
44
[![CODACY BADGE](https://img.shields.io/codacy/b18ed7d95b0a4707a0ff7b88b30d3def.svg?style=flat)](https://www.codacy.com/public/44gatti/syllabus)
5-
[![CODECLIMATE](http://img.shields.io/codeclimate/github/rootslab/syllabus.svg?style=flat)](https://codeclimate.com/github/rootslab/syllabus)
65
[![CODECLIMATE-TEST-COVERAGE](https://img.shields.io/codeclimate/coverage/github/rootslab/syllabus.svg?style=flat)](https://codeclimate.com/github/rootslab/syllabus)
76
[![LICENSE](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/rootslab/syllabus#mit-license)
87

8+
![NODE VERSION](https://img.shields.io/node/v/syllabus.svg)
99
[![TRAVIS CI BUILD](http://img.shields.io/travis/rootslab/syllabus.svg?style=flat)](http://travis-ci.org/rootslab/syllabus)
1010
[![BUILD STATUS](http://img.shields.io/david/rootslab/syllabus.svg?style=flat)](https://david-dm.org/rootslab/syllabus)
1111
[![DEVDEPENDENCY STATUS](http://img.shields.io/david/dev/rootslab/syllabus.svg?style=flat)](https://david-dm.org/rootslab/syllabus#info=devDependencies)
12-
[![NPM DOWNLOADS](http://img.shields.io/npm/dm/syllabus.svg?style=flat)](http://npm-stat.com/charts.html?package=syllabus)
1312

14-
[![NPM GRAPH1](https://nodei.co/npm-dl/syllabus.png)](https://nodei.co/npm/syllabus/)
13+
[![NPM MONTHLY](http://img.shields.io/npm/dm/syllabus.svg?style=flat)](http://npm-stat.com/charts.html?package=syllabus)
14+
![NPM YEARLY](https://img.shields.io/npm/dy/syllabus.svg)
1515

16-
[![NPM GRAPH2](https://nodei.co/npm/syllabus.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/syllabus/)
16+
[![NPM GRAPH](https://nodei.co/npm/syllabus.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/syllabus/)
1717

18-
[![status](https://sourcegraph.com/api/repos/github.com/rootslab/syllabus/.badges/status.png)](https://sourcegraph.com/github.com/rootslab/syllabus)
19-
[![views](https://sourcegraph.com/api/repos/github.com/rootslab/syllabus/.counters/views.png)](https://sourcegraph.com/github.com/rootslab/syllabus)
20-
[![views 24h](https://sourcegraph.com/api/repos/github.com/rootslab/syllabus/.counters/views-24h.png)](https://sourcegraph.com/github.com/rootslab/syllabus)
2118

2219
> **_Σ Syllabus_**, a collection of helpers mix-ins to encode __Redis__ commands and to decode __Redis__ replies, builded upon __[Sermone](https://github.com/rootslab/sermone)__. Moreover, Syllabus mantains a __cache__ for __LUA__ scripts, using the __[Camphora](https://github.com/rootslab/camphora)__ module. See __Syllabus.lua__ property.
2320
@@ -29,7 +26,7 @@
2926
3027
> Now __[176](#syllabus-commands)__ Redis commands mix-ins are implemented.
3128
32-
###Table of Contents
29+
### Table of Contents
3330

3431
- __[Install](#install)__
3532
- __[Run Tests](#run-tests)__
@@ -54,7 +51,7 @@
5451

5552
-----------------------------------------------------------------------
5653

57-
###Install
54+
### Install
5855

5956
```bash
6057
$ npm install syllabus [-g]
@@ -67,21 +64,21 @@ $ git clone git@github.com:rootslab/syllabus.git
6764
var Syllabus = require( 'syllabus' );
6865
```
6966

70-
###Run Tests
67+
### Run Tests
7168

7269
```bash
7370
$ cd syllabus/
7471
$ npm test
7572
```
7673

77-
###Run Benchmarks
74+
### Run Benchmarks
7875

7976
```bash
8077
$ cd syllabus/
8178
$ npm run-script bench
8279
```
8380

84-
###Constructor
81+
### Constructor
8582

8683
> Create an instance.
8784
> __Optionally__ it is possible to:
@@ -94,7 +91,7 @@ $ npm run-script bench
9491
var s = Syllabus( [ Boolean develop | String semver ] )
9592
```
9693

97-
###Sample Usage
94+
### Sample Usage
9895

9996
> Create a normal syllabus, then some syllabus in development mode.
10097
@@ -116,7 +113,7 @@ log( ancient.size() );
116113
```
117114
> See [examples](example/).
118115
119-
###Properties, Methods
116+
### Properties, Methods
120117

121118
> Arguments within [ ] are optional.
122119
@@ -375,7 +372,7 @@ _[Back to ToC](#table-of-contents)_
375372
376373
----------------------------------------------------------------------
377374
378-
###Syllabus Commands
375+
### Syllabus Commands
379376
380377
__Types:__
381378
- [Keys](#keys) : _23 commands_.
@@ -448,7 +445,7 @@ _[Back to ToC](#table-of-contents)_
448445
449446
----------------------------------------------------------------------
450447
451-
####KEYS
448+
#### KEYS
452449
453450
> _Redis [Keys](http://redis.io/commands#generic), 23 commands + 1 empty parent command_.
454451
@@ -562,7 +559,7 @@ _[Back to ToC](#table-of-contents)_
562559

563560
----------------------------------------------------------------------
564561

565-
####STRINGS
562+
#### STRINGS
566563

567564
> _Redis [Strings](http://redis.io/commands#string), 26 commands + 1 empty parent command_.
568565

@@ -669,7 +666,7 @@ _[Back to ToC](#table-of-contents)_
669666

670667
----------------------------------------------------------------------
671668

672-
####HASHES
669+
#### HASHES
673670

674671
> _Redis [Hashes](http://redis.io/commands#hash), 14 commands_.
675672

@@ -755,7 +752,7 @@ _[Back to ToC](#table-of-contents)_
755752

756753
----------------------------------------------------------------------
757754

758-
####LISTS
755+
#### LISTS
759756

760757
> _Redis [Lists](http://redis.io/commands#list), 17 commands_.
761758

@@ -802,7 +799,7 @@ _[Back to ToC](#table-of-contents)_
802799

803800
----------------------------------------------------------------------
804801

805-
####SETS
802+
#### SETS
806803

807804
> _Redis [Sets](http://redis.io/commands#set), 15 commands_.
808805

@@ -858,7 +855,7 @@ _[Back to ToC](#table-of-contents)_
858855

859856
----------------------------------------------------------------------
860857

861-
####SORTED SETS
858+
#### SORTED SETS
862859

863860
> _Redis [Sorted Sets](http://redis.io/commands#sorted_set), 20 commands_.
864861

@@ -965,7 +962,7 @@ _[Back to ToC](#table-of-contents)_
965962

966963
----------------------------------------------------------------------
967964

968-
####HYPERLOGLOG
965+
#### HYPERLOGLOG
969966

970967
> _Redis [HyperLogLog](http://redis.io/commands#hyperloglog), 4 commands_.
971968

@@ -986,7 +983,7 @@ _[Back to ToC](#table-of-contents)_
986983

987984
----------------------------------------------------------------------
988985

989-
####PUBSUB
986+
#### PUBSUB
990987

991988
> _Redis [PubSub](http://redis.io/commands#pubsub), 8 commands + 1 empty parent command_.
992989

@@ -1020,7 +1017,7 @@ _[Back to ToC](#table-of-contents)_
10201017

10211018
----------------------------------------------------------------------
10221019

1023-
####TRANSACTIONS
1020+
#### TRANSACTIONS
10241021

10251022
> _Redis [Transactions](http://redis.io/commands#transactions), 5 commands_.
10261023

@@ -1043,7 +1040,7 @@ _[Back to ToC](#table-of-contents)_
10431040

10441041
----------------------------------------------------------------------
10451042

1046-
####SCRIPTING
1043+
#### SCRIPTING
10471044

10481045
> _Redis [Scripting](http://redis.io/commands#scripting), 6 commands + 1 empty parent command_.
10491046

@@ -1085,7 +1082,7 @@ _[Back to ToC](#table-of-contents)_
10851082
10861083
----------------------------------------------------------------------
10871084
1088-
####CONNECTION
1085+
#### CONNECTION
10891086
10901087
> _Redis [Connection](http://redis.io/commands#connection), 5 commands_.
10911088
@@ -1112,7 +1109,7 @@ _[Back to ToC](#table-of-contents)_
11121109

11131110
----------------------------------------------------------------------
11141111

1115-
####SERVER
1112+
#### SERVER
11161113

11171114
> _Redis [Server](http://redis.io/commands#server), 33 commands + 6 empty parent commands_.
11181115

@@ -1265,7 +1262,7 @@ _[Back to ToC](#table-of-contents)_
12651262

12661263
### MIT License
12671264

1268-
> Copyright (c) 2015 &lt; Guglielmo Ferri : 44gatti@gmail.com &gt;
1265+
> Copyright (c) 2015-present &lt; Guglielmo Ferri : 44gatti@gmail.com &gt;
12691266

12701267
> Permission is hereby granted, free of charge, to any person obtaining
12711268
> a copy of this software and associated documentation files (the

lib/syllabus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Σ Syllabus, a collection of helpers mix-ins to encode Redis
3-
* commands and to decode Redis repliesbuilded upon Sermone.
3+
* commands and to decode Redis replies builded upon Sermone.
44
*
5-
* Copyright(c) 2015 Guglielmo Ferri <44gatti@gmail.com>
5+
* Copyright(c) 2015-present Guglielmo Ferri <44gatti@gmail.com>
66
* MIT Licensed
77
*/
88

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "syllabus"
3-
, "version": "0.36.1"
3+
, "version": "0.36.2"
44
, "description": "Σ Syllabus, a collection of helpers mix-ins to encode Redis commands and to decode Redis replies, builded upon Sermone."
55
, "homepage": "https://github.com/rootslab/syllabus"
66
, "private": false
@@ -12,6 +12,7 @@
1212
"syllabus"
1313
, "Σ"
1414
, "RESP"
15+
, "redis"
1516
, "redis commands"
1617
, "redis protocol encoder"
1718
, "redis reply formatter"
@@ -26,7 +27,7 @@
2627
}
2728
, "dependencies": {
2829
"abaco": "=1.10.2"
29-
, "bolgia" : ">=2.7.4"
30+
, "bolgia" : ">=2.8.0"
3031
, "camphora" : "=0.15.8"
3132
, "hoar" : "=0.8.2"
3233
, "sermone" : "=1.8.1"

0 commit comments

Comments
 (0)