laserlemon/simple_oauth — Issue #5: Can't pass a URI for the `url` argument
Author: mislav
Created: 2012-01-22 13:56:47+00:00
State: open

This is because of:

~~~ rb
URI.parse URI('http://example.com')
# => URI::InvalidURIError: bad URI(is not URI?): http://example.com
~~~

Idea: if the object passed as the `url` argument *looks like* a URI, don't `parse` it, just dup it.