morgoth/alexa — pull request #2 by jasongill (2013-03-28 16:10:01+00:00)
Title: Switch from raw Net::HTTP to Faraday

I've modified the gem to use Faraday, as opposed to raw Net::HTTP. I know this adds a potentially unwanted dependency, but Faraday is very common these days. By default, it uses Net::HTTP so the performance should be identical.

The reason for this is because now if someone wanted to increase the performance of the gem, they could swap out the HTTP backend to be Typhoeus or similar, using something like this:

```
require 'alexa'
require 'faraday'
require 'typhoeus/adapters/faraday'

Faraday.default_adapter = :typhoeus

client = Alexa::Client.new(access_key_id: "key", secret_access_key: "secret")
url_info = client.url_info(url: "site.com")
```

All tests are passing for me but I welcome any comments