Commit Graph

1114 Commits

Author SHA1 Message Date
Steve Bazyl e9cc29cb4b Merge pull request #404 from xmjw/accept-symbol-for-credentail-flow
Google::APICilent::ClientSecrets Allow symbols for credential `flow`
2016-04-26 16:07:29 -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 1b2a607d9b #402 - Remove errant line 2016-04-25 10:51:01 -07:00
Steve Bazyl 1ee88320e9 #403 - allow nil dates 2016-04-25 10:49:00 -07:00
Steve Bazyl 0aa133f978 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-04-22 14:30:36 -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 9c2707649e Merge pull request #399 from teeparham/encoding
Remove comments specifying encoding
2016-04-18 16:22:39 -07:00
Nat Welch b0f82a3ba6 Merge pull request #400 from teeparham/test-files
Package fewer files in the gem
2016-04-18 09:39:05 -04:00
Tee Parham 5ce622ccd2 Package fewer files in the gem
* Do not distribute test files
* Do not distribute the intermediate api_names_out.yaml file

> Reduces the packaged gem size from 1.8Mb to 1.6Mb

The practice of not distributing test files with a gem was originally
discussed and adopted by the Bundler team here:
https://github.com/bundler/bundler/pull/3207
2016-04-17 14:27:13 -06:00
Tee Parham 6c325a9c50 Remove comments specifying encoding
In ruby 2.0, the default encoding is UTF-8, so these magic comment
directives can be safely removed.

https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
2016-04-17 12:44:21 -06:00
Steve Bazyl 0bb3352496 Release 0.9.5 2016-04-14 12:57:37 -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 e3d2a16a19 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-04-14 12:46:31 -07:00
Steve Bazyl f7bbb050cc Add youtube partner API, regenerate APIs 2016-04-14 11:15:27 -07:00
Steve Bazyl 50a07f8cb2 Merge pull request #372 from masonnl/issue-370-auth-with-env-variables
Add an authorization technique to the docs using env vars
2016-04-14 10:53:06 -07:00
Steve Bazyl 801056e208 Merge pull request #388 from laramiel/master
Set required ruby version > 2.0
2016-03-30 21:25:23 -04:00
Laramie Leavitt caedd1b978 Set required ruby version > 2.0 2016-03-30 17:48:55 -07:00
Steve Bazyl 5341c4ff19 Release 0.9.4 2016-03-11 14:44:13 -08:00
Steve Bazyl d2e51b4e7d Update changelog, readme, & version for next 0.9.4 release 2016-03-11 14:43:51 -08:00
Steve Bazyl 2b1f81246c Update generated APIs 2016-03-11 14:41:48 -08:00
Steve Bazyl 6e3342b671 Cache pages in fetch_all to allow multiple iterations 2016-03-11 14:24:27 -08:00
Steve Bazyl 0ebb4165ef Merge branch 'master' of https://github.com/google/google-api-ruby-client 2016-03-08 13:27:06 -08:00
Steve Bazyl f4453f6139 Add helper method for automatic paging 2016-03-08 13:26:28 -08:00
Steve Bazyl 5feda5da0b Merge pull request #371 from falonofthetower/master
Typo fix in README.md
2016-03-01 13:58:22 -08:00
Mason Neal 9a3892afd2 Add an authorization technique to the docs using env vars
[Google Auth](https://github.com/google/google-auth-library-ruby) supports environment varibales as a means of authorizing service apps.
2016-03-01 08:23:46 -08:00
Peter Karth 9234b9d208 Typo fix
Fixed line in README.md in Callbacks section an => can
2016-03-01 01:59:54 -05:00
Steve Bazyl ec35307efc Release 0.9.3 2016-02-26 09:28:34 -08:00
Steve Bazyl 6c9feb04e0 Bump version for 0.9.3 release 2016-02-26 08:37:45 -08:00
Steve Bazyl 496d795e4c #364 - Remove active support from gemspec 2016-02-25 15:19:05 -08:00
Steve Bazyl 456bf333f6 Regen APIs 2016-02-25 15:16:53 -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
Steve Bazyl 439891c523 Merge pull request #368 from yob/multi-json
replace multi_json dependency with regular stdlib JSON
2016-02-25 09:24:57 -08:00
Steve Bazyl f73b661c6c Merge pull request #369 from yob/add-2-3-0-to-travis
include ruby 2.3.0 in the CI build matrix
2016-02-25 09:23:12 -08:00
joker1007 880b0f8acf Use Hash#fetch 2016-02-25 12:36:55 +09:00
James Healy 5d5dd98df8 include ruby 2.3.0 in the CI build matrix
MRI 2.3.0 was released on 2015-12-25, so it'd be good to ensure
compatibility
2016-02-25 13:35:21 +11: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 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