Commit Graph

561 Commits

Author SHA1 Message Date
Google APIs 7ddf939d4c 0.29.1 2019-05-06 01:32:24 +00:00
Google APIs ee8d8f589f 0.29.0 2019-05-02 02:52:14 +00:00
Google APIs 4008a2d3a9 0.28.7 2019-04-08 01:32:29 +00:00
Google APIs 89a53d6bf2 0.28.6 2019-04-01 01:32:29 +00:00
Google APIs cc9602f602 0.28.5 2019-03-26 22:49:37 +00:00
soylent 56df9903e1 Fix exception when API desc doesn't contain blacklisted params (#768) 2019-03-20 14:58:19 -07:00
Mike Moore 6e90789b27
Handle bad response errors without response object (#765)
We have received word that a bad proxy setting can cause this behavior.

[fixes #764]
2019-02-14 14:14:34 -07:00
Google APIs 06a01959cf 0.28.4 2019-02-11 01:32:21 +00:00
Google APIs 91200922ba 0.28.3 2019-02-04 01:32:47 +00:00
Google APIs ab7be94388 0.28.2 2019-01-31 22:56:10 +00:00
Daniel Azuma 9b43faa06e
Redact response logs for certain cases (#757) 2019-01-30 14:14:21 -08:00
Google APIs 960a8aa5d3 0.28.1 2019-01-28 01:32:19 +00:00
Google APIs 10e54b41cc 0.28.0 2019-01-21 01:32:24 +00:00
Google APIs 52e72b0d52 0.27.3 2019-01-14 01:32:37 +00:00
Google APIs f89c52a585 0.27.2 2019-01-07 19:59:23 +00:00
Daniel Azuma 55320753c7
Change logged representation of certain classes (#752) 2019-01-03 22:48:27 -08:00
Google APIs f5317fe910 0.27.1 2018-12-24 01:32:13 +00:00
Google APIs ff6778221f 0.27.0 2018-12-17 01:32:21 +00:00
Google APIs 694d947baf 0.26.0 2018-12-10 19:22:06 +00:00
Daniel Azuma 5f4abfdfec
Don't crash the generator if api_names_out.yaml is absent (#746) 2018-12-05 14:54:11 -08:00
Daniel Azuma ce9de93a55
Prevent errors loading deprecated installed_app file if launchy is not present (#745) 2018-12-05 10:51:45 -08:00
Janko Marohnić e20e6bdffd Allow download destination to only respond to #write (#638)
According to the documentation the destination IO only needs to respond
to #write. However, the downloader breaks this by calling #flush.

We fix this by calling #flush only if the destination IO responds to
that method. We also add a test to enforce that the destination IO only
needs to respond to #write.
2018-12-04 13:09:11 -08:00
Mike Moore d6247a7794 Add custom inspect to Google::Apis:Error (#729)
Add the status_code, header, and body values to inspect when present.
These values can help users understand why they are getting errors,
but many users don't know to look for them.
Adding the values to inspect should help discoverability.
2018-12-04 12:06:24 -08:00
Graham Paye ee49501c6c
fix windows test failures (#736) 2018-11-26 13:22:07 -08:00
Google APIs eefc74fbdc 0.25.0 2018-11-06 21:44:42 +00:00
Daniel Azuma 50c4897e18
OpenCensus integration for outgoing requests (#724) 2018-10-10 13:23:11 -07:00
Google APIs 50b57cd23d 0.24.3 2018-10-09 17:48:29 +00:00
Google APIs c3f4b166f1 0.24.2 2018-09-24 18:49:38 +00:00
Yoann Lecuyer 224497c4a3 Add Signet::UnexpectedStatusError (#711) 2018-09-24 11:46:31 -07:00
Google APIs d120e03acc 0.24.1 2018-09-24 01:32:26 +00:00
Google APIs e207129134 0.24.0 2018-09-17 01:32:14 +00:00
Google APIs 30a85c9699 0.23.9 2018-09-10 01:32:20 +00:00
Google APIs b32ee9b969 0.23.8 2018-09-03 01:32:19 +00:00
Graham Paye 61e414e8ed
make signet dependency explicit (#709) 2018-08-28 08:56:55 -07:00
Google APIs 1b73c2176b 0.23.6 2018-08-27 01:32:23 +00:00
Google APIs e1f7b734d1 0.23.5 2018-08-22 21:30:37 +00:00
Daniel Azuma 406fcb0032
Add logging to gemfile to fix specs (#707)
* Add logging to gemfile to fix specs
* Get rid of huge puts in the generator test that was overwhelming travis
* Fix HTTP tests by making the new Signet::RemoteServerError retriable
2018-08-22 13:42:05 -07:00
Google APIs 24be95a758 0.23.4 2018-07-16 01:32:21 +00:00
Google APIs ce7e85ad7c 0.23.3 2018-07-09 01:32:25 +00:00
Google APIs 644db0f47b 0.23.2 2018-07-06 20:17:06 +00:00
Google APIs e07570b2a7 0.23.1 2018-07-05 15:59:10 +00:00
Google APIs 42ae732f65 0.23.0 2018-06-04 01:32:25 +00:00
Google APIs 1e49fa70ec 0.22.0 2018-05-28 01:32:25 +00:00
Google APIs 035d1a2e21 0.21.2 2018-05-21 01:32:18 +00:00
Google APIs 6e3719a4bf 0.21.1 2018-05-14 01:32:14 +00:00
Google APIs 3e775eb600 0.21.0 2018-05-11 20:22:13 +00:00
Matt Whisenhunt 5e38f38e10 WIP: Change IPv4 to Ipv4 before interpetting it as camel case. (#669) 2018-04-17 10:11:38 -07:00
Google APIs b56f774027 0.20.1 2018-04-09 01:32:29 +00:00
Google APIs 39761cf42f 0.20.0 2018-04-03 18:06:03 +00:00
Sergey Ponomarev 3bffde39e2 Add Ruby 2.5 support (#648)
* Fix os version detection not to include newline
* Add ruby 2.4 and 2.5 to CI
2018-03-22 08:29:35 -07:00
Grant Timmerman 95a94c41db
Merge pull request #643 from albertoalmagro/fix-json-representation-typo
Fix little typo on docs
2018-02-21 15:18:14 -08:00
Google APIs 66f4337393 0.19.8 2018-02-19 01:32:26 +00:00
Google APIs 6f96104e4f 0.19.7 2018-02-12 01:32:17 +00:00
Google APIs 28f2e43829 0.19.6 2018-02-05 01:32:07 +00:00
Google APIs 05183922d8 0.19.5 2018-01-29 01:32:11 +00:00
Google APIs 3c75e37d94 0.19.4 2018-01-22 01:32:12 +00:00
Google APIs 3bab1d199a 0.19.3 2018-01-15 01:32:06 +00:00
Google APIs c07cc4ab14 0.19.2 2018-01-08 01:32:23 +00:00
Google APIs 38e271cfb4 0.19.1 2018-01-01 01:32:04 +00:00
Alberto Almagro Sotelo 9f16b63dab
Fix little typo on docs
While reading the source file documentation I spotted this little typo.
2017-12-28 20:10:23 +01:00
Google APIs b121c3982c 0.19.0 2017-12-25 01:32:25 +00:00
Google APIs a31469048d 0.18.1 2017-12-18 01:32:02 +00:00
Google APIs 77a72ae51d 0.18.0 2017-12-11 01:32:00 +00:00
Google APIs ccf4f20f18 0.17.4 2017-12-04 20:42:02 +00:00
Nilayan Bhattacharya 1a25d1ddeb Passing gzip compression as a client option 2017-11-29 12:45:11 -08:00
Google APIs 79b086a6aa 0.17.3 2017-11-27 01:32:17 +00:00
Google APIs fe715c6740 0.17.2 2017-11-20 01:32:05 +00:00
Google APIs 8ed99b7132 0.17.1 2017-11-13 01:32:15 +00:00
Google APIs 1499735ecb 0.17.0 2017-11-06 01:32:07 +00:00
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