Commit Graph

221 Commits

Author SHA1 Message Date
Yosuke Kabuto 59e8342469 Revert "Revert "Make word "path" plural""
This reverts commit 3a8bc07686.
2016-01-02 20:17:40 +09:00
Yosuke Kabuto 3a8bc07686 Revert "Make word "path" plural"
This reverts commit 1dbc4c3fee.
2016-01-02 19:52:36 +09:00
Yosuke Kabuto 1dbc4c3fee Make word "path" plural 2016-01-02 16:53:25 +09:00
Yosuke Kabuto 8581c72a44 Add space between specs 2016-01-02 16:42:29 +09:00
Yosuke Kabuto f6dc748cbd Remove $LOAD_PATH.uniq! because $LOAD_PATH does not contain any duplicate path 2016-01-02 16:41:04 +09:00
Yosuke Kabuto b02f03a556 Remove lines which add some paths to $LOAD_PATH, because they already exist in $LOAD_PATH 2016-01-02 16:19:08 +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 017e2c4c1d Update load pathf or specs 2015-12-17 10:35:02 -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
Steve Bazyl 808d683d9a Update samples/integration tests 2015-12-14 17:42:53 -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
Christopher Baran 83012abc3e Added integration test for AdSense to verify that a report with duplicate query string params is downloaded correctly. 2015-10-02 19:14:55 -05: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 babea07ef9 Initial set of integration tests against live APIs 2015-06-24 13:48:14 -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
Tim Emiola 697d7287fe Adds support for tracking coverage on coveralls.io 2015-03-23 18:51:32 -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
Volker Zöpfel 862a844c63 adds json fixture to test storage 2013-11-15 09:37:01 +01:00
Volker Zöpfel 4a3827c44b adds spec construct for file_store and storage 2013-11-15 09:36:30 +01:00
Volker Zöpfel 2a87a93d48 repair gemspec 2013-11-14 15:58:46 +01:00
Sergio Gomes 0fd0dca2f4 Adding discovery document caching to Service interface 2013-10-29 12:59:52 +00:00
Sergio Gomes 83d411990c Adding batch support to new service interface 2013-10-04 15:56:06 +01:00
Sergio Gomes 00f66633e0 Merge branch 'master' of https://github.com/google/google-api-ruby-client into new_programming_interface 2013-10-04 14:48:58 +01:00
Sergio Gomes 5c31b69356 Fixing broken specs 2013-10-04 14:46:14 +01:00
Sergio Gomes 1e2405093b - Improving the Service interface with access to more properties
- Adding end-to-end spec
- Fixing bugs
2013-09-11 16:51:10 +01:00
Sergio Gomes e73ce124fa Initial version of new programming interface 2013-09-10 15:29:36 +01:00
Steve Bazyl 8b128286c5 Merge pull request #71 from twelvelabs/master
fix "already initialized constant" warnings
2013-09-06 11:37:45 -07:00
Sergio Gomes c766975587 Ensuring that multivalued requests in the AdSense Management API actually work 2013-09-05 12:30:30 +01:00
Sergio Gomes 98c3d6e250 Updating AdSense Management API specs to use v1.3 2013-09-04 18:23:13 +01:00
Johan Euphrosine 9d7735f031 auth: add compute service account 2013-08-14 16:29:16 -07:00
Sergio Gomes b95cf48ada Fixing spec warnings 2013-08-12 16:19:09 +01:00
Sergio Gomes a4ff02e636 Removing latitude API specs 2013-08-09 16:34:27 +01:00
Skip Baney 4143d900e0 don't require faraday/utils; faraday already includes it 2013-08-02 17:13:15 -05:00
Steven Bazyl 8aa50442ab Enable gzip compression 2013-06-19 17:37:38 -07:00
Steven Bazyl c45740b81c Fix normalization of parmeters keys 2013-06-18 15:51:46 -07:00
Steven Bazyl 903e568a65 No longer buffer chunks/files when using resumable upload 2013-06-18 12:15:02 -07:00
Steven Bazyl 35c38a1ce8 Minor cleanup on tests 2013-05-31 15:39:16 -07:00
Steven Bazyl aa7a254d23 Allow options when executing batch requests (#48) 2013-05-13 15:19:25 -07:00
Steven Bazyl 794c6a90f7 Upgrade to Faraday 0.9 (fixes params encoding problems) 2013-05-13 14:03:49 -07:00
Steven Bazyl 889102f6fb Mark failing test as pending 2013-02-15 14:25:25 -08:00
Steven Bazyl ef4c5c1f2f Fix URI in batched request to allow query parameters 2013-02-15 13:13:58 -08:00
Steven Bazyl f421551018 Fix duplication of parameters in qeuery string 2013-01-22 22:14:50 -08:00
Oxana Goutnik 7d204ac507 fix for #22 impersonation 2013-01-12 10:29:47 -05:00
Steven Bazyl 1636ed0f9d Remove moderate API refs since API no longer exists, re-enable lattitude 2013-01-09 12:51:50 -08:00
Steven Bazyl 250e9e7b2d Merge branch 'master' of https://github.com/google/google-api-ruby-client 2013-01-02 11:51:15 -08:00
Steven Bazyl 71fbe4a825 Use JWT support in signet, ignore broken PKCS12 tests on jruby 2013-01-02 11:50:45 -08:00
Steven Bazyl c793138209 Add application name to client, update style of assigning client to match other recent changes 2012-12-30 11:27:45 -08:00
Ryan Biesemeyer 0211d4b6d3 Add test for scenario where semicolon in parameter value gets silently converted to ampersand 2012-11-18 06:22:25 +00:00
Steven Bazyl 1c849c7e7a Refactor key loading to support PEM + fix issue #62 2012-11-02 13:56:53 -07:00
Steven Bazyl 3d157007f6 Auto-refresh OAuth 2 tokens & retry request on 401 response 2012-10-30 13:18:12 -07:00
Steven Bazyl 1cf7975319 G+ API changed schema :( 2012-10-29 15:46:20 -07:00
Steven Bazyl f85e73087e Additional fix for broken ||= constant assignment 2012-10-25 14:28:16 -07:00