Commit Graph

604 Commits

Author SHA1 Message Date
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
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
sgomes 9d7803dee8 Forgot an import. *sigh* 2013-08-09 14:43:40 +01:00
sgomes 630651c4b5 Minor bugfix change to README 2013-08-09 14:41:53 +01:00
sgomes 105510adf2 Updating README to use best practices in usage example 2013-08-09 14:40:39 +01:00
Steve Bazyl 89830508b2 Merge pull request #73 from sgomes/master
Small fixes to client secrets
2013-08-08 11:47:58 -07:00
Sergio Gomes d1fe3c2277 Small fixes to client secrets:
- Load automatically with a "require 'google/api_client'"
- Allow for signet >= 0.4.0
2013-08-06 18:46:11 +01:00
Skip Baney 4143d900e0 don't require faraday/utils; faraday already includes it 2013-08-02 17:13:15 -05:00
Juanito Fatas 370e01c4af Update to https for secure connection to rubygems.org. 2013-08-01 18:07:25 +08:00
Steve Bazyl a49e638475 Merge pull request #64 from phiggins/master
Update homepage in gemspec to point at Github.
2013-06-20 10:38:01 -07:00
Steven Bazyl 189473cc9e Remove example of deprecated use 2013-06-20 10:34:16 -07:00
Steven Bazyl 8aa50442ab Enable gzip compression 2013-06-19 17:37:38 -07:00
pete higgins 57f25bce5e Update homepage in gemspec to point at Github. 2013-06-19 16:46:34 -07:00
Steven Bazyl e8e2350612 Issue #57 - rewind body if possible when retrying 2013-06-18 16:35:38 -07:00
Steven Bazyl c45740b81c Fix normalization of parmeters keys 2013-06-18 15:51:46 -07:00
Steven Bazyl f63888ab61 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2013-06-18 12:16:03 -07:00
Steven Bazyl 903e568a65 No longer buffer chunks/files when using resumable upload 2013-06-18 12:15:02 -07:00
Steven Bazyl e27109078a Allow apps to override ca_file 2013-06-17 17:16:53 -07:00
Steve Bazyl cb7380d256 Merge pull request #61 from tardate/issue_mgmt
Update instructions in README to direct people to Github for issue reporting
2013-06-16 20:56:49 -07:00
Paul Gallagher 0bc54ed4c9 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
2013-06-16 20:16:25 +08:00
Paul Gallagher 2a975aa877 whitespace cleanup in readme 2013-06-16 20:15:06 +08:00
Steven Bazyl d1ca5308e9 Update faraday 2013-06-03 16:06:12 -07:00
Steven Bazyl f7307ec35d Remove unnecessary require 2013-05-31 17:22:18 -07:00
Steve Bazyl ef4e924a5c Merge pull request #52 from jeffposnick/master
Added support for caching OAuth 2 credentials to disk
2013-05-31 15:43:03 -07:00
Steven Bazyl d68dc4d27e Don't attempt resumable upload if initial response failed (Issue #32) 2013-05-31 15:41:00 -07:00
Steven Bazyl 35c38a1ce8 Minor cleanup on tests 2013-05-31 15:39:16 -07:00
Steven Bazyl 664e21290a Bundle root certs 2013-05-31 15:38:00 -07:00
Jeff Posnick fb67a021e7 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
2013-05-29 15:31:44 -04: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
Bob Aman 9cd5601134 Merge pull request #49 from dillonkearns/patch-1
Add syntax highlighting to README
2013-04-29 02:14:22 -07:00
Dillon Kearns ed0a8921c0 Add syntax highlighting to README 2013-04-28 19:37:19 -07:00
Steve Bazyl cc69b49b0e Merge pull request #47 from nevir/patch-2
Consider dropping sudo from "sudo gem install" in example
2013-04-20 23:14:11 -07:00
Steven Bazyl 0e1ac4ea6a Merge branch 'master' of https://github.com/google/google-api-ruby-client 2013-04-18 20:57:32 -07:00
Bob Aman e2991a0fa5 Merge pull request #46 from nevir/patch-1
Full jruby and rubinius coverage
2013-04-18 00:55:53 -07:00
Ian MacLeod a267e3453f Drop sudo from gem install 2013-04-17 22:50:58 -07:00
Ian MacLeod 747df1ad8b Full jruby and rubinius coverage 2013-04-17 22:46:53 -07:00
Steve Bazyl 2a6cc8e09e Merge pull request #43 from sanemat/feature/rubygems-org
Replace rubygems source
2013-04-15 11:03:09 -07:00