Commit Graph

584 Commits

Author SHA1 Message Date
Google APIs ef16956d28 0.16.0 2017-11-02 19:54:12 +00:00
bantini 6e2276cb80 Handle recursive hashes (#621)
This fixes the generator for cases where one of the entries of the
"schemas" object returned by the Discovery service is a recursively
defined map.

Fixes #608
2017-10-12 10:57:57 -07:00
Google APIs 26a9af5e19 0.15.0 2017-10-09 01:32:07 +00:00
Google APIs 9eab574cdd 0.14.5 2017-10-02 01:31:59 +00:00
Google APIs 23f470553f 0.14.4 2017-09-25 01:32:03 +00:00
Google APIs bfd7543fb8 0.14.3 2017-09-22 06:12:28 +00:00
Google APIs 156d18dedc 0.14.2 2017-09-22 06:09:34 +00:00
Sai Cheemalapati 61857c16bb Release 0.14.1 2017-09-18 12:45:52 -07:00
Sai Cheemalapati 2a4efbf3b9 Allow retry on Signet::AuthorizationError (#611) 2017-09-18 12:40:11 -07:00
Google APIs bc4644ca5e 0.14.0 2017-09-18 01:32:14 +00:00
Google APIs 80a05c98b8 0.13.6 2017-09-11 01:32:26 +00:00
Google APIs d6eb6def76 0.13.5 2017-09-04 01:32:17 +00:00
Google APIs d62c7145a2 0.13.4 2017-08-28 01:32:16 +00:00
Google APIs 413db9c289 0.13.3 2017-08-26 01:35:42 +00:00
Sai Cheemalapati ce32deabcf Release 0.13.2 2017-08-25 11:44:07 -07:00
Sai Cheemalapati b87af01703 Allow automatic method name clash resolution (#605)
If the method name is generated from the request type, there is a
possibility of a clash if two methods take the same request type. For
example, if two unique methods take the request type
"CreateRoleRequest", both methods will be generated with the method name
"create_role", which causes generation to fail with an exception.

This commit resolves that issue by first generating a method name from
the request type of each method, and keeping track of which names are
duplicates. For methods that will generate a duplicate name from the
request type, the name is generated from the method ID instead (the
resulting name is guaranteed to be unique).
2017-08-18 18:35:22 -04:00
Steve Bazyl 8e701f7f41 Merge pull request #593 from janko-m/avoid-rewinding-on-full-response
Recover from non-Ranged responses without rewinding
2017-08-03 11:49:29 -06:00
Sai Cheemalapati 74c0242266 Make the generator deterministic (#601) 2017-07-18 09:56:05 -07:00
Steve Bazyl a9901b82e0 Regenerate APIs 2017-07-12 14:10:42 -06:00
Janko Marohnić 0eeb3ee9f9 Recover from non-Ranged responses without rewinding
Not all IO objects know how to #rewind themselves. For example, Ruby
pipes (returned by `IO.pipe`) do implement #rewind, but they will throw
an error if you try to call it.

  rd, wr = IO.pipe
  wr.rewind # Errno::ESPIPE: Illegal seek

But we don't need to rewind and overwrite the IO object if we didn't get
the Ranged response we expected, we could instead wait out the content
that has already been downloaded, and start appending again once we
reached where we left off. This is what this commit does.
2017-06-23 11:22:37 +02:00
Sai Cheemalapati 749539e46a Bump version, regen APIs
Revert api_names.yaml to pick up the manual overrides lost in v0.12.0
2017-06-14 10:06:42 -07:00
Sai Cheemalapati 3f26743ef7 Bump version, regen APIs
Delete services which are no longer discoverable:
 - adexchangebuyer:v1_3
 - appengine:v1beta4
 - appengine:v1beta5
 - autoscaler:v1beta2
 - classroom:v1beta1
 - cloudkms:v1beta1
 - cloudlatencytest:v2
 - container:v1beta1
 - coordinate:v1
 - datastore:v1beta2
 - datastore:v1beta3
 - deploymentmanager:v2beta2
 - dfareporting:v2_1
 - dfareporting:v2_3
 - dfareporting:v2_5
 - dfareporting:v2_6
 - gan:v1beta1
 - genomics:v1beta2
 - logging:v1beta3
 - manager:v1beta2
 - pubsub:v1beta2
 - tracing:v1

Also include fixes in the gemspec file recommended by the package
script.
2017-06-02 00:27:33 -07:00
Sai Cheemalapati e3792b19d2 Add Hash support to fetch_all (#586)
This commit aligns the behavior of `fetch_all` over map responses with
that of arrays (returning a single collection with all entries).
2017-06-01 23:52:09 -04:00
Steve Bazyl 9237ba59cb Bump version, regen APIs 2017-05-26 10:44:32 -06:00
Steven Bazyl 6a4e9184e7 Allow using v2 error messages + fix to_json signature to allow arbitrary args 2017-05-19 17:16:22 -06:00
Sai Cheemalapati 7b5a460934 Regen APIs and bump version
This commit also adds `dfareporting:v2.8`.
2017-05-04 12:35:56 -07:00
Steve Bazyl ff5eb3670d Bump version for minor release 2017-04-04 13:47:17 -07:00
sonots ed27c6ec07 remove print debug 2017-04-04 17:36:46 +09:00
Steve Bazyl 48916bfce7 Merge branch 'master' of https://github.com/sqrrrl/google-api-ruby-client into sqrrrl-master 2017-04-03 12:31:20 -07:00
Steve Bazyl 4682267161 Move timeouts from request to clientoptions, update migration/changelog 2017-04-03 11:10:54 -07:00
Steve Bazyl 97ff7f4d9a #475, #488 -- allow raw JSON if explicitly requested, fix empty body handling & test cleanup 2017-03-31 15:26:51 -07:00
Steve Bazyl 489378db58 Ensure content length when empty body, hook up httpclient to logger when debugging 2017-03-31 14:59:07 -07:00
Steve Bazyl c9e0d52d96 Merge branch 'master' into v0.10 2017-03-31 13:04:01 -07:00
Steve Bazyl 70236aca40 Regen APIs & bump version 2017-03-31 12:53:27 -07:00
Steve Bazyl 51b41edb1c #474 - Clarify that base64 properties are automatically encoded/decoded. 2017-03-31 12:27:30 -07:00
Steve Bazyl bdc903776d Fix inflection for teamdrives, better logging for conflicting names 2017-03-31 11:22:28 -07:00
Steve Bazyl cc80d64a75 Update generator to output conflicting paths when duplicate name generated 2017-03-30 15:32:02 -07:00
Steve Bazyl 5447ddb7c0 Don't normalize unicode in templates (fixed #557 + GCS issues) 2017-03-30 12:33:49 -07:00
Steve Bazyl c4d0ed5d3c Merge branch 'master' into v0.10 2017-03-29 16:25:34 -07:00
Thomas Coffee 123d118d78 Regen APIs 2017-03-27 15:14:47 -07:00
Steven Bazyl 5804593f25 Tighten validation around batch operations 2017-03-13 13:40:15 -07:00
Thomas Coffee 899864d0fe Regen APIs and add cloudkms:v1 2017-03-10 13:11:09 -08:00
Steven Bazyl 687223feb4 Update generator to use batchPath instead of hardcoded path 2017-03-06 12:24:30 -08:00
Sai Cheemalapati 4447d65a96 Regen APIs and bump version (#540) 2017-02-13 15:28:52 -08:00
Sai Cheemalapati 4f143ae551 Bump `representable` dependency to 3.0 (#532)
Also fixes a breaking change introduced between `representable` 2.3 and
3.0. Specifically, `:skip_undefined` is now be passed via the
`:user_options` option.
2017-02-13 12:24:14 -08:00
Thomas Coffee 235fd7abcc Fix file permissions issue 2017-02-08 09:35:14 -08:00
Thomas Coffee 16f0a768f7 Allow abnormal page token cases for paging methods
Addresses https://github.com/googleapis/toolkit/issues/692.

Manual changes are in:
lib/google/apis/core/base_service.rb
spec/google/apis/core/service_spec.rb
2017-02-03 12:09:18 -08:00
Austin Wang e9d7e47c75 Update check_status to better support different types of errors (#517) 2017-02-01 23:20:19 -08:00
Sai Cheemalapati 71df0fe92a Bump version and update CHANGELOG.md 2017-01-27 19:54:17 -08:00
Sai Cheemalapati 12ba6ef946 Bump version and update CHANGELOG.md 2017-01-27 19:45:56 -08:00
Sai Cheemalapati 28a8318989 Regen APIs and add dfareporting:v2.7 (#524)
Also bump version.
2017-01-24 23:37:13 -08:00
Sai Cheemalapati 15dd35cd50 Bump version 2017-01-20 15:34:05 -08:00
Sai Cheemalapati bf100a7446 Bump version 2017-01-20 11:09:38 -08:00
Sai Cheemalapati 0edc957a46 Regen APIs 2017-01-20 10:56:42 -08:00
Steve Bazyl 1f7cb2446a Add slides_v1, regenerate APIs 2016-11-08 15:43:14 -08:00
Steve Bazyl d4286e35a2 Regen APIs 2016-10-20 13:15:24 -07:00
Thomas Coffee 1f4537989b Update version tag 2016-10-14 15:54:55 -07:00
Thomas Coffee 204359d4cb Regen APIs 2016-10-12 15:52:51 -07:00
Thomas Coffee c0e7fc9249 Regenerate APIs and bump version 2016-10-04 12:47:28 -07:00
Steve Bazyl f650a39e16 Add datastore_v1, bump version 2016-09-20 11:55:45 -07:00
Steve Bazyl fd722a72b3 Bump version 2016-09-19 14:44:28 -07:00
Steve Bazyl a68b8cb758 #467 - Restore error handling for failed downloads 2016-09-19 14:16:36 -07:00
Steve Bazyl e13da8e05e Tighten use of form-encoding to only cases where a JSON body is not ever allowed 2016-09-08 13:40:30 -07:00
Steve Bazyl 0dc543205e add language_v1beta1 and speech_v1beta1 APIs, bump version 2016-08-31 13:33:12 -07:00
Steve Bazyl 70596d26f6 #459 - Fix iteration for genomics API which only has 1 item per page 2016-08-31 13:26:24 -07:00
Steve Bazyl ecc107f805 Update changelog/version 2016-08-17 15:40:17 -07:00
Steve Bazyl 39d0a164b5 Update generator to correctly handle int64/uint64 types as fixnum/bignum instead of strings 2016-08-17 15:27:23 -07:00
Steve Bazyl 2c190e9745 Update representable, mimetype dependencies + others 2016-08-17 14:38:25 -07:00
Steve Bazyl 2578736b44 #445 - Treat 429 status codes as rate limit errors 2016-08-17 13:58:07 -07:00
Steve Bazyl 2046e00f14 Remove Hurley as a dependency 2016-08-17 13:51:09 -07:00
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
Steve Bazyl 9e738cc82a Mark auth classes as deprecated 2015-12-14 17:42:17 -08:00
railscard f51a4f25a9 Allow http command to keep initial query parameters 2015-12-14 06:16:31 +04:00
Steve Bazyl 0d07ea17f1 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2015-12-02 17:12:21 -08:00
Steve Bazyl e399d04d33 Tweak method name generation 2015-12-02 17:09:44 -08:00
Steve Bazyl 6c75e89cfe Merge pull request #310 from amitree/master
No longer swallowing errors from block passed to execute
2015-12-02 17:09:01 -08:00
Steve Bazyl a1b5f6c2d2 Issue #290 - Fix redirects during downloads, only stream body content on 20x response. Includes temporary patch to Hurley until 0.3 released 2015-12-02 15:52:30 -08:00
Steve Bazyl 5822e75f34 Fix #313 - Don't retry uploads marked as final/cancelled and return original error 2015-11-30 15:35:18 -08:00
Tony Novak 9535ffa44c No longer swallowing errors from block passed to execute
Fixes #309
2015-11-20 09:32:43 -05:00
Steve Bazyl 8b296b148e #286 - Send content-id in batch requests 2015-10-19 15:36:24 -07:00
Steve Bazyl ed40d7b750 #278 - Add option for connection timeouts 2015-10-02 13:42:47 -07:00
Steve Bazyl 859fd8503f #287 - set default options if not passed in 2015-10-02 13:41:59 -07:00
Steve Bazyl 81a061cb80 Fix #292 - ensure multivalued parameters are encoded correctly 2015-10-02 13:31:19 -07:00
Steve Bazyl 669aaf01a4 Merge pull request #273 from rusikf/patch-5
add more detail specs for client_secrets.rb + fix docs
2015-08-19 12:20:56 -07:00
Steve Bazyl b5d62db691 Merge pull request #272 from rusikf/patch-4
fix RequestOptions#merge + test for default options
2015-08-19 12:20:29 -07:00
Ruslan Korolev 19ead52094 add more detail specs for client_secrets.rb + fix docs 2015-08-19 21:03:53 +03:00
Ruslan Korolev f4f8b41017 fix RequestOptions#merge + test for default options 2015-08-18 14:13:21 +03:00
Steven Bazyl 9c40b96d85 Avoid overwritting parameters with local vars in method template 2015-08-13 12:08:28 -07:00
Steven Bazyl 4da6f47ff0 Bump version 2015-07-30 17:07:49 -07:00
Steven Bazyl c9da9f38d1 Make required query parameters required. 2015-07-30 17:05:05 -07:00
Steven Bazyl 6c3089bdf5 Bump version 2015-07-24 22:48:01 -07:00
Steve Bazyl 3a55309671 Merge pull request #258 from jasonwbarnett/fix-installed-app-example
updated example so that it works and is more relevant to the new api
2015-07-24 22:38:12 -07:00
Steven Bazyl 297db0eb66 Fix date formatting to include milliseconds, drop virtus 2015-07-24 22:36:01 -07:00
Jason Barnett 69c1eabb01 updated example so that it works and is more relevant to the new api 2015-07-20 16:53:06 -07:00
Steven Bazyl a3bec66216 Allow signet options to be passed through when authorizing 2015-07-20 12:37:03 -07:00
Steven Bazyl 2a9fd28176 Expose HTTP status code & body in errors 2015-07-20 12:36:13 -07:00
Steven Bazyl d04c8fa4c5 Update a few broken doc tags 2015-06-25 16:10:51 -07:00
Steven Bazyl a1722c00e7 Move scope @private tag to Representation so data classes are documented 2015-06-25 16:10:21 -07:00
Steven Bazyl f584a2cec8 Import refactored library. See MIGRATING.MD for details 2015-06-23 15:15:14 -07:00
Steven Bazyl 9b7809174d Nuke it from orbit, it's the only way to be sure 2015-04-16 17:21:38 -07:00
Steve Bazyl 82f69445ad Merge pull request #217 from sudiptachatterjee/master
Updating success logic
2015-04-16 16:38:26 -07:00
dsisnero c24c1432cb Update result.rb
guard next_page and prev_page for when no page_tokens are available
2015-04-15 16:25:00 -06:00
Tim Emiola 15853007bf Bump version to 0.8.6 2015-04-14 17:19:56 -07:00
remi Taylor 94a979b512 Respect discovered methods with colons in path 2015-04-13 21:38:47 -07:00
Sudipta Chatterjee 1cea86609b Updating success logic
Updating the definition of SUCCESS response code to be 200 OK or 201
Continue. Error is anything that isn't success. This helps flag
conditions like an unsuccessful update (return code 304) which the
library would have flagged as success earlier
2015-04-10 16:12:37 -07:00
Tim Emiola 0003e564b1 Merge pull request #213 from remi/respect-discovered-rootUrl
Use discovered 'rootUrl' as base URI for services
2015-04-07 18:55:56 -07:00
remi Taylor 6aa156daa7 Remove trace statements 2015-04-06 22:47:31 -07:00
remi Taylor 1ed677b796 Use discovered 'rootUrl' as base URI for services 2015-04-06 21:38:42 -07:00
Tim Emiola ae8a15ce76 Release 0.8.5 2015-03-31 17:01:35 -07:00
Tim Emiola f008d518f0 Release 0.8.4
- minor updates from the 0.8.3 release to fix file permissions in the released gem.
- fixes a warning when using the gem
2015-03-25 18:31:54 -07:00
Mike Moore 3eb18d6011 Fix warning: shadowing outer local variable
Versions of ruby deal with shadowing in different ways. Best to avoid it when possible.

Addresses the following warnings:

lib/google/api_client/auth/key_utils.rb:34: warning: shadowing outer local variable - passphrase
lib/google/api_client/auth/key_utils.rb:52: warning: shadowing outer local variable - passphrase
2015-03-25 17:14:45 -06:00
Mike Moore 4d81ad116a Fix warning: instance variable not initialized
Initialize the variables to avoid the warning.

Addresses the following warnings:

lib/google/api_client/auth/storage.rb:51: warning: instance variable @authorization not initialized
lib/google/api_client/batch.rb:128: warning: instance variable @global_callback not initialized
2015-03-25 17:10:00 -06:00
Mike Moore 1dd5c2820a Fix warning: File.exists? is deprecated
File.exist? should be used instead.
Might consider using File.file? instead of File.exist? since File.exist? will
return true when given the path of a file or a directory.

Addresses the following warning:

lib/google/api_client/service/simple_file_store.rb:127: warning: File.exists? is a deprecated name, use File.exist? instead
2015-03-25 17:06:20 -06:00
Mike Moore 349c26fa8b Fix warning: assigned but unused variable
There are several places where varaibles are assigned but not used.
The variables can be replaced with _, or prepended with _ to avoid a warning.
In one case the variable was removed because it was at the end of the method.

Addresses the following warnings:

lib/google/api_client.rb:493: warning: assigned but unused variable - key
lib/google/api_client/batch.rb:168: warning: assigned but unused variable - callback
lib/google/api_client/batch.rb:227: warning: assigned but unused variable - base
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - protocol
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - reason
lib/google/api_client/request.rb:247: warning: assigned but unused variable - request_env
2015-03-25 17:03:20 -06:00
Tim Emiola da6977f8ad Version bump, and updates the googleauth dependency 2015-03-23 18:51:22 -07:00
Tim Emiola da7616d99d Adds simple integration with googleauth 2015-03-09 17:52:43 -07:00
Steven Bazyl 944167de1b Minor release 2015-01-09 16:05:40 -08:00
Steven Bazyl 28adb02b60 #189 - Fix legacy file storage 2015-01-09 16:02:40 -08:00
Steven Bazyl dcd1eb916a Fix logger, take #2 2014-12-19 15:45:20 -08:00
Steven Bazyl 0d0bba2458 Bump version 2014-12-18 09:23:54 -08:00
Néstor Coppi 415dc31c97 Set app logger
For issue #183 I have the same problem with Rails 4.1.6 and Ruby 2.1 with that, we have covered some cases ^^
2014-12-18 11:07:17 -03:00
Steven Bazyl 63ccd91836 Update changelog & bump version 2014-12-17 12:59:54 -08:00
Steven Bazyl 8e49ee764b Resolve merge conflict 2014-12-17 12:39:57 -08:00
Steven Bazyl b9639ee11c #158 - guard against missing page tokens when building next/prev page requests 2014-12-16 20:57:12 -08:00
Steven Bazyl d999033fd6 #159 - Excute batch requests using the service's connection 2014-12-16 20:52:57 -08:00
Steven Bazyl 2622ebf8dc Add minimal tests for ClientSecrets 2014-12-16 13:47:26 -08:00
Steven Bazyl fda7288859 #160 - Add option to set encoding of response body 2014-12-16 12:29:11 -08:00
Steven Bazyl 74134bf873 Resolve merge conflict, update rspec syntax and docs 2014-12-15 13:41:10 -08:00
Steven Bazyl 8510735db8 Resolve merge conflict, update rspec syntax 2014-12-15 13:32:54 -08:00
Steven Bazyl 262ebe3d52 Fix typo in sample 2014-12-15 13:02:51 -08:00
Steven Bazyl ec670e9fa0 Resolve merge conflict 2014-12-15 11:50:16 -08:00
Steven Bazyl 0244bf13b3 Update depdencies, simplify gem management 2014-12-15 11:44:51 -08:00
Pascal Brogle 66a1e15a82 only upload media if there is one 2014-12-07 10:43:30 +01:00
Christian-G 0fda40c21f Added HTTP Proxy support 2014-12-03 15:52:00 +01:00
Abdelkader Boudih 2ba98c3332 Dropped uuidtools 2014-10-08 12:03:28 +00:00
Abdelkader Boudih b2343e24a5 Use ActiveSupport instead of extlib 2014-10-08 12:03:28 +00:00
Abdelkader Boudih 1a414e7f0d prefer AS's Inflector over Extlib 2014-10-08 12:02:36 +00:00
Abdelkader Boudih 39c3e81e26 So many versions!! 2014-10-08 12:02:36 +00:00
Abdelkader Boudih e313235b55 Replace deprecated method that cause ruby warnings File.exit? 2014-10-08 12:02:36 +00:00
Abdelkader Boudih 9c7e953d1b Use the app logger and require railtie 2014-10-08 12:01:32 +00:00
Sérgio Gomes fda7086f43 Merge pull request #94 from programmiersportgruppe/master
Shutdown WEBrick server used in installed app flow
2014-09-17 15:56:26 +01:00
Sérgio Gomes f926429461 Fixing issue with service-style batches and requests with bodies 2014-08-15 09:49:59 +01:00
Janis Kesteris 2f88bc5487 allows to pass FaraDay options furthur to FaraDay configuration block upon client initialization 2014-07-29 15:06:45 +02:00
Doug Henderson 17092bb129 Unit test updates + ensure auth retry only done once per execute 2014-03-13 13:13:44 -07:00
Doug Henderson 2bed0748ab Add auto retry logic for auth expiry separate from normal failure retry 2014-03-13 11:20:08 -07:00
Steven Bazyl bfa5225766 Tweak retry policy. 40x errors aren't typically recoverable other than 401s in the case of expired access tokens. Even then, 1 retry is enough 2014-01-30 17:27:16 -08:00
Steven Bazyl df72a3681d Minor release to update retriable dependency lost when merging 2014-01-23 13:31:45 -08:00
Steven Bazyl c06f4edb1e Set content length for media uploads 2014-01-22 15:32:35 -08:00
Steven Bazyl 5326f5c2a7 fix rand call 2014-01-22 15:09:22 -08:00
Steven Bazyl 1819e16f19 Add retry support & redirect following 2014-01-22 13:54:06 -08:00
Steven Bazyl ddbc978b52 Bump version 2014-01-16 13:45:14 -08:00