Skip to content

Commit bee4241

Browse files
committed
Bump version
1 parent 8258229 commit bee4241

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
copyright (c) 2012 Nicholas Penree <nick@penree.com>
1+
copyright (c) 2012-2017 Nicholas Penree <nick@penree.com>
22
Original work: copyright (c) 2012 Jamplify
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Mongoose findOrCreate Plugin [![Build Status](https://secure.travis-ci.org/drudge/mongoose-findorcreate.png?branch=master)](https://travis-ci.org/drudge/mongoose-findorcreate)
22
============================
33

4-
Simple plugin for [Mongoose](https://github.com/LearnBoost/mongoose) which adds
5-
a findOrCreate method to models. This is useful for libraries like
4+
Simple plugin for [Mongoose](https://github.com/LearnBoost/mongoose) which adds
5+
a findOrCreate method to models. This is useful for libraries like
66
[Passport](http://passportjs.org) which require it.
77

88
## Installation
@@ -31,7 +31,7 @@ Click.findOrCreate({ip: '127.0.0.1'}, function(err, click, created) {
3131
});
3232
```
3333

34-
You can also include properties that aren't used in the
34+
You can also include properties that aren't used in the
3535
find call, but will be added to the object if it is created.
3636

3737
```javascript
@@ -61,11 +61,11 @@ Click.findOrCreate({ip: '127.0.0.2'}).then(function (result) {
6161
})
6262
```
6363

64-
## License
64+
## License
6565

6666
(The MIT License)
6767

68-
Copyright (c) 2012 Nicholas Penree &lt;nick@penree.com&gt;
68+
Copyright (c) 2012-2017 Nicholas Penree &lt;nick@penree.com&gt;
6969

7070
Based on [supergoose](https://github.com/jamplify/supergoose): Copyright (c) 2012 Jamplify
7171

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mongoose-findorcreate"
33
, "description": "Mongoose plugin that adds findOrCreate"
4-
, "version": "1.0.1"
4+
, "version": "2.0.0"
55
, "author": "Nicholas Penree <nick@penree.com>"
66
, "keywords": ["mongodb", "mongoose", "plugin", "findOrCreate"]
77
, "repository": {

0 commit comments

Comments
 (0)