google-apis-core 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/composite_io.rb +1 -1
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +3 -3
- data/lib/google/apis/core/multipart.rb +4 -4
- data/lib/google/apis/core/version.rb +1 -1
- data/lib/google/apis/errors.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b72f0bd125a4b9a5bbefb344ca6906f60c2da97299f477a411f4174a5a1e125
|
4
|
+
data.tar.gz: f60c015250f7df95b17c06a13e30a038f02f63d964940fb35b1be3596b455226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a08ed2a45ee09dd772fe046fa7b245663d9c39c12f26aab8a15d836d78a5bd1b98d6d9b97d4b97fc86dfba57e068074c7f484555ff1acea1b9ecba7bf699a34
|
7
|
+
data.tar.gz: b7125709ef96626805cf00bd31638b628e1425964a73021c0efd0a62d488a01037a9055371dde53ebf54c64905526de682474d006ae68072e081f423b3954618
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.17.0 (2025-04-30)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* ruby 3.1 minimum, 3.4 default ([#22594](https://github.com/googleapis/google-api-ruby-client/issues/22594))
|
8
|
+
#### Bug Fixes
|
9
|
+
|
10
|
+
* Fixed a method redefined warning ([#21572](https://github.com/googleapis/google-api-ruby-client/issues/21572))
|
11
|
+
* Ensure compatibility with frozen string literals ([#21648](https://github.com/googleapis/google-api-ruby-client/issues/21648))
|
12
|
+
|
3
13
|
### 0.16.0 (2025-01-12)
|
4
14
|
|
5
15
|
#### Features
|
@@ -283,7 +283,7 @@ module Google
|
|
283
283
|
# @yield [nil, err] if block given
|
284
284
|
# @raise [StandardError] if no block
|
285
285
|
def error(err, rethrow: false, &block)
|
286
|
-
logger.debug { sprintf('Error - %s', PP.pp(err, '')) }
|
286
|
+
logger.debug { sprintf('Error - %s', PP.pp(err, +'')) }
|
287
287
|
if err.is_a?(HTTPClient::BadResponseError)
|
288
288
|
begin
|
289
289
|
res = err.res
|
@@ -385,7 +385,7 @@ module Google
|
|
385
385
|
end
|
386
386
|
|
387
387
|
def safe_pretty_representation obj
|
388
|
-
out = ""
|
388
|
+
out = +""
|
389
389
|
printer = RedactingPP.new out, 79
|
390
390
|
printer.guard_inspect_key { printer.pp obj }
|
391
391
|
printer.flush
|
@@ -393,7 +393,7 @@ module Google
|
|
393
393
|
end
|
394
394
|
|
395
395
|
def safe_single_line_representation obj
|
396
|
-
out = ""
|
396
|
+
out = +""
|
397
397
|
printer = RedactingSingleLine.new out
|
398
398
|
printer.guard_inspect_key { printer.pp obj }
|
399
399
|
printer.flush
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def to_io(boundary)
|
34
|
-
part = ''
|
34
|
+
part = +''
|
35
35
|
part << "--#{boundary}\r\n"
|
36
36
|
part << "Content-Type: application/json\r\n"
|
37
37
|
@header.each do |(k, v)|
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def to_io(boundary)
|
62
|
-
head = ''
|
62
|
+
head = +''
|
63
63
|
head << "--#{boundary}\r\n"
|
64
64
|
@header.each do |(k, v)|
|
65
65
|
head << "#{k}: #{v}\r\n"
|
@@ -67,7 +67,7 @@ module Google
|
|
67
67
|
head << "Content-Length: #{@length}\r\n" unless @length.nil?
|
68
68
|
head << "Content-Transfer-Encoding: binary\r\n"
|
69
69
|
head << "\r\n"
|
70
|
-
Google::Apis::Core::CompositeIO.new(StringIO.new(head), @io, StringIO.new("\r\n"))
|
70
|
+
Google::Apis::Core::CompositeIO.new(StringIO.new(head), @io, StringIO.new(+"\r\n"))
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
# @return [IO]
|
127
127
|
# IO stream
|
128
128
|
def assemble
|
129
|
-
@parts << StringIO.new("--#{@boundary}--\r\n\r\n")
|
129
|
+
@parts << StringIO.new(+"--#{@boundary}--\r\n\r\n")
|
130
130
|
Google::Apis::Core::CompositeIO.new(*@parts)
|
131
131
|
end
|
132
132
|
end
|
data/lib/google/apis/errors.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: representable
|
@@ -164,7 +164,7 @@ licenses:
|
|
164
164
|
metadata:
|
165
165
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
166
166
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
|
167
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.
|
167
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.17.0
|
168
168
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
|
169
169
|
rdoc_options: []
|
170
170
|
require_paths:
|
@@ -173,14 +173,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
173
|
requirements:
|
174
174
|
- - ">="
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version: '
|
176
|
+
version: '3.1'
|
177
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
178
|
requirements:
|
179
179
|
- - ">="
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.6.
|
183
|
+
rubygems_version: 3.6.8
|
184
184
|
specification_version: 4
|
185
185
|
summary: Common utility and base classes for legacy Google REST clients
|
186
186
|
test_files: []
|