Commit Graph

593 Commits

Author SHA1 Message Date
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
Volker Zöpfel 5538bded1f refactoring load_credentials
adding refresh_authorization

write_credentials now using the authorizations methods not the instance variables, Using the instance variables can cause problems.
2013-11-14 08:17:08 +01:00
Volker Zöpfel 2d326459b2 ignore IntelliJ files
ignore logfiles
2013-11-14 07:59:08 +01:00
Sergio Gomes f06f1e33fa Minor documentation fix 2013-10-29 13:25:55 +00:00
Sergio Gomes ef4541b6eb Removing service logger. Incorrect implementation; loggers are global instead, and set in a Google::APIClient class method 2013-10-29 13:17:39 +00:00
Sergio Gomes 0fd0dca2f4 Adding discovery document caching to Service interface 2013-10-29 12:59:52 +00:00
Steve Bazyl 0d7b3d040f Merge pull request #87 from sgomes/new_programming_interface
New programming interface for the client library
2013-10-09 15:24:46 -07:00
Steve Bazyl b05de26a51 Merge pull request #86 from oscardelben/patch-1
Link to Github Repo
2013-10-09 15:19:46 -07:00
Sergio Gomes 876dddad36 Minor doc fix 2013-10-07 18:11:45 +01: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
Oscar Del Ben ee3f767141 Link to Github Repo 2013-10-03 09:42:08 -07:00
Sergio Gomes d7bd7126d3 Merge branch 'master' of https://github.com/google/google-api-ruby-client into new_programming_interface 2013-09-11 17:23:05 +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
Steven Bazyl d85ee643d6 redo delegation docs from pull request 2013-09-10 15:31:24 -07:00
Sergio Gomes e73ce124fa Initial version of new programming interface 2013-09-10 15:29:36 +01:00
Steven Bazyl 2a3965d976 Redo 0.7.0... 2013-09-09 13:58:13 -07:00
Steven Bazyl b160f24685 Update gemspec 2013-09-09 13:48:22 -07:00
Steven Bazyl 855a7fc823 0.7.0.rc1 release 2013-09-09 13:23:09 -07:00
Steven Bazyl dca6f3448c Rename contributing file to match github expectations 2013-09-09 12:48:14 -07:00
Steve Bazyl 04f6565616 Merge pull request #70 from JuanitoFatas/master
Update to https for secure connection to rubygems.org.
2013-09-06 11:38:18 -07: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 5249137d4c Removing empty file 2013-09-05 12:32:36 +01: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
Steve Bazyl 327220db08 Merge pull request #78 from proppy/computeauth
auth: add compute service account
2013-08-15 14:28:37 -07:00
Johan Euphrosine f5238bbf12 auth: perserve original option param 2013-08-15 14:19:37 -07:00