Change authors and email to Felipe Elias and myself
applications.scopes upgrade notice and rake task
Releasing version 2.0.0.rc2

[ci skip]
Revert "applications.scopes upgrade notice and rake task"

Need a different check for different ORMs.

This reverts commit 8dfc57b72591dac4a6706e04b47a8244fa8f76d6.
applications.scopes upgrade notice and rake task
Merge pull request #517 from doorkeeper-gem/warning

applications.scopes upgrade notice and rake task
CHANGELOG update
use .take to avoid perform an order by on the table
(.limit(1).to_a.first as not implemented before rails 4.0)
update changelog
Merge pull request #484 from ifeelgoods/better_first

Performance improvement - avoid performing an order_by when not required
Fixes flappy tests on mongodb
Merge pull request #518 from doorkeeper-gem/tests

Fixes flappy tests on mongodb
Add 'protect_from_forgery` to turn on Rail's built-in protection.

Since the Doorkeeper controllers inherit from Doorkeeper::Application (which inherits directly from ActionController::Base) and not ApplicationController, they never call `protect_from_forgery`, which means that non-GET methods don’t validate CSRF tokens. Thus, it’s possible for an attacker to host a form on an arbitrary URL, and if a users is logged into a site that uses Doorkeeper visits the URL, the attacker can grant access to a application on that site.