Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
drudge committed May 29, 2017
1 parent 8258229 commit bee4241
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
copyright (c) 2012 Nicholas Penree <[email protected]>
copyright (c) 2012-2017 Nicholas Penree <[email protected]>
Original work: copyright (c) 2012 Jamplify

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Mongoose findOrCreate Plugin [![Build Status](https://secure.travis-ci.org/drudge/mongoose-findorcreate.png?branch=master)](https://travis-ci.org/drudge/mongoose-findorcreate)
============================

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

## Installation
Expand Down Expand Up @@ -31,7 +31,7 @@ Click.findOrCreate({ip: '127.0.0.1'}, function(err, click, created) {
});
```

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

```javascript
Expand Down Expand Up @@ -61,11 +61,11 @@ Click.findOrCreate({ip: '127.0.0.2'}).then(function (result) {
})
```

## License
## License

(The MIT License)

Copyright (c) 2012 Nicholas Penree &lt;[email protected]&gt;
Copyright (c) 2012-2017 Nicholas Penree &lt;[email protected]&gt;

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongoose-findorcreate"
, "description": "Mongoose plugin that adds findOrCreate"
, "version": "1.0.1"
, "version": "2.0.0"
, "author": "Nicholas Penree <[email protected]>"
, "keywords": ["mongodb", "mongoose", "plugin", "findOrCreate"]
, "repository": {
Expand Down

0 comments on commit bee4241

Please sign in to comment.