google-apis-core 0.11.0 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71c124a4dcd20721ab799ef44f376ff25ce4e62bd47daa58bc0fe82db014050a
4
- data.tar.gz: a8193eaf12051d6606818efb527f62ff79d340cad2456d7e0f970938682a4d28
3
+ metadata.gz: 82086ecd9dad2239ce9089b943519c39de9b7574a9f1d089bee6cf6531c10eea
4
+ data.tar.gz: defab5fb9d8dc49ee7e0dc228a9d687d173444ad477f41060c0b418212354058
5
5
  SHA512:
6
- metadata.gz: 50753e39de39a704e10cecefaecf5f19fa215a90d1f74abfc2aa898ff77cbaabb33484e948f001a91f56cbf438f1cf0a687663baf367103a22e99c156cfedd6f
7
- data.tar.gz: 694e22ff849afc427eea55310876929fd39b4fa70b4dff350caaa3d4ecaac6e1e8c41239403fd3b759b5ed374eb09cc0440445123e7ea6802f398ddd6739099c
6
+ metadata.gz: d28bfc73a1293291b6e16ddc520082404030a34d9d78c4eb6e88c81bb038ef13996235ae49f436736e9d2cf82850ed54869141508de0f24f19c96c1a30bd0c4e
7
+ data.tar.gz: 035f5285444a0af8631f87e6164d5cc52554534e5c4e94cfaef122236937bd73597b58c0c475d89c795d04d76051051b16279d3f8437aa671eef86fb455d3c8c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 0.11.2 (2023-10-27)
4
+
5
+ #### Bug Fixes
6
+
7
+ * update ssl_config to point to system default root CA path ([#16446](https://github.com/googleapis/google-api-ruby-client/issues/16446))
8
+
9
+ ### 0.11.1 (2023-07-20)
10
+
11
+ #### Documentation
12
+
13
+ * Document send_timeout_sec and fix up some types ([#14907](https://github.com/googleapis/google-api-ruby-client/issues/14907))
14
+
3
15
  ### 0.11.0 (2023-02-08)
4
16
 
5
17
  #### Features
@@ -480,6 +480,11 @@ module Google
480
480
  client.default_header = { 'User-Agent' => user_agent }
481
481
 
482
482
  client.debug_dev = logger if client_options.log_http_requests
483
+
484
+ # Make HttpClient use system default root CA path
485
+ # https://github.com/nahi/httpclient/issues/445
486
+ client.ssl_config.clear_cert_store
487
+ client.ssl_config.cert_store.set_default_paths
483
488
  client
484
489
  end
485
490
 
@@ -87,6 +87,11 @@ module Google
87
87
  self.query = {}
88
88
  self.params = {}
89
89
  @opencensus_span = nil
90
+ if OPENCENSUS_AVAILABLE
91
+ logger.warn 'OpenCensus support is now deprecated. ' +
92
+ 'Please refer https://github.com/googleapis/google-api-ruby-client#tracing for migrating to use OpenTelemetry.'
93
+
94
+ end
90
95
  end
91
96
 
92
97
  # Execute the command, retrying as necessary
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "0.11.0".freeze
19
+ VERSION = "0.11.2".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -54,9 +54,11 @@ module Google
54
54
  # @!attribute [rw] log_http_requests
55
55
  # @return [Boolean] True if raw HTTP requests should be logged
56
56
  # @!attribute [rw] open_timeout_sec
57
- # @return [Fixnum] How long, in seconds, before failed connections time out
57
+ # @return [Integer] How long, in seconds, before failed connections time out
58
+ # @!attribute [rw] send_timeout_sec
59
+ # @return [Integer] How long, in seconds, before sending data times out
58
60
  # @!attribute [rw] read_timeout_sec
59
- # @return [Fixnum] How long, in seconds, before requests time out
61
+ # @return [Integer] How long, in seconds, before receiving data times out
60
62
  # @!attribute [rw] transparent_gzip_decompression
61
63
  # @return [Boolean] True if gzip compression needs to be enabled
62
64
  # Get the default options
@@ -71,15 +73,15 @@ module Google
71
73
  # @!attribute [rw] authorization
72
74
  # @return [Signet::OAuth2::Client, #apply(Hash)] OAuth2 credentials.
73
75
  # @!attribute [rw] retries
74
- # @return [Fixnum] Number of times to retry requests on server error.
76
+ # @return [Integer] Number of times to retry requests on server error.
75
77
  # @!attribute [rw] max_elapsed_time
76
- # @return [Fixnum] Total time in seconds that requests are allowed to keep being retried.
78
+ # @return [Integer] Total time in seconds that requests are allowed to keep being retried.
77
79
  # @!attribute [rw] base_interval
78
80
  # @return [Float] The initial interval in seconds between tries.
79
81
  # @!attribute [rw] max_interval
80
- # @return [Fixnum] The maximum interval in seconds that any individual retry can reach.
82
+ # @return [Integer] The maximum interval in seconds that any individual retry can reach.
81
83
  # @!attribute [rw] multiplier
82
- # @return [rw] Each successive interval grows by this factor. A multipler of 1.5 means the next interval
84
+ # @return [Numeric] Each successive interval grows by this factor. A multipler of 1.5 means the next interval
83
85
  # will be 1.5x the current interval.
84
86
  # @!attribute [rw] header
85
87
  # @return [Hash<String,String>] Additional HTTP headers to include in requests.
@@ -90,7 +92,7 @@ module Google
90
92
  # @!attribute [rw] skip_deserialization
91
93
  # @return [Boolean] True if response should be returned in raw form instead of deserialized.
92
94
  # @!attribute [rw] api_format_version
93
- # @return [Fixnum] Version of the error format to request/expect.
95
+ # @return [Integer] Version of the error format to request/expect.
94
96
  # @!attribute [rw] use_opencensus
95
97
  # @return [Boolean] Whether OpenCensus spans should be generated for requests. Default is true.
96
98
  # @!attribute [rw] quota_project
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.11.0
4
+ version: 0.11.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: 2023-02-08 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: representable
@@ -186,7 +186,7 @@ licenses:
186
186
  metadata:
187
187
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
188
188
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
189
- documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.11.0
189
+ documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.11.2
190
190
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
191
191
  post_install_message:
192
192
  rdoc_options: []
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  - !ruby/object:Gem::Version
204
204
  version: '0'
205
205
  requirements: []
206
- rubygems_version: 3.4.2
206
+ rubygems_version: 3.4.19
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: Common utility and base classes for legacy Google REST clients