Skip to content

Commit b47e327

Browse files
author
Felipe Santos
committed
Fix wrong node version
1 parent 78d3ed4 commit b47e327

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
coverage
33
.nyc_output
4-
yarn-error.log
4+
yarn-error.log
5+
npm-debug.log

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: node_js
22
node_js:
33
- "8"
4-
- "6"
54
env:
65
- MONGOOSE_VERSION=5
76
services: mongodb

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Mongoose Fields Filter
22

3+
[![Build Status](https://travis-ci.org/felipe-augusto/mongoose-fields-filter.png?branch=master)](https://travis-ci.org/felipe-augusto/mongoose-fields-filter)
4+
[![Coverage Status](https://coveralls.io/repos/github/felipe-augusto/mongoose-fields-filter/badge.svg?branch=master)](https://coveralls.io/github/felipe-augusto/mongoose-fields-filter?branch=master)
5+
[![npm version](https://badge.fury.io/js/mongoose-fields-filter.svg)](https://badge.fury.io/js/mongoose-fields-filter)
6+
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/felipe-augusto/mongoose-fields-filter/master/LICENSE)
7+
8+
39
## About
410

511
Mongoose plugin that provides private paths and custom permissions filtering
@@ -54,7 +60,7 @@ const UserSchema = new mongoose.Schema({
5460

5561
Scope query by passing which `access` you want the query to have, and then make the query:
5662

57-
```
63+
```javascript
5864
const AccessBoundModel = UserModel.byAccess(['support', 'financial'])
5965
const user = AccessBoundModel.findOne({})
6066
// filtering works here
@@ -106,4 +112,4 @@ SomeSchema.plugin(schema, config);
106112
### LICENSE
107113

108114
The files in this archive are released under MIT license.
109-
You can find a copy of this license in [LICENSE]().
115+
You can find a copy of this license in [LICENSE](https://github.com/felipe-augusto/mongoose-fields-filter/raw/master/LICENSE).

0 commit comments

Comments
 (0)