robinhoudmeyers/url2png-gem — pull request #18 by shayfrendt (2012-11-10 07:30:54+00:00)
Title: Add support for JSON request format

Version 5 of the url2png API added support for the JSON request format.

This pull request adds the ability to do the following:

```ruby
Url2png::Helpers::Common.url2png_image_url "example.com", :format => :json
```

Normally I would pull out a separate method to do this since `url2png_image_url` doesn't feel as good as `url2png_json_url`, but without significant refactoring I don't see a great way to get it in there.

Other changes:
- Fix spec file that wasn't getting included in default test runs
- Upgrade rspec test dependency
- Don't rely on ActiveSupport since it isn't declared