google-apis-core 1.0.0 → 1.0.1
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 +3 -0
- data/lib/google/apis/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3942b0296ecaefbf670d435adf32df8c1f14be2a16d9a890ed3551ba7d95688a
|
4
|
+
data.tar.gz: 66e5e8b65a689f1ccd5788de4ec169d1f4298b1cc106362d1fc3075f17a62526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50a6c03bb553d70d16ca5120416eca74c4983329069ea80d5c42c840e9f06b9934be375b60563b78c55eadd233e21c33514743f75139d8751d89ece9cf8f7450
|
7
|
+
data.tar.gz: 6bac8358f9627301e9dab533a4c303442235fb4bd239aac2bcab20ca86a322975b00e51c6bffee629b07d4e219f060c81d3264b32a654ddb8da8666fa3c93360
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.0.1 (2025-08-08)
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* Compute and send content-length header when posting a CompositeIO ([#23864](https://github.com/googleapis/google-api-ruby-client/issues/23864))
|
8
|
+
|
3
9
|
### 1.0.0 (2025-08-03)
|
4
10
|
|
5
11
|
This is a major release that replaces the underlying httpclient library with Faraday ([#23524](https://github.com/googleapis/google-api-ruby-client/issues/23524)). This will ensure the client libraries are on a more stable and better maintained foundation moving forward.
|
@@ -183,6 +183,9 @@ module Google
|
|
183
183
|
end
|
184
184
|
|
185
185
|
self.body = '' if self.body.nil? && [:post, :put, :patch].include?(method)
|
186
|
+
if defined?(::Google::Apis::Core::CompositeIO) && body.is_a?(::Google::Apis::Core::CompositeIO)
|
187
|
+
header["Content-Length"] ||= body.size.to_s
|
188
|
+
end
|
186
189
|
end
|
187
190
|
|
188
191
|
# Release any resources used by this command
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -153,7 +153,7 @@ licenses:
|
|
153
153
|
metadata:
|
154
154
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
155
155
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
|
156
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v1.0.
|
156
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v1.0.1
|
157
157
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
|
158
158
|
rdoc_options: []
|
159
159
|
require_paths:
|