lib/google/cloud/storage.rb in google-cloud-storage-1.53.0 vs lib/google/cloud/storage.rb in google-cloud-storage-1.54.0
- old
+ new
@@ -96,14 +96,14 @@
max_elapsed_time: nil, base_interval: nil, max_interval: nil,
multiplier: nil, upload_chunk_size: nil, universe_domain: nil
scope ||= configure.scope
retries ||= configure.retries
timeout ||= configure.timeout
- open_timeout ||= (configure.open_timeout || timeout)
- read_timeout ||= (configure.read_timeout || timeout)
- send_timeout ||= (configure.send_timeout || timeout)
+ open_timeout ||= configure.open_timeout || timeout
+ read_timeout ||= configure.read_timeout || timeout
+ send_timeout ||= configure.send_timeout || timeout
endpoint ||= configure.endpoint
- credentials ||= (keyfile || default_credentials(scope: scope))
+ credentials ||= keyfile || default_credentials(scope: scope)
max_elapsed_time ||= configure.max_elapsed_time
base_interval ||= configure.base_interval
max_interval ||= configure.max_interval
multiplier ||= configure.multiplier
upload_chunk_size ||= configure.upload_chunk_size