Change the way parameter lists are handled internally
Instead of trying to guess if a query key is a list (to strip the index
number, since Rails expects list IDs without index number), we prefix
the key name with the index when dealing with lists.
E.g.:
[0]ids: "one"
[1]ids: "two"
will be sent as
ids[]=one&ids[]=two
It makes it more reliable and let us differenciate between arrays and
objects (objects are untouched and sent as-is).
language: go
go:
- "1.7"
- "1.8"
- "1.9"
- "1.10"
- master
matrix:
allow_failures:
- go: master
fast_finish: true
branches:
only:
- master
install:
- go get golang.org/x/oauth2
- go get github.com/pkg/errors
- go get github.com/stretchr/testify/assert
- go get github.com/sendgrid/rest
- go get github.com/gorilla/websocket