Commit Graph

1986 Commits

Author SHA1 Message Date
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
sanemat 1d6bc0df18 All tests pass in ruby 2.0 2013-04-14 22:51:24 +09:00
sanemat c4c16ad682 Change rubygems source
This solves deprecated message below:
$ bundle install
or
$ bundle exec rake spec:all

The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or
'http://rubygems.org' if not.
2013-04-14 22:48:05 +09:00
Steven Bazyl 4241e2c99e Update homepage link 2013-04-08 16:07:58 -07:00
Steven Bazyl bfafe1b0c8 Minor release 2013-03-25 21:37:52 -07:00
Steven Bazyl 4dc0665ccc Update autoparse version 2013-03-25 21:32:16 -07:00
Steven Bazyl e8b46f3cc2 Remove confusing alternate install option 2013-03-25 21:31:06 -07:00
Steven Bazyl d9033a4f2a Remove broken require 2013-03-18 12:31:59 -07:00
Steven Bazyl 0b45f0d8b6 Check for existance of Railties (instead of Rails) before loading railtie) 2013-03-18 12:22:12 -07:00
Steven Bazyl 34354325b8 Add contributor instuctions to docs 2013-03-17 16:33:44 -07:00
Steven Bazyl 2c38f9fd09 Fix referesh of oauth token when passing credentials as param 2013-03-17 16:33:27 -07:00
Steven Bazyl fee207e8bd Add guide for would-be contributors 2013-02-15 15:21:21 -08:00
Steven Bazyl 889102f6fb Mark failing test as pending 2013-02-15 14:25:25 -08:00
Steven Bazyl 4289ab5b5f restore irb import 2013-02-15 13:20:30 -08:00
Steven Bazyl ef4c5c1f2f Fix URI in batched request to allow query parameters 2013-02-15 13:13:58 -08:00
Steven Bazyl f421551018 Fix duplication of parameters in qeuery string 2013-01-22 22:14:50 -08:00
Steven Bazyl 0dafa5e4ee Minor release for updating signet 2013-01-18 09:21:13 -08:00
Steven Bazyl f369139b32 Minor release to fix service account impersonation 2013-01-14 17:00:58 -08:00
Bob Aman 47bdbc124e Merge pull request #23 from layby42/master
Pull request for #22
2013-01-12 09:47:15 -08:00