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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e4864fdbdd96f55fa077d183ac6c25f87d16509b48bd270803c73f81d4fa47b
4
- data.tar.gz: 869598753c71741fcd2a4f474b464a609d6fcb2b6513c9c87d75ff1365192d07
3
+ metadata.gz: 3942b0296ecaefbf670d435adf32df8c1f14be2a16d9a890ed3551ba7d95688a
4
+ data.tar.gz: 66e5e8b65a689f1ccd5788de4ec169d1f4298b1cc106362d1fc3075f17a62526
5
5
  SHA512:
6
- metadata.gz: 4bfce12bdbf8dd48e4856b77902d7fef1343ae940400e56090b1d946ed26e786b1f39ae17f3aa60dfc63e3594411c48eb5711957ad7a0f55c136fab03e45edb8
7
- data.tar.gz: 21c7758ca4994eef7b077b19b10affcc112a909834f3b7dc5b346df42712ea3d68cccabf8131c869410ce3091f679509f39f834d5f05fbb31ea8c14ec40d8a45
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
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "1.0.0".freeze
19
+ VERSION = "1.0.1".freeze
20
20
  end
21
21
  end
22
22
  end
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.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.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: