Skip to content

Commit

Permalink
Upgrading to v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mwawrusch committed Dec 1, 2012
1 parent 58455c5 commit 4f4b09e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -9,6 +9,9 @@ This is a work in progress, and some indexes need to be defined. You have been w

## Release Notes

### 0.2.3
destroy paranoid users too

### 0.2.2
added user.destroy

Expand All @@ -23,8 +26,8 @@ added user.destroy

* Change version in package.json
git add . -A
git commit -m "Upgrading to v0.2.2"
git tag -a v0.2.2 -m 'version 0.2.2'
git commit -m "Upgrading to v0.2.3"
git tag -a v0.2.3 -m 'version 0.2.3'
git push --tags
npm publish

Expand Down
26 changes: 26 additions & 0 deletions lib/methods/user-methods.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Martin Wawrusch <martin@wawrusch.com> (http://martinatsunset.com)",
"name": "mongoose-identity-store",
"description": "A bunch of mongoose schemas to implement identity management (users, accesstokens, oauth apps)",
"version": "0.2.2",
"version": "0.2.3",
"main" : "lib/index.js",
"repository": {
"type": "git",
Expand Down
2 changes: 0 additions & 2 deletions src/methods/user-methods.coffee
Expand Up @@ -99,8 +99,6 @@ module.exports = class UserMethods
return cb err if err
return cb new errors.NotFound("/users/#{usernameOrId}") unless item

return cb null if item.isDeleted

item.remove (err) =>
return cb err if err
cb null, item
Expand Down

0 comments on commit 4f4b09e

Please sign in to comment.