Commit Graph

152 Commits

Author SHA1 Message Date
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
Steven Bazyl a5a9b49160 Merge pull request #274 + fix to use FakeFS to avoid flakey test 2015-08-19 13:57:14 -07:00
Steve Bazyl 669aaf01a4 Merge pull request #273 from rusikf/patch-5
add more detail specs for client_secrets.rb + fix docs
2015-08-19 12:20:56 -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
rusikf f4b3992f9f check for nil values on client_secrets specs 2015-08-19 21:55:33 +03:00
Ruslan Korolev 19ead52094 add more detail specs for client_secrets.rb + fix docs 2015-08-19 21:03:53 +03: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
Steven Bazyl 9b7809174d Nuke it from orbit, it's the only way to be sure 2015-04-16 17:21:38 -07:00
remi Taylor 94a979b512 Respect discovered methods with colons in path 2015-04-13 21:38:47 -07:00
remi Taylor 1ed677b796 Use discovered 'rootUrl' as base URI for services 2015-04-06 21:38:42 -07:00
Steven Bazyl 8e49ee764b Resolve merge conflict 2014-12-17 12:39:57 -08:00
Steven Bazyl d999033fd6 #159 - Excute batch requests using the service's connection 2014-12-16 20:52:57 -08:00
Steven Bazyl 2622ebf8dc Add minimal tests for ClientSecrets 2014-12-16 13:47:26 -08:00
Steven Bazyl fda7288859 #160 - Add option to set encoding of response body 2014-12-16 12:29:11 -08:00
Steven Bazyl 74134bf873 Resolve merge conflict, update rspec syntax and docs 2014-12-15 13:41:10 -08:00
Steven Bazyl 8510735db8 Resolve merge conflict, update rspec syntax 2014-12-15 13:32:54 -08:00
Steven Bazyl ec670e9fa0 Resolve merge conflict 2014-12-15 11:50:16 -08:00
Steven Bazyl 0244bf13b3 Update depdencies, simplify gem management 2014-12-15 11:44:51 -08:00
Abdelkader Boudih 740289938b RSpec 3 syntax 2014-10-08 12:02:36 +00:00
Abdelkader Boudih f819c4a051 Another form of Googol typo ? 2014-10-08 12:02:36 +00:00
Abdelkader Boudih 39c3e81e26 So many versions!! 2014-10-08 12:02:36 +00:00
Abdelkader Boudih d1bbe8cf94 File is being deleted before each test anyway 2014-10-08 12:01:32 +00:00
Abdelkader Boudih 03fca7b8d1 remove version from test . 2014-10-08 12:01:32 +00:00
Sérgio Gomes 73e58f3098 Small fix to service account spec with JRuby >= 1.9 2014-08-14 17:37:47 +01:00
Sérgio Gomes 20e9a9bdc6 Small fix to service account spec 2014-08-14 17:06:44 +01:00
Sérgio Gomes 78ff182905 Updated rspec to v3 and replaced rcov with simplecov.
Also used transpec to convert from "should" syntax to preferred "expect" syntax.
2014-08-14 16:54:16 +01:00
Janis Kesteris 2f88bc5487 allows to pass FaraDay options furthur to FaraDay configuration block upon client initialization 2014-07-29 15:06:45 +02:00
Doug Henderson 17092bb129 Unit test updates + ensure auth retry only done once per execute 2014-03-13 13:13:44 -07:00
Steven Bazyl bfa5225766 Tweak retry policy. 40x errors aren't typically recoverable other than 401s in the case of expired access tokens. Even then, 1 retry is enough 2014-01-30 17:27:16 -08:00
Steven Bazyl 1819e16f19 Add retry support & redirect following 2014-01-22 13:54:06 -08:00
Michael C. Beck adf6d1facd added optional redis credential key to be set 2014-01-10 15:50:04 +01:00
Volker Zöpfel 3ef99c7ebb changes for ruby 1.8.7 2013-12-03 11:11:51 +01:00
Volker Zöpfel 0cb0075c7b remove useless test 2013-12-03 10:01:06 +01:00
Volker Zöpfel 3d1568d67f adds specs for redis_store 2013-12-03 08:42:01 +01:00
Volker Zöpfel 71eeabe55c adds specs for file_store 2013-12-03 08:30:55 +01:00
Volker Zöpfel b1f8ac3c0d change default for authorization to nil 2013-12-03 08:30:28 +01:00
Volker Zöpfel 53be124a6f pending test for file_store and redis_store 2013-11-28 10:26:23 +01:00
Volker Zöpfel 31fac0a6f5 adds specs for storage
changes expectation in write_credentials
2013-11-28 08:14:41 +01:00
Volker Zöpfel e6858bd292 adds some specs for storage class 2013-11-18 11:39:58 +01:00