Commit Graph

48 Commits

Author SHA1 Message Date
Steve Bazyl aed2936248 Add test for #509 - setting proxy url as string 2017-03-31 13:12:59 -07:00
Steve Bazyl 5447ddb7c0 Don't normalize unicode in templates (fixed #557 + GCS issues) 2017-03-30 12:33:49 -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
Thomas Coffee 16f0a768f7 Allow abnormal page token cases for paging methods
Addresses https://github.com/googleapis/toolkit/issues/692.

Manual changes are in:
lib/google/apis/core/base_service.rb
spec/google/apis/core/service_spec.rb
2017-02-03 12:09:18 -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 a68b8cb758 #467 - Restore error handling for failed downloads 2016-09-19 14:16:36 -07: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 70596d26f6 #459 - Fix iteration for genomics API which only has 1 item per page 2016-08-31 13:26:24 -07:00
Steve Bazyl 39d0a164b5 Update generator to correctly handle int64/uint64 types as fixnum/bignum instead of strings 2016-08-17 15:27:23 -07:00
Steve Bazyl 2c190e9745 Update representable, mimetype dependencies + others 2016-08-17 14:38:25 -07:00
Steve Bazyl 2578736b44 #445 - Treat 429 status codes as rate limit errors 2016-08-17 13:58:07 -07:00
Steve Bazyl 2046e00f14 Remove Hurley as a dependency 2016-08-17 13:51:09 -07:00
Steve Bazyl edb841310f Gracefully handle nil collections when paging 2016-06-23 12:43:37 -07:00
Yosuke Kabuto ab8cfe5208 Stub instance method :backtrace, insted of defining it 2016-05-29 20:20:59 +09:00
Yosuke Kabuto 657bfc0e01 Create specs for Google::Apis::Error 2016-05-29 19:52:27 +09:00
Steve Bazyl 1ee88320e9 #403 - allow nil dates 2016-04-25 10:49:00 -07:00
Steve Bazyl 0155b81771 Rewind output stream if requesting partial content but get the full media body instead 2016-04-22 14:30:30 -07:00
Steve Bazyl 4e19ae601f #389 - Add option to bypass Rails logger + update readme 2016-04-14 12:54:58 -07:00
Steve Bazyl 6e3342b671 Cache pages in fetch_all to allow multiple iterations 2016-03-11 14:24:27 -08:00
Steve Bazyl f4453f6139 Add helper method for automatic paging 2016-03-08 13:26:28 -08:00
Steve Bazyl 47a02e897e #363 - Add convenience methods for json parsing/formatting to generated objects 2016-02-25 14:37:00 -08:00
Steve Bazyl 07ca6e8ca0 Handle SocketError. #359 2016-02-25 13:30:27 -08: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
Steve Bazyl acf2b0ec61 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-02-25 09:39:46 -08:00
Steve Bazyl 2c1fd125e9 #369 - Form encode paramaters when method == post/put and no other body present 2016-02-25 09:35:38 -08:00
joker1007 fe7c377399 Add boolean test case 2016-02-25 05:34:39 +09:00
Steve Bazyl 451a0b6617 Include reason & message in API error when available 2016-01-07 14:28:34 -08:00
joker1007 db1ab7d0b2 Add basename arg to Tempfile constructor 2016-01-07 03:39:53 +09:00
joker1007 da53defdc8 Add test case for Tempfile input 2016-01-06 14:29:58 +09:00
Steve Bazyl 1715fc9945 Fix #326 - Normalize query parameters to allow falsey values 2015-12-20 15:22:13 -08:00
Steve Bazyl e8481dd14d Use HTTPClient instead of Net::HTTP 2015-12-18 14:37:21 -08:00
Steve Bazyl d47e96c572 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-12-16 11:34:10 -08:00
railscard f51a4f25a9 Allow http command to keep initial query parameters 2015-12-14 06:16:31 +04:00
Steve Bazyl 0d07ea17f1 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-12-02 17:12:21 -08:00
Steve Bazyl 6c75e89cfe Merge pull request #310 from amitree/master
No longer swallowing errors from block passed to execute
2015-12-02 17:09:01 -08:00
Steve Bazyl a1b5f6c2d2 Issue #290 - Fix redirects during downloads, only stream body content on 20x response. Includes temporary patch to Hurley until 0.3 released 2015-12-02 15:52:30 -08:00
Steve Bazyl 5822e75f34 Fix #313 - Don't retry uploads marked as final/cancelled and return original error 2015-11-30 15:35:18 -08:00
Tony Novak 9535ffa44c No longer swallowing errors from block passed to execute
Fixes #309
2015-11-20 09:32:43 -05:00
Steve Bazyl 8b296b148e #286 - Send content-id in batch requests 2015-10-19 15:36:24 -07:00
Steve Bazyl 81a061cb80 Fix #292 - ensure multivalued parameters are encoded correctly 2015-10-02 13:31:19 -07:00
Steve Bazyl b5d62db691 Merge pull request #272 from rusikf/patch-4
fix RequestOptions#merge + test for default options
2015-08-19 12:20:29 -07:00
Ruslan Korolev f4f8b41017 fix RequestOptions#merge + test for default options 2015-08-18 14:13:21 +03:00
Ruslan Korolev cb4c7cfb8c add headers + length test for upload io 2015-08-17 16:51:01 +03:00
Ruslan Korolev 0cc3a1f814 add tests for UploadIO#from_io 2015-08-17 15:50:11 +03:00
Steven Bazyl 297db0eb66 Fix date formatting to include milliseconds, drop virtus 2015-07-24 22:36:01 -07: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