From bee424170cfd2633e4a7a4324bbd767ae2b8d0c3 Mon Sep 17 00:00:00 2001 From: Nicholas Penree Date: Mon, 29 May 2017 14:03:08 -0400 Subject: [PATCH] Bump version --- LICENSE | 2 +- README.md | 10 +++++----- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index 0ebc429..00801fa 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -copyright (c) 2012 Nicholas Penree +copyright (c) 2012-2017 Nicholas Penree Original work: copyright (c) 2012 Jamplify Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/README.md b/README.md index 0567ee1..522b44a 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -61,11 +61,11 @@ Click.findOrCreate({ip: '127.0.0.2'}).then(function (result) { }) ``` -## License +## License (The MIT License) -Copyright (c) 2012 Nicholas Penree <nick@penree.com> +Copyright (c) 2012-2017 Nicholas Penree <nick@penree.com> Based on [supergoose](https://github.com/jamplify/supergoose): Copyright (c) 2012 Jamplify diff --git a/package.json b/package.json index 086f08f..ba60591 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose-findorcreate" , "description": "Mongoose plugin that adds findOrCreate" - , "version": "1.0.1" + , "version": "2.0.0" , "author": "Nicholas Penree " , "keywords": ["mongodb", "mongoose", "plugin", "findOrCreate"] , "repository": {