Pascal Brogle [Sun, 7 Dec 2014 09:43:30 +0000 (10:43 +0100)]
only upload media if there is one
Steve Bazyl [Sat, 6 Dec 2014 00:52:15 +0000 (16:52 -0800)]
Merge pull request #162 from theit8514/master
Update README example for register_discovery_document
Steve Bazyl [Sat, 6 Dec 2014 00:50:25 +0000 (16:50 -0800)]
Merge pull request #175 from Christian-G/master
Added HTTP Proxy support
Christian-G [Wed, 3 Dec 2014 14:52:00 +0000 (15:52 +0100)]
Added HTTP Proxy support
Steve Bazyl [Tue, 7 Oct 2014 22:21:09 +0000 (15:21 -0700)]
Merge pull request #163 from tomykaira/retriable_no_2.0
Use retriable 1.x
Daniel Wang [Fri, 3 Oct 2014 20:43:40 +0000 (13:43 -0700)]
Update README.md
Daniel Wang [Fri, 3 Oct 2014 20:37:40 +0000 (13:37 -0700)]
Update README.md
tomykaira [Sat, 27 Sep 2014 13:01:33 +0000 (22:01 +0900)]
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'
theit8514 [Thu, 25 Sep 2014 15:44:12 +0000 (11:44 -0400)]
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)
Sérgio Gomes [Wed, 17 Sep 2014 14:56:26 +0000 (15:56 +0100)]
Merge pull request #94 from programmiersportgruppe/master
Shutdown WEBrick server used in installed app flow
Sérgio Gomes [Wed, 17 Sep 2014 14:44:59 +0000 (15:44 +0100)]
Merge pull request #154 from seuros/rbx-2
use travis's rbx-2 instead of rbx, and removed duplicate gem dependency
Abdelkader Boudih [Wed, 10 Sep 2014 09:00:55 +0000 (09:00 +0000)]
use travis's rbx-2 instead of rbx, and removed duplicate gem dependency
Sérgio Gomes [Thu, 21 Aug 2014 14:04:42 +0000 (15:04 +0100)]
Removing jruby-20mode target, since Travis does not support it
Sérgio Gomes [Fri, 15 Aug 2014 14:15:19 +0000 (15:15 +0100)]
Missed a few rcov-related lines
Sérgio Gomes [Fri, 15 Aug 2014 08:49:59 +0000 (09:49 +0100)]
Fixing issue with service-style batches and requests with bodies
Sérgio Gomes [Thu, 14 Aug 2014 16:37:47 +0000 (17:37 +0100)]
Small fix to service account spec with JRuby >= 1.9
Sérgio Gomes [Thu, 14 Aug 2014 16:06:44 +0000 (17:06 +0100)]
Small fix to service account spec
Sérgio Gomes [Thu, 14 Aug 2014 15:54:16 +0000 (16:54 +0100)]
Updated rspec to v3 and replaced rcov with simplecov.
Also used transpec to convert from "should" syntax to preferred "expect" syntax.
Steven Bazyl [Fri, 31 Jan 2014 01:27:16 +0000 (17:27 -0800)]
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
Steven Bazyl [Thu, 23 Jan 2014 21:34:26 +0000 (13:34 -0800)]
Update changelog
Steven Bazyl [Thu, 23 Jan 2014 21:31:45 +0000 (13:31 -0800)]
Minor release to update retriable dependency lost when merging
Steven Bazyl [Thu, 23 Jan 2014 00:12:56 +0000 (16:12 -0800)]
Remove CLI docs from readme
Steven Bazyl [Wed, 22 Jan 2014 23:44:04 +0000 (15:44 -0800)]
Resolve merge conflict on gemspec
Steven Bazyl [Wed, 22 Jan 2014 23:40:06 +0000 (15:40 -0800)]
Add note about retries to readme
Steven Bazyl [Wed, 22 Jan 2014 23:32:35 +0000 (15:32 -0800)]
Set content length for media uploads
Steven Bazyl [Wed, 22 Jan 2014 23:30:46 +0000 (15:30 -0800)]
Merge branch 'release-0.7'
Steven Bazyl [Wed, 22 Jan 2014 23:09:22 +0000 (15:09 -0800)]
fix rand call
Steven Bazyl [Wed, 22 Jan 2014 21:55:50 +0000 (13:55 -0800)]
Update changelog
Steven Bazyl [Wed, 22 Jan 2014 21:54:06 +0000 (13:54 -0800)]
Add retry support & redirect following
Steven Bazyl [Fri, 17 Jan 2014 19:32:37 +0000 (11:32 -0800)]
Update faraday version
Steven Bazyl [Fri, 17 Jan 2014 19:31:56 +0000 (11:31 -0800)]
Attempt at fixing rubinius builds on travis
Steven Bazyl [Thu, 16 Jan 2014 21:45:14 +0000 (13:45 -0800)]
Bump version
Steve Bazyl [Thu, 16 Jan 2014 21:11:40 +0000 (13:11 -0800)]
Merge pull request #98 from rhunter/patch-1
Update gem homepage to GitHub (like the README)
Rob Hunter [Sun, 24 Nov 2013 22:57:03 +0000 (09:57 +1100)]
Update gem homepage to GitHub (like the README)
Ben Barnard [Tue, 19 Nov 2013 23:22:28 +0000 (00:22 +0100)]
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.
Sergio Gomes [Tue, 29 Oct 2013 13:25:55 +0000 (13:25 +0000)]
Minor documentation fix
Sergio Gomes [Tue, 29 Oct 2013 13:17:39 +0000 (13:17 +0000)]
Removing service logger. Incorrect implementation; loggers are global instead, and set in a Google::APIClient class method
Sergio Gomes [Tue, 29 Oct 2013 12:59:52 +0000 (12:59 +0000)]
Adding discovery document caching to Service interface
Steve Bazyl [Wed, 9 Oct 2013 22:24:46 +0000 (15:24 -0700)]
Merge pull request #87 from sgomes/new_programming_interface
New programming interface for the client library
Steve Bazyl [Wed, 9 Oct 2013 22:19:46 +0000 (15:19 -0700)]
Merge pull request #86 from oscardelben/patch-1
Link to Github Repo
Sergio Gomes [Mon, 7 Oct 2013 17:11:45 +0000 (18:11 +0100)]
Minor doc fix
Sergio Gomes [Fri, 4 Oct 2013 14:56:06 +0000 (15:56 +0100)]
Adding batch support to new service interface
Sergio Gomes [Fri, 4 Oct 2013 13:48:58 +0000 (14:48 +0100)]
Merge branch 'master' of https://github.com/google/google-api-ruby-client into new_programming_interface
Sergio Gomes [Fri, 4 Oct 2013 13:46:14 +0000 (14:46 +0100)]
Fixing broken specs
Oscar Del Ben [Thu, 3 Oct 2013 16:42:08 +0000 (09:42 -0700)]
Link to Github Repo
Sergio Gomes [Wed, 11 Sep 2013 16:23:05 +0000 (17:23 +0100)]
Merge branch 'master' of https://github.com/google/google-api-ruby-client into new_programming_interface
Sergio Gomes [Wed, 11 Sep 2013 15:51:10 +0000 (16:51 +0100)]
- Improving the Service interface with access to more properties
- Adding end-to-end spec
- Fixing bugs
Steven Bazyl [Tue, 10 Sep 2013 22:31:24 +0000 (15:31 -0700)]
redo delegation docs from pull request
Sergio Gomes [Tue, 10 Sep 2013 14:29:36 +0000 (15:29 +0100)]
Initial version of new programming interface
Steven Bazyl [Mon, 9 Sep 2013 20:58:13 +0000 (13:58 -0700)]
Redo 0.7.0...
Steven Bazyl [Mon, 9 Sep 2013 20:48:22 +0000 (13:48 -0700)]
Update gemspec
Steven Bazyl [Mon, 9 Sep 2013 20:23:09 +0000 (13:23 -0700)]
0.7.0.rc1 release
Steven Bazyl [Mon, 9 Sep 2013 19:48:14 +0000 (12:48 -0700)]
Rename contributing file to match github expectations
Steve Bazyl [Fri, 6 Sep 2013 18:38:18 +0000 (11:38 -0700)]
Merge pull request #70 from JuanitoFatas/master
Update to https for secure connection to rubygems.org.
Steve Bazyl [Fri, 6 Sep 2013 18:37:45 +0000 (11:37 -0700)]
Merge pull request #71 from twelvelabs/master
fix "already initialized constant" warnings
Sergio Gomes [Thu, 5 Sep 2013 11:32:36 +0000 (12:32 +0100)]
Removing empty file
Sergio Gomes [Thu, 5 Sep 2013 11:30:30 +0000 (12:30 +0100)]
Ensuring that multivalued requests in the AdSense Management API actually work
Sergio Gomes [Wed, 4 Sep 2013 17:23:13 +0000 (18:23 +0100)]
Updating AdSense Management API specs to use v1.3
Steve Bazyl [Thu, 15 Aug 2013 21:28:37 +0000 (14:28 -0700)]
Merge pull request #78 from proppy/computeauth
auth: add compute service account
Johan Euphrosine [Thu, 15 Aug 2013 21:19:37 +0000 (14:19 -0700)]
auth: perserve original option param
Johan Euphrosine [Wed, 14 Aug 2013 23:29:16 +0000 (16:29 -0700)]
auth: add compute service account
Sergio Gomes [Mon, 12 Aug 2013 15:19:09 +0000 (16:19 +0100)]
Fixing spec warnings
Sergio Gomes [Fri, 9 Aug 2013 15:34:27 +0000 (16:34 +0100)]
Removing latitude API specs
sgomes [Fri, 9 Aug 2013 13:43:40 +0000 (14:43 +0100)]
Forgot an import. *sigh*
sgomes [Fri, 9 Aug 2013 13:41:53 +0000 (14:41 +0100)]
Minor bugfix change to README
sgomes [Fri, 9 Aug 2013 13:40:39 +0000 (14:40 +0100)]
Updating README to use best practices in usage example
Steve Bazyl [Thu, 8 Aug 2013 18:47:58 +0000 (11:47 -0700)]
Merge pull request #73 from sgomes/master
Small fixes to client secrets
Sergio Gomes [Tue, 6 Aug 2013 17:46:11 +0000 (18:46 +0100)]
Small fixes to client secrets:
- Load automatically with a "require 'google/api_client'"
- Allow for signet >= 0.4.0
Skip Baney [Fri, 2 Aug 2013 22:13:15 +0000 (17:13 -0500)]
don't require faraday/utils; faraday already includes it
Juanito Fatas [Thu, 1 Aug 2013 10:07:25 +0000 (18:07 +0800)]
Update to https for secure connection to rubygems.org.
Steve Bazyl [Thu, 20 Jun 2013 17:38:01 +0000 (10:38 -0700)]
Merge pull request #64 from phiggins/master
Update homepage in gemspec to point at Github.
Steven Bazyl [Thu, 20 Jun 2013 17:34:16 +0000 (10:34 -0700)]
Remove example of deprecated use
Steven Bazyl [Thu, 20 Jun 2013 00:37:38 +0000 (17:37 -0700)]
Enable gzip compression
pete higgins [Wed, 19 Jun 2013 23:46:34 +0000 (16:46 -0700)]
Update homepage in gemspec to point at Github.
Steven Bazyl [Tue, 18 Jun 2013 23:35:38 +0000 (16:35 -0700)]
Issue #57 - rewind body if possible when retrying
Steven Bazyl [Tue, 18 Jun 2013 22:51:46 +0000 (15:51 -0700)]
Fix normalization of parmeters keys
Steven Bazyl [Tue, 18 Jun 2013 19:16:03 +0000 (12:16 -0700)]
Merge branch 'master' of https://github.com/google/google-api-ruby-client
Steven Bazyl [Tue, 18 Jun 2013 19:15:02 +0000 (12:15 -0700)]
No longer buffer chunks/files when using resumable upload
Steven Bazyl [Tue, 18 Jun 2013 00:16:53 +0000 (17:16 -0700)]
Allow apps to override ca_file
Steve Bazyl [Mon, 17 Jun 2013 03:56:49 +0000 (20:56 -0700)]
Merge pull request #61 from tardate/issue_mgmt
Update instructions in README to direct people to Github for issue reporting
Paul Gallagher [Sun, 16 Jun 2013 12:16:25 +0000 (20:16 +0800)]
changed readme to direct issue reporting on github
* makes this consistent with directions on https://code.google.com/p/google-api-ruby-client/ which send people to Github
Paul Gallagher [Sun, 16 Jun 2013 12:15:06 +0000 (20:15 +0800)]
whitespace cleanup in readme
Steven Bazyl [Mon, 3 Jun 2013 23:06:12 +0000 (16:06 -0700)]
Update faraday
Steven Bazyl [Sat, 1 Jun 2013 00:22:18 +0000 (17:22 -0700)]
Remove unnecessary require
Steve Bazyl [Fri, 31 May 2013 22:43:03 +0000 (15:43 -0700)]
Merge pull request #52 from jeffposnick/master
Added support for caching OAuth 2 credentials to disk
Steven Bazyl [Fri, 31 May 2013 22:41:00 +0000 (15:41 -0700)]
Don't attempt resumable upload if initial response failed (Issue #32)
Steven Bazyl [Fri, 31 May 2013 22:39:16 +0000 (15:39 -0700)]
Minor cleanup on tests
Steven Bazyl [Fri, 31 May 2013 22:38:00 +0000 (15:38 -0700)]
Bundle root certs
Jeff Posnick [Wed, 29 May 2013 19:31:44 +0000 (15:31 -0400)]
Added Google::APIClient::FileStorage, to save OAuth 2 credentials to disk
This is a (potentially rough) bit of code to persist OAuth 2
credentials to disk, similar to
http://google-api-python-client.googlecode.com/hg/docs/epy/oauth2client.
file.Storage-class.html
It can be used in the following manner, which roughly translates to
what the Python client library code looks like.
file_storage = Google::APIClient::FileStorage.new("#{$0}-oauth2.json")
if file_storage.authorization.nil?
client_secrets = Google::APIClient::ClientSecrets.load
flow = Google::APIClient::InstalledAppFlow.new(
:client_id => client_secrets.client_id,
:client_secret => client_secrets.client_secret,
:scope => [SCOPE1, SCOPE2]
)
client.authorization = flow.authorize(file_storage)
else
client.authorization = file_storage.authorization
end
Steven Bazyl [Mon, 13 May 2013 22:19:25 +0000 (15:19 -0700)]
Allow options when executing batch requests (#48)
Steven Bazyl [Mon, 13 May 2013 21:03:49 +0000 (14:03 -0700)]
Upgrade to Faraday 0.9 (fixes params encoding problems)
Bob Aman [Mon, 29 Apr 2013 09:14:22 +0000 (02:14 -0700)]
Merge pull request #49 from dillonkearns/patch-1
Add syntax highlighting to README
Dillon Kearns [Mon, 29 Apr 2013 02:29:39 +0000 (19:29 -0700)]
Add syntax highlighting to README
Steve Bazyl [Sun, 21 Apr 2013 06:14:11 +0000 (23:14 -0700)]
Merge pull request #47 from nevir/patch-2
Consider dropping sudo from "sudo gem install" in example
Steven Bazyl [Fri, 19 Apr 2013 03:57:32 +0000 (20:57 -0700)]
Merge branch 'master' of https://github.com/google/google-api-ruby-client
Bob Aman [Thu, 18 Apr 2013 07:55:53 +0000 (00:55 -0700)]
Merge pull request #46 from nevir/patch-1
Full jruby and rubinius coverage
Ian MacLeod [Thu, 18 Apr 2013 05:50:58 +0000 (22:50 -0700)]
Drop sudo from gem install
Ian MacLeod [Thu, 18 Apr 2013 05:46:53 +0000 (22:46 -0700)]
Full jruby and rubinius coverage
Steve Bazyl [Mon, 15 Apr 2013 18:03:09 +0000 (11:03 -0700)]
Merge pull request #43 from sanemat/feature/rubygems-org
Replace rubygems source
sanemat [Sun, 14 Apr 2013 13:51:24 +0000 (22:51 +0900)]
All tests pass in ruby 2.0