chicks / sugarcrm

A ruby based REST Client for SugarCRM
MIT License
90 stars 64 forks source link

Fix for "Can't convert SugarCRM::Request into string" and invalid gemfile file references #72

Closed cball closed 12 years ago

cball commented 12 years ago

Running SugarCRM::Lead.last on my 1.9 app results in a "Can't convert SugarCRM::Request into string" error. Adding a to_str alias for the to_s method solves the issue.

Bundler was also complaining about the .tmproject and a few other files not being present, so I changed the file requires in the gemspec to only get files that are in the repository.