Commit Graph

2632 Commits

Author SHA1 Message Date
tomykaira bb9f607c8e Use retriable 1.x
Retriable version 2.0.0.beta is now released and its API changed.
Google-api-client does not work with the new API.
As a quick fix, specify retriable version in '>= 1.4 < 2.0'
2014-09-27 22:01:33 +09:00
theit8514 571b278b35 Update README documentation for register_discovery_document (It returns a Hash instead of an API object, therefore we must call discovered_api to get the API object) 2014-09-25 11:44:12 -04:00
Sérgio Gomes fda7086f43 Merge pull request #94 from programmiersportgruppe/master
Shutdown WEBrick server used in installed app flow
2014-09-17 15:56:26 +01:00
Sérgio Gomes 6f655029c1 Merge pull request #154 from seuros/rbx-2
use travis's rbx-2 instead of rbx, and removed duplicate gem dependency
2014-09-17 15:44:59 +01:00
Abdelkader Boudih ca7bc2d478 use travis's rbx-2 instead of rbx, and removed duplicate gem dependency 2014-09-10 09:21:59 +00:00
Sérgio Gomes b02bfe3028 Removing jruby-20mode target, since Travis does not support it 2014-08-21 15:04:42 +01:00
Sérgio Gomes d6511e6123 Missed a few rcov-related lines 2014-08-15 15:15:19 +01:00
Sérgio Gomes f926429461 Fixing issue with service-style batches and requests with bodies 2014-08-15 09:49:59 +01: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
Doug Henderson 2bed0748ab Add auto retry logic for auth expiry separate from normal failure retry 2014-03-13 11:20:08 -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 0c8e067012 Update changelog 2014-01-23 13:34:26 -08:00
Steven Bazyl df72a3681d Minor release to update retriable dependency lost when merging 2014-01-23 13:31:45 -08:00
Steven Bazyl 8ae04bc41c Remove CLI docs from readme 2014-01-22 16:12:56 -08:00
Steven Bazyl f3821f9917 Resolve merge conflict on gemspec 2014-01-22 15:44:04 -08:00
Steven Bazyl a1eeecf2f8 Add note about retries to readme 2014-01-22 15:40:06 -08:00
Steven Bazyl c06f4edb1e Set content length for media uploads 2014-01-22 15:32:35 -08:00
Steven Bazyl cb8f443c66 Merge branch 'release-0.7' 2014-01-22 15:30:46 -08:00
Steven Bazyl 5326f5c2a7 fix rand call 2014-01-22 15:09:22 -08:00
Steven Bazyl 474167c5ce Update changelog 2014-01-22 13:55:50 -08:00
Steven Bazyl 1819e16f19 Add retry support & redirect following 2014-01-22 13:54:06 -08:00
Steven Bazyl 30881d7169 Update faraday version 2014-01-17 11:32:37 -08:00
Steven Bazyl 814d6f6d92 Attempt at fixing rubinius builds on travis 2014-01-17 11:31:56 -08:00
Steven Bazyl ddbc978b52 Bump version 2014-01-16 13:45:14 -08:00
Steve Bazyl 50ce4df640 Merge pull request #98 from rhunter/patch-1
Update gem homepage to GitHub (like the README)
2014-01-16 13:11:40 -08:00
Michael C. Beck fd145d2cd1 moved default key into constant 2014-01-10 16:05:50 +01: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 18c4bab286 remove deprecation warning 2013-11-28 12:29:55 +01:00
Volker Zöpfel 80d25c219b bugfix file_storage 2013-11-28 12:26:25 +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 4666fedaed load_credentials just returns nil on errors 2013-11-28 10:24:47 +01:00
Volker Zöpfel 31fac0a6f5 adds specs for storage
changes expectation in write_credentials
2013-11-28 08:14:41 +01:00
Rob Hunter 3648b9a9ee Update gem homepage to GitHub (like the README) 2013-11-25 09:57:03 +11:00
Ben Barnard c428db0f3d Shutdown WEBrick server used in installed app flow
Starting and stopping WEBrick only controls whether the event loop is
running, it does not start and stop listening on TCP sockets.
Our WEBrick server is starting to listen when it is initialised,
so we should ensure that we shut it down when we are done with it.

Note that shutdown is idempotent.
2013-11-20 00:28:21 +01:00
Volker Zöpfel e6858bd292 adds some specs for storage class 2013-11-18 11:39:58 +01:00
Volker Zöpfel 6404615a57 uses new initialize and authorize 2013-11-18 11:39:40 +01:00
Volker Zöpfel 5c61e39ba4 use authorization method instead of variable
remove authorize from initialize
2013-11-18 11:39:02 +01:00
Michael C. Beck 05baf20957 include all git added files to prevent inclusion errors 2013-11-15 10:42:51 +01:00
Michael C. Beck 34d3c18fed added deprecation warnings to file_storage 2013-11-15 10:27:46 +01:00
Michael C. Beck 0e9637c77c rename file_store 2013-11-15 10:26:18 +01:00
Volker Zöpfel 862a844c63 adds json fixture to test storage 2013-11-15 09:37:01 +01:00