google-apis-core 0.14.1 → 0.15.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 +6 -0
- data/lib/google/apis/core/http_command.rb +6 -0
- data/lib/google/apis/core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce67af03cec391ae12f32828eb7c0df504eb7d04e0b92694aac6adf98d4f31d8
|
|
4
|
+
data.tar.gz: fd5227cea10440d966385242ab7330f4e686c4c0bb74f6d98a99e815286b04f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 647712dad491d16745a70a63e2dc808c43f98f63853a58ef8d46b7f620f73f0b3116668f43a79b1f4819bab988e83c64e33952b877b396bf8c600fbe88a6983a
|
|
7
|
+
data.tar.gz: 670c0199907867b49f6db7bd8b25a7d6cc2760cab4d57038314adf13e51119513a3968e78394e15ad9f09ed69fbfa3a5fb2633a44f802eac9da4e842f2a37065
|
data/CHANGELOG.md
CHANGED
|
@@ -348,6 +348,12 @@ module Google
|
|
|
348
348
|
[:post, :put].include?(method) && body.nil?
|
|
349
349
|
end
|
|
350
350
|
|
|
351
|
+
# Set the API version header for the service if not empty.
|
|
352
|
+
# @return [void]
|
|
353
|
+
def set_api_version_header api_version
|
|
354
|
+
self.header['X-Goog-Api-Version'] = api_version unless api_version.empty?
|
|
355
|
+
end
|
|
356
|
+
|
|
351
357
|
private
|
|
352
358
|
|
|
353
359
|
UNSAFE_CLASS_NAMES = [
|
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
|
+
version: 0.15.0
|
|
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-
|
|
11
|
+
date: 2024-05-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.
|
|
169
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.15.0
|
|
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: []
|