Commit Graph

372 Commits

Author SHA1 Message Date
Steve Bazyl 95c3cf0b65 Bump version, remove stray puts statements 2016-08-17 10:24:45 -07:00
Steve Bazyl df3e9a3c32 Inflector customizations for codegen 2016-08-08 13:21:22 -07:00
Steve Bazyl cba9d79b52 Regen APIs, bump version 2016-07-06 14:13:29 -07:00
Steve Bazyl b4842fc28b Bump version 2016-06-24 10:04:05 -07:00
Steve Bazyl d8286f642c Prefer mimetype columnar store if available to reduce mem footprint 2016-06-23 12:44:06 -07:00
Steve Bazyl edb841310f Gracefully handle nil collections when paging 2016-06-23 12:43:37 -07:00
Steve Bazyl 2c32eb97a3 Bump version 2016-06-09 13:24:28 -07:00
Yosuke Kabuto 07d8f22612 Remove white spaces 2016-05-29 19:51:36 +09:00
Steve Bazyl dffa167d5f Bump version 2016-05-25 09:19:25 -07:00
Steve Bazyl aecb78f77f Bump version 2016-05-16 09:50:44 -07:00
Steve Bazyl 26d3e365c7 Bump version 2016-04-27 10:22:47 -07:00
Michael Wawra 74bbfa2251 Allow symbols for credential flow
Because of my production environment, adding a JSON file a little bit of
a pain. However: using the intializer it's readily possible to set my
credentials manually from my environment. I noticed that while all the
credential details can be either a String or a Symbol, the 'flow' (i.e.,
`web`) **must** be a string.

This allows it to accept both a string and a symbol.
2016-04-26 22:41:32 +01:00
Steve Bazyl 1ee88320e9 #403 - allow nil dates 2016-04-25 10:49:00 -07:00
Steve Bazyl 0155b81771 Rewind output stream if requesting partial content but get the full media body instead 2016-04-22 14:30:30 -07:00
Steve Bazyl d5ff570cda Bump version 2016-04-14 12:57:27 -07:00
Steve Bazyl 4e19ae601f #389 - Add option to bypass Rails logger + update readme 2016-04-14 12:54:58 -07:00
Steve Bazyl d2e51b4e7d Update changelog, readme, & version for next 0.9.4 release 2016-03-11 14:43:51 -08:00
Steve Bazyl 6e3342b671 Cache pages in fetch_all to allow multiple iterations 2016-03-11 14:24:27 -08:00
Steve Bazyl f4453f6139 Add helper method for automatic paging 2016-03-08 13:26:28 -08:00
Steve Bazyl 6c9feb04e0 Bump version for 0.9.3 release 2016-02-26 08:37:45 -08:00
Steve Bazyl 47a02e897e #363 - Add convenience methods for json parsing/formatting to generated objects 2016-02-25 14:37:00 -08:00
Steve Bazyl 07ca6e8ca0 Handle SocketError. #359 2016-02-25 13:30:27 -08:00
Steve Bazyl e67964189e Drop active support as a hard runtime depdendency. Still required for code generation however. #364 2016-02-25 13:06:16 -08:00
Steve Bazyl acf2b0ec61 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-02-25 09:39:46 -08:00
Steve Bazyl 2c1fd125e9 #369 - Form encode paramaters when method == post/put and no other body present 2016-02-25 09:35:38 -08:00
Steve Bazyl 7d00754d7f Merge pull request #367 from joker1007/fix-hash-assignment
Fix Hash value assignment in JsonSupport#getter_fn
2016-02-25 09:34:39 -08:00
joker1007 880b0f8acf Use Hash#fetch 2016-02-25 12:36:55 +09:00
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 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
joker1007 b0173dc57a Assign `open_timeout` option in `apply_request_options` 2016-02-24 02:55:55 +09:00
Steve Bazyl 9e6c912fcd Bump version 2016-02-10 14:02:08 -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 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 1cc4f99ed3 Fix quote inconsistency 2016-01-20 14:55:38 -08:00
Steve Bazyl 26efeb5057 Updates APIs & bump version 2016-01-20 12:41:43 -08:00
Steve Bazyl c6cff40982 Merge pull request #338 from Nakilon/patch-1
required 'tempfile'
2016-01-20 12:32:33 -08: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
Steve Bazyl 1864ea712f Bump version 2016-01-14 17:42:44 -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 8dcab2ace0 Bump version 2016-01-07 16:15:43 -08:00
Steve Bazyl 451a0b6617 Include reason & message in API error when available 2016-01-07 14:28:34 -08:00
joker1007 4b78f99f7a Extract long condition statement to its own method 2016-01-06 14:35:23 +09:00
joker1007 df07478009 Add Tempfile to if statement of BaseUploadCommand#prepare! 2016-01-05 20:19:11 +09:00
Steve Bazyl 1715fc9945 Fix #326 - Normalize query parameters to allow falsey values 2015-12-20 15:22:13 -08:00
Steve Bazyl 4173efe67b Fix #327 - Don't break Module.hash 2015-12-20 14:39:54 -08:00
Steve Bazyl e8481dd14d Use HTTPClient instead of Net::HTTP 2015-12-18 14:37:21 -08:00
Steve Bazyl c102c571e0 Release 0.9.pre4 2015-12-17 13:34:38 -08:00
Steve Bazyl d47e96c572 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-12-16 11:34:10 -08:00
Steve Bazyl ccd8a40eb9 Update version, changelog 2015-12-16 11:34:05 -08:00