Commit Graph

105 Commits

Author SHA1 Message Date
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
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
Steven Bazyl e214ac57f3 Fix failing tests 2012-10-25 14:25:54 -07:00
Steven Bazyl 30d0ffc698 Issue 59 - handle 204 responses more gracefully 2012-10-10 14:28:46 -06:00
Steven Bazyl c2d64a2484 Add test for options as 5th param in array style calls 2012-10-10 14:28:46 -06:00
Steven Bazyl 1fca089d62 Mostly doc updates, +remove support for method as string 2012-10-10 14:28:45 -06:00
Steven Bazyl fc45135fcd Continue internal shuffling... 2012-10-10 14:28:45 -06:00
Steven Bazyl 2c6bf97b20 Unify processing of api/resumable/batch requests 2012-10-10 14:25:43 -06:00
Steven Bazyl 5d2a6d4842 Begin consolidation of request building in reference. Further changes coming to simplify batch + media handling 2012-10-10 14:24:25 -06:00
Steven Bazyl e421d1734d Remove embedded version #s, use Gemfile 2012-10-10 14:24:25 -06:00
Steven Bazyl ac5bef80aa Temp disable latitude tests due to discovery bug 2012-10-10 14:24:24 -06:00
Bob Aman 0903702738 Apparently the ||= operator does not work with constants in some versions of Ruby. 2012-10-10 19:59:55 +03:00
Bob Aman c8418d4976 Marked failing tests as pending. 2012-10-10 19:47:02 +03:00
Bob Aman 11155d3c39 Backwards compatibility for MultiJson. 2012-08-30 12:15:59 +03:00
Bob Aman 8d99b5b46c Resolving constant redefinition warnings. 2012-08-01 00:31:24 +03:00
Steven Bazyl 1ff1a8e355 Issue 47 - Improve error handling on result 2012-08-01 00:28:39 +03:00
Bob Aman 3f50b2dcbd Significant performance improvements to the tests. 2012-07-31 23:56:13 +03:00
Bob Aman e5e0118b50 Switched to using RSpec's let method for memoization. 2012-07-31 23:15:45 +03:00