Commit Graph

1370 Commits

Author SHA1 Message Date
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
Volker Zöpfel 4a3827c44b adds spec construct for file_store and storage 2013-11-15 09:36:30 +01:00
Volker Zöpfel 8418d5abdc add file_storage to gemspec 2013-11-15 09:35:52 +01:00
Volker Zöpfel a27a122825 adds comment 2013-11-15 09:20:37 +01:00
Volker Zöpfel 7de9612071 adds old FileStorage again to be backward compatible 2013-11-14 18:09:48 +01:00
Volker Zöpfel 9ddc8b85dc make methods private 2013-11-14 17:40:54 +01:00
Volker Zöpfel 60ce5bb082 repair gemspec 2013-11-14 16:04:56 +01:00
Volker Zöpfel 2a87a93d48 repair gemspec 2013-11-14 15:58:46 +01:00
Volker Zöpfel c2135d9dcf split storages in own adapter classes, added redis adapter 2013-11-14 15:50:06 +01:00
Volker Zöpfel bd7cf179f3 adds Constants for Authorization_uri, Token_credentials_uri
extracts authorize
extracts credentials_hash
2013-11-14 14:45:36 +01:00
Volker Zöpfel bbb24a5d2e using the path= method on initialize 2013-11-14 08:32:47 +01:00
Volker Zöpfel 10a337b807 adds method path= to proof if file can be accessed 2013-11-14 08:31:21 +01:00
Volker Zöpfel 146ccad83a using symbols as hash keys 2013-11-14 08:19:21 +01:00