Commit Graph

822 Commits

Author SHA1 Message Date
James Healy 4b9a63c086 replace multi_json dependency with regular stdlib JSON
JSON has been part of the ruby stdlib since 1.9.0 (see
https://github.com/ruby/ruby/commit/af1c4167), and the latest version of
google-api-client requires ruby 2.0 or better so we can assume it's available
2016-02-25 13:27:33 +11:00
joker1007 fe7c377399 Add boolean test case 2016-02-25 05:34:39 +09:00
joker1007 4b6f5d0a2b Fix Hash value assignment in JsonSupport#getter_fn
because current version cannot send `false` value.
If given parameter is `false`, current version does not use it.
2016-02-25 02:48:02 +09:00
Steve Bazyl b191e60cfc Merge pull request #366 from joker1007/fix-apply_request_options
Assign `open_timeout` option in `apply_request_options`
2016-02-23 15:01:22 -08:00
joker1007 b0173dc57a Assign `open_timeout` option in `apply_request_options` 2016-02-24 02:55:55 +09:00
Steve Bazyl ee962bab45 Merge pull request #361 from jdrago999/patch-1
Update 'samples' link to 'samples' folder
2016-02-17 12:22:35 -08:00
John Drago 6692b24fa9 Update 'samples' link to 'samples' folder
The original samples link pointed to the (now) out of date examples for version 0.8 of this gem. I lost a few hours wondering why things were not working.

Hoping to save someone else the time I lost (and reap the karmic bounty thereof).
2016-02-17 10:32:38 -08:00
Steve Bazyl 09ef486aee Release 0.9.2 2016-02-10 14:02:17 -08:00
Steve Bazyl 9e6c912fcd Bump version 2016-02-10 14:02:08 -08:00
Steve Bazyl a68c43da9c Add people API, remove Mapsengine 2016-02-10 13:57:13 -08:00
Steve Bazyl 554c20d304 Merge pull request #347 from sunboshan/regexp-improvement
Cleaner code on regexp
2016-01-29 14:51:50 -08:00
Steve Bazyl d65a2edf0c Regenerate APIs 2016-01-29 14:32:46 -08:00
Steve Bazyl ed31a3bb64 Update class template to allow nil attributes values 2016-01-28 16:38:07 -08:00
boshan 0ce4387091 Cleaner code on regexp 2016-01-25 15:59:24 -08:00
Steve Bazyl ec574364a3 Merge pull request #345 from sunboshan/sample-cli-androidpublisher
Add sample: androidpublisher
2016-01-25 10:46:10 -08:00
boshan 46337aefff Add sample: androidpublisher 2016-01-22 12:03:05 -08:00
Steve Bazyl 3d4ec29fef Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-01-22 11:23:23 -08:00
Steve Bazyl 5e0ca266df Update DFA reporting from 2.1 -> 2.3 2016-01-22 11:23:05 -08:00
Steve Bazyl f6aa6b0615 Add note about hash->keyword expansion 2016-01-21 17:55:48 -08:00
Steve Bazyl 010094a78b Merge branch 'dsisnero-patch-2' 2016-01-21 11:38:02 -08:00
Steve Bazyl a8b8c559d3 Merge branch 'patch-2' of https://github.com/dsisnero/google-api-ruby-client into dsisnero-patch-2 2016-01-21 11:37:34 -08:00
Steve Bazyl f148e7c08e Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-01-21 11:36:49 -08:00
Steve Bazyl f663cb9aa8 Merge pull request #342 from sunboshan/fix-typo
Fix typo on README
2016-01-21 11:35:52 -08:00
boshan 7bae00bc9f Fixtypo on README 2016-01-20 20:52:58 -08:00
Steve Bazyl 1cc4f99ed3 Fix quote inconsistency 2016-01-20 14:55:38 -08:00
Steve Bazyl 74d0e5fe54 Release 0.9.1 2016-01-20 12:41:53 -08:00
Steve Bazyl 26efeb5057 Updates APIs & bump version 2016-01-20 12:41:43 -08:00
Steve Bazyl 59c088e100 Merge pull request #339 from ysksn/master
Add specs for Google::APIClient::ClientSecrets.new
2016-01-20 12:33:29 -08:00
Steve Bazyl c6cff40982 Merge pull request #338 from Nakilon/patch-1
required 'tempfile'
2016-01-20 12:32:33 -08:00
Steve Bazyl c27018d3c8 Fix translate sample 2016-01-20 12:24:20 -08:00
Steve Bazyl 87ed3e421b Add a small web sample showing incremental authorization & use of APIs 2016-01-20 12:21:08 -08:00
Yosuke Kabuto 54e974df43 Add specs 2016-01-20 00:42:34 +09:00
Victor 0948acd8bf required 'tempfile'
Otherwise I get:
```
gems/google-api-client-0.9/lib/google/apis/core/upload.rb:104:in `streamable?': uninitialized constant Google::Apis::Core::BaseUploadCommand::Tempfile (NameError)
```
when do
```
service.insert_file(metadata, upload_source: "temp.pdf")
```
2016-01-19 13:49:51 +03:00
dsisnero 3257469a69 Update base_cli for windows if ENV['HOME'] is set 2016-01-15 17:06:50 -07:00
Steve Bazyl 36a197d885 Release 0.9 2016-01-14 17:48:13 -08:00
Steve Bazyl 9e781bb05e Update changelog 2016-01-14 17:47:55 -08:00
Steve Bazyl 1864ea712f Bump version 2016-01-14 17:42:44 -08:00
Steve Bazyl 99a70f8a0a Regen APIs 2016-01-14 10:49:46 -08:00
Steve Bazyl 2533098484 Add option to force passing alt=json for some APIs that return xml by default 2016-01-14 10:48:40 -08:00
Steve Bazyl 64c1eb0941 Release 0.9.pre5 2016-01-07 16:24:10 -08:00
Steve Bazyl c530a350fc Update APIs 2016-01-07 16:23:51 -08:00
Steve Bazyl 8dcab2ace0 Bump version 2016-01-07 16:15:43 -08:00
Steve Bazyl 8c9f0e8b1f #299 - Add gmail send example 2016-01-07 15:32:17 -08:00
Steve Bazyl 451a0b6617 Include reason & message in API error when available 2016-01-07 14:28:34 -08:00
Steve Bazyl 2336c1a61a Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-01-07 11:42:12 -08:00
Steve Bazyl fd4ff04266 Refresh samples + add new ones for YouTube, Analytics 2016-01-07 11:41:45 -08:00
Steve Bazyl a0d99ba253 Merge pull request #330 from joker1007/enable-upload-to-use-tempfile
Add Tempfile to if statement of BaseUploadCommand#prepare!
2016-01-06 12:02:56 -08:00
joker1007 db1ab7d0b2 Add basename arg to Tempfile constructor 2016-01-07 03:39:53 +09:00
joker1007 4b78f99f7a Extract long condition statement to its own method 2016-01-06 14:35:23 +09:00
joker1007 da53defdc8 Add test case for Tempfile input 2016-01-06 14:29:58 +09:00