google-apis-core 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/version.rb +1 -1
- data/lib/google/apis/options.rb +4 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de1aca07eb6dab1c4571ad1b001657b858a7c8f263591d23f76a482707c1d244
|
4
|
+
data.tar.gz: 7715680088cf38a06fcf80747a047f0ebb0aaf63ed61817df26787db4f983fcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '029c926e8f4dcc1371f68def113598ca73cb4fc6982376c53175f40240a537b2dbce3e7cf041b54ae8b501867f0e728f596c1e70ed0abd798ba695605a7ca5fb'
|
7
|
+
data.tar.gz: fb2ef0252bfcdab2b3e45e07252cbed43a3a73dd4b72c32f7024a62bec18cf557905f75a5a7c56366b3466db29b353dd1a94ceee9a6a8160b05573231bcad237
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### [0.4.2](https://www.github.com/googleapis/google-api-ruby-client/compare/google-apis-core/v0.4.1...google-apis-core/v0.4.2) (2022-01-21)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* **core:** Support for max elapsed time configuration. ([241361e](https://www.github.com/googleapis/google-api-ruby-client/commit/241361e1a47d1aeac09ecd1f24099c8fc83e4508))
|
9
|
+
|
3
10
|
## 0.4.1 (2021-07-19)
|
4
11
|
|
5
12
|
* FIX: Prevent duplicated pagination when a response returns an empty string as the next page token.
|
data/OVERVIEW.md
CHANGED
@@ -8,8 +8,8 @@ need to install it by itself.
|
|
8
8
|
|
9
9
|
More detailed descriptions of the Google legacy REST clients are available in two documents.
|
10
10
|
|
11
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
12
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
11
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
12
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
13
13
|
|
14
14
|
For reference information on specific calls in the clients, see the {Google::Apis class reference docs}.
|
15
15
|
|
data/lib/google/apis/options.rb
CHANGED
@@ -28,6 +28,7 @@ module Google
|
|
28
28
|
RequestOptions = Struct.new(
|
29
29
|
:authorization,
|
30
30
|
:retries,
|
31
|
+
:max_elapsed_time,
|
31
32
|
:header,
|
32
33
|
:normalize_unicode,
|
33
34
|
:skip_serialization,
|
@@ -66,6 +67,8 @@ module Google
|
|
66
67
|
# @return [Signet::OAuth2::Client, #apply(Hash)] OAuth2 credentials.
|
67
68
|
# @!attribute [rw] retries
|
68
69
|
# @return [Fixnum] Number of times to retry requests on server error.
|
70
|
+
# @!attribute [rw] max_elapsed_time
|
71
|
+
# @return [Fixnum] Total time in seconds that requests are allowed to keep being retried.
|
69
72
|
# @!attribute [rw] header
|
70
73
|
# @return [Hash<String,String>] Additional HTTP headers to include in requests.
|
71
74
|
# @!attribute [rw] normalize_unicode
|
@@ -106,6 +109,7 @@ module Google
|
|
106
109
|
ClientOptions.default.application_version = '0.0.0'
|
107
110
|
ClientOptions.default.transparent_gzip_decompression = true
|
108
111
|
RequestOptions.default.retries = 0
|
112
|
+
RequestOptions.default.max_elapsed_time = 900
|
109
113
|
RequestOptions.default.normalize_unicode = false
|
110
114
|
RequestOptions.default.skip_serialization = false
|
111
115
|
RequestOptions.default.skip_deserialization = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: representable
|
@@ -183,9 +183,9 @@ licenses:
|
|
183
183
|
- Apache-2.0
|
184
184
|
metadata:
|
185
185
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
186
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
187
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.4.
|
188
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
186
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
|
187
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.4.2
|
188
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
|
189
189
|
post_install_message:
|
190
190
|
rdoc_options: []
|
191
191
|
require_paths:
|
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
|
-
rubygems_version: 3.
|
204
|
+
rubygems_version: 3.3.5
|
205
205
|
signing_key:
|
206
206
|
specification_version: 4
|
207
207
|
summary: Common utility and base classes for legacy Google REST clients
|