heroku/databasedotcom — pull request #102 by ejholmes (2012-08-24 04:32:36+00:00)
Title: Merge and refactor of databasedotcom-oauth2 gem.

Really don't expect this to be merged considering there's very few tests, but it's a quick rewrite of the databasedotcom-oauth2 gem in relation to the cloudspokes challenge at http://www.cloudspokes.com/challenges/1736.

In all honesty, I don't believe this even belongs in this gem. It's not part of the core domain of this gem and I think a better approach would be to have a separate gem with a warden strategy to authenticate against salesforce. I can think of a lot of use cases where I would want to authenticate with salesforce without any need to use the databasedotcom gem, or cases where I want to use the databasedotcom gem but don't need an oauth flow.