Fix mock and stub deprecation warnings.
Fix mock and stub deprecation warnings.
Changed generation behavior on Application save

The callbacks that generate client uid and  secret for the Application
model will now check if one is already provided. If so, it will not
generate a new uid or secret.

In Rails 4, mass assignment security is done in the controller. Added
extra specs to ensure MAS.
Merge pull request #294 from ianunruh/master

Changed generation behavior on Application creation
Remove jQuery dependency [fixes #300]
Spec update
Fix example code in README.md

When `User.find` doesn't find any record,
it raises `ActiveRecord::RecordNotFound`.
Merge pull request #306 from tricknotes/fix-example-code-in-readme

Fix example code in README.md
Made client optional for password grant type

AccessToken now has an optional association with Application
Merge pull request #296 from ianunruh/master

Made client optional for password grant type
Remove application.js from layout

This causes errors in production mode as application.js does not exist.
Merge pull request #312 from szechyjs/patch-1

Remove application.js from layout
Update Revoke all to revoke tokens, not delete them.
Move method up.
Since the action is the same for all ORMs, move it up into the access_token class.
Merge pull request #313 from bryanrite/revoke_do_not_delete

Update Revoke all to revoke tokens, not delete them.
Resolve test warnings

Signed-off-by: Phill Sparks <phill@crowdlab.com>
Merge pull request #316 from crowdlab-uk/feature/rails4-test

Resolve test warnings for Rails 4
Fixed issue with invalid client credentials

If client credentials are provided during the Resource Owner Password
Grant flow, they will be validated. If invalid credentials are
provided, the invalid client error will be presented. If no client
credentials are provided, the flow will continue as usual.
Merge pull request #319 from ianunruh/master

Fixed issue with invalid client credentials in password grant
CHANGELOG update