jayfajardo/openlibrary — pull request #4 by grantovich (2012-11-15 21:06:22+00:00)
Title: URL-encode request parameters

`find` methods may unexpectedly raise `InvalidURIError` if their parameters are not already URL-encoded, e.g. if a parameter contains spaces. This changeset fixes that, and also removes some `puts` calls that I assume were left over from debugging (the only code path that hits them is also the only code path that causes the method to return `nil`, which is easily checked for).