Steven Bazyl
6a4e9184e7
Allow using v2 error messages + fix to_json signature to allow arbitrary args
2017-05-19 17:16:22 -06:00
Steve Bazyl
97ff7f4d9a
#475 , #488 -- allow raw JSON if explicitly requested, fix empty body handling & test cleanup
2017-03-31 15:26:51 -07:00
Steve Bazyl
c4d0ed5d3c
Merge branch 'master' into v0.10
2017-03-29 16:25:34 -07:00
Sai Cheemalapati
4f143ae551
Bump `representable` dependency to 3.0 ( #532 )
...
Also fixes a breaking change introduced between `representable` 2.3 and
3.0. Specifically, `:skip_undefined` is now be passed via the
`:user_options` option.
2017-02-13 12:24:14 -08:00
Austin Wang
e9d7e47c75
Update check_status to better support different types of errors ( #517 )
2017-02-01 23:20:19 -08:00
Steve Bazyl
e13da8e05e
Tighten use of form-encoding to only cases where a JSON body is not ever allowed
2016-09-08 13:40:30 -07:00
Steve Bazyl
2c190e9745
Update representable, mimetype dependencies + others
2016-08-17 14:38:25 -07:00
Steve Bazyl
2046e00f14
Remove Hurley as a dependency
2016-08-17 13:51:09 -07:00
Steve Bazyl
e67964189e
Drop active support as a hard runtime depdendency. Still required for code generation however. #364
2016-02-25 13:06:16 -08:00
James Healy
4b9a63c086
replace multi_json dependency with regular stdlib JSON
...
JSON has been part of the ruby stdlib since 1.9.0 (see
https://github.com/ruby/ruby/commit/af1c4167 ), and the latest version of
google-api-client requires ruby 2.0 or better so we can assume it's available
2016-02-25 13:27:33 +11:00
boshan
0ce4387091
Cleaner code on regexp
2016-01-25 15:59:24 -08:00
Steve Bazyl
451a0b6617
Include reason & message in API error when available
2016-01-07 14:28:34 -08:00
Steve Bazyl
c102c571e0
Release 0.9.pre4
2015-12-17 13:34:38 -08:00
Steven Bazyl
2a9fd28176
Expose HTTP status code & body in errors
2015-07-20 12:36:13 -07:00
Steven Bazyl
f584a2cec8
Import refactored library. See MIGRATING.MD for details
2015-06-23 15:15:14 -07:00