Fix indentation error.
Move all requires except for ActiveRecord into the root file.
Use SecureRandom where available.
Remove a file we shouldn't have committed.
Always install gems locally.
Use bundler to load dependencies in the example app.
Replace ResourceOwner#oauth2_authorizations.find_or_create_for_client with a call to Authorization.for_response_type since we don't want two code paths for getting an authorization for a client-owner pair.
Welp, making create() and new() private on Authorization. Duplicate records are showing up in our apps and we're not sure why. Just trying to lock down code that might be creating them. Use Authorization.for(owner, client) to get an instance.
Load bundler in schema.rb.
Don't bundle everything locally, it breaks the appraisals gem. #lolruby
Update generated gemfiles.
Add a unique index to prevent duplicate authorizations for each owner-client pair.
Add specs for handling of duplicate record errors.
With bundler, our lib is already on the load path.
Client names must be unique.
Adjust how example app environment is set up.
Migration to put unique indexes everywhere they should be, to match validates_uniqueness_of requirements.
Run tests on MySQL on Travis.
Add mysql dependency when running tests on MySQL.
Little indentation change.