Shopify/shopify_api — pull request #81 by maartenvg (2013-12-12 22:35:52+00:00)
Title: Travis++, Flowdock notifications & ActiveSupport fix.

This PR adds a Travis testing matrix for ruby versions 1.9.2, 1.9.3, and 2.0.0, with ActiveResource 3.0, 3.1, 3.2 and 4.0. Resulting in 11 supported combinations, because AR 4.0 doesn't support 1.9.2.

To accomplish this, I've added ActiveResource specific `Gemfiles` (without lock files) and a `.travis.yml` file. I've included an encrypted Flowdock token to report back to the API flow.

This PR also fixes unit tests for ActiveResource 3.0.x. The issue was that `to_query` didn't encode square brackets in URL parameters, but in later versions it does. I've backported that encoding to fix support for AR 3.0.

@costford @pickle27 @csaunders