ejholmes/databasedotcom — pull request #1 by oldfartdeveloper (2012-06-13 18:29:00+00:00)
Title: Changed gem name back to 'databasedotcom'

Easier maintenance not having to switch names between the different gem versions.

Hi Eric,

I have run into a problem with your gem against the Summer 2012 Salesforce release. Interestingly, I don't think it's a problem with your gem.

I submitted an issue, #07732203, with Salesforce. The problem is that your gem won't authenticate against a sandbox generated under Summer 2012; it complains that the client id is invalid. With older sandboxes, it works fine.

I've put together a small Ruby program that verifies the problem outside of your gem:

require 'httparty'

class Salesforce

include HTTParty
base_uri 'https://test.salesforce.com'

def post
options = { :query => {:grant_type => 'password', :client_id => '',
:client_secret => '', :username => "",
:password => ''}}
response = self.class.post('//services/oauth2/token', options)
puts response.inspect
end
end

Salesforce.new.post

If you substitute your arguments above and run this, it will get the same invalid client ID response.

So, does your crowd know about Summer 2012 anomaly?

Also, is there any reason you haven't enabled issues on this project?

Finally, thanks to you for keeping this running while the maintainers at ```heroku/databasedotcom``` have stopped work on it. What happened there? (if you know).

Scott