Based on => https://github.com/bitzesty/doorkeeper/compare/petergoldstein:feature/mongoid_3_0_x_support...bitzesty:bitzesty
dangerous skip_authorization method
Response token status should be `:ok`, not `:success`
Merge pull request #157 from theycallmeswift/master

Response token status should be `:ok`, not `:success`
skip authorization as a block
Introduce pre authorization - WIP

PreAuthorization class is responsible for validating all parameters.
It can be used to display the authorization message, create the
grant/token or deny the request.

It returns a response which is redirectable or renderable. Since
OAuth spec requires that some error responses have to be returned
to the client in the redirect URI, this logic gets complicated

Still a bunch of duplicated code has to be removed.

Ideally:

- CodeRequest, TokenRequest
  - success: returns CodeResponse. Is always redirectable and can
    redirect either to test url or client's redirect uri
  - error: returns ErrorResponse. Needs to be splitted into
    CodeErrorResponse and TokenErrorResponse, since token errors
    are never redirectable whilst code don't
Debug with pry
Error depends on pre authorization instead of request
Skip authorization if client still have a valid access token
Reminder to move skip authorization to configuration
Merge branch 'pre-auth'
Split mongoid orm versions in separated folders.

Yes, there is duplication, but it's not as complex as a if in the
middle of the class definition

Also, now we're testing against mongoid 2
Load proper mongoid config

Mongoid 2 wasn't creating indexes by default.
Update README/initializer with new mongoid settings
Update README with development tips
Merge branch 'orm-versions'
Update CHANGELOG
Bump version
Remove ActionView::Base.field_error_proc override (fixes #145)
Display form errors using helper method.