google-apis-core 0.13.0 → 0.14.1

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: 5592cfdc5672ba93edd2d35fdd156fe494910815832851915aa10671280f3819
4
- data.tar.gz: 31ff2f0ba25e5aef16a8a328fae87c79f7e3beabf68254b44b5d0ca5c0af48ef
3
+ metadata.gz: c3c57ca24b4836ea6e800df3a184b040c9c51c64149d743d4d3335d6ac76094d
4
+ data.tar.gz: 42a724598b2ff3656cac8df432bae7428e5a4a53bede1366ee92080d0738d5c7
5
5
  SHA512:
6
- metadata.gz: 54c2299ce2530e251f931ac1e5aac2ac4f26a06e24272d4a85dab7f650748ba645149d133c199300bcd4c9931925286f3f5867cb6bf354ff1fc749e84a100a62
7
- data.tar.gz: 0def58085570f51b1ea1695d8826a81142e78b03b2cd9508268c2a23d7651d86452390198d853757335b2025c17d8db08fbbbec0d46c969412c20a600b9cf129
6
+ metadata.gz: 28b3c7e49fde2eab1cd10bb5a1e898b5c99f1ee14930b4f8a2b7d66d6ac77731eb6bdfd5e7fa0940f044d58c5ceb8205b460ffc56ea9331f7e166da88504c808
7
+ data.tar.gz: 95cedbafcc1a7d1dd7a8dc8ce63090bba5a1c4c96b8cb247ae0c4dc1851e98b78afcd3a162aeca50c94a6a8a37fa0c8cf7afcdb6f838a5f3fc73858898bf82a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release History
2
2
 
3
+ ### 0.14.1 (2024-03-13)
4
+
5
+ #### Bug Fixes
6
+
7
+ * fixes uninitialized Pathname issue ([#18480](https://github.com/googleapis/google-api-ruby-client/issues/18480))
8
+
9
+ ### 0.14.0 (2024-02-23)
10
+
11
+ #### Features
12
+
13
+ * Update minimum Ruby version to 2.7 ([#17896](https://github.com/googleapis/google-api-ruby-client/issues/17896))
14
+ #### Bug Fixes
15
+
16
+ * allow BaseService#root_url to be an Addressable::URI ([#17895](https://github.com/googleapis/google-api-ruby-client/issues/17895))
17
+
3
18
  ### 0.13.0 (2024-01-26)
4
19
 
5
20
  #### Features
@@ -119,16 +119,16 @@ module Google
119
119
  end
120
120
 
121
121
  # Root URL (host/port) for the API
122
- # @return [Addressable::URI]
122
+ # @return [Addressable::URI, String]
123
123
  attr_reader :root_url
124
124
 
125
125
  # Set the root URL.
126
126
  # If the given url includes a universe domain substitution, it is
127
127
  # resolved in the current universe domain
128
128
  #
129
- # @param url_or_template [String] The URL, which can include a universe domain substitution
129
+ # @param url_or_template [Addressable::URI, String] The URL, which can include a universe domain substitution
130
130
  def root_url= url_or_template
131
- if url_or_template.include? ENDPOINT_SUBSTITUTION
131
+ if url_or_template.is_a?(String) && url_or_template.include?(ENDPOINT_SUBSTITUTION)
132
132
  @root_url_template = url_or_template
133
133
  @root_url = url_or_template.gsub ENDPOINT_SUBSTITUTION, universe_domain
134
134
  else
@@ -319,7 +319,7 @@ module Google
319
319
  # Name of the field in the result containing the items. Defaults to :items
320
320
  # @param [Boolean] cache
321
321
  # True (default) if results should be cached so multiple iterations can be used.
322
- # @return [Enumerble]
322
+ # @return [Enumerable]
323
323
  # @yield [token, service]
324
324
  # Current page token & service instance
325
325
  # @yieldparam [String] token
@@ -15,6 +15,7 @@
15
15
  require 'google/apis/core/api_command'
16
16
  require 'google/apis/errors'
17
17
  require 'addressable/uri'
18
+ require 'pathname'
18
19
 
19
20
  module Google
20
21
  module Apis
@@ -25,7 +25,7 @@ module Google
25
25
 
26
26
  # Execute the upload request once. Overrides the default implementation to handle streaming/chunking
27
27
  # of file content.
28
- # Note: This method is overriden from DownloadCommand in order to respond back with
28
+ # Note: This method is overridden from DownloadCommand in order to respond back with
29
29
  # http header. All changes made to `execute_once` of DownloadCommand, should be made
30
30
  # here too.
31
31
  #
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "0.13.0".freeze
19
+ VERSION = "0.14.1".freeze
20
20
  end
21
21
  end
22
22
  end
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.13.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: representable
@@ -166,7 +166,7 @@ licenses:
166
166
  metadata:
167
167
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
168
168
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
169
- documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.13.0
169
+ documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.14.1
170
170
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
171
171
  post_install_message:
172
172
  rdoc_options: []
@@ -176,14 +176,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: '2.5'
179
+ version: '2.7'
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
182
  - - ">="
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.5.3
186
+ rubygems_version: 3.5.6
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Common utility and base classes for legacy Google REST clients