GitHub PushEvent at 2014-11-21 15:27:58
Repository: simple_token_authentication
Actor: gonzalo-bulnes
Payload: {"shas":[["9d4f0f207efcf553c025bce6a0910cc34135f7fa","f857f13982031e9c99ee115ef1a867ebde967675@gmail.com","Add adapters dependencies registration\n\nAdd `adapters_dependencies` configuration option\nRefactor extract method `adapter_dependncy_fulfilled?`\n\nThe Rails::API dependencies can't be read from the adapter name\nas the MongoidAdapter, ActiveRecordAdapter or RailsAdapter dependencies could.\nMoreover, that last adapter does in fact **not** depend on Rails, but on\nActionController::Base instead.\n\nThe new `adapters_dependencies` configuration option allows to register\nproperly the adapters dependencies.\n\nBesides, depending on the ActiveSupport::Inflectior settings -namely\nif the 'API' acronym is not defined- Rails will attempt to require\nthe SimpleTokenAuthentication::Adapters::RailsApiAdapter constant (lowercase).\nTo avoid forcing the acronym definition, the adapters responds to both names.","Gonzalo Bulnes Guilpain",true]],"size":1,"ref":"refs/heads/add-rails-api-support","head":"9d4f0f207efcf553c025bce6a0910cc34135f7fa"}