google-apis-core 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 850aff1c0e3fa076d1ae86405b2390296f569c0f8a7f05e81aa94deca2419995
4
- data.tar.gz: 5f0e301b6362136d3cad534d1de668ac535ef025c6b525a7f6bc402d8deb10cf
3
+ metadata.gz: cb2db67f02ccdf26075c0e53ebf98f16dad62e677ee3442e0cd8fd5839d77fc2
4
+ data.tar.gz: 36430fa32eb291da73aa0a0fc41486bbd9059d0785534b72f5a7f87ef686bdca
5
5
  SHA512:
6
- metadata.gz: 6aac326b8d12f844d928bf46de25daa0fe52e2f0f1c1558df08d832fa29d354eb69c94ae360dabd94aac59ade6c12fa4131f4b4bd7a55f222b84720ad4e93bdf
7
- data.tar.gz: 66f01cade6af7c80059f34ba0567ebe5e0683e022a505c3996d290eb5c7073e033a7a95f89c0926d437e640cab2c8959abbe405cf4cf1cca54eb5c9c9760b191
6
+ metadata.gz: c1b25259abf3f3c13de20d594ff1dfa9dc4c53260d839dbd5e0e89af4526e6770e95d3afc92d8fc60a55fc37c49b08f3db2d75dbc02ff91fee1feffdfb88e2f5
7
+ data.tar.gz: e2508db90999eb576531c267afa9f94804a403adbaf9e79deb4869491adc239048592deed05b26d20522883bae92b9072a8bf56d0e1b8ee2128aef648183b434
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 1.2.0 (2026-06-04)
4
+
5
+ #### Features
6
+
7
+ * ruby 3.2 minimum ([#26608](https://github.com/googleapis/google-api-ruby-client/issues/26608))
8
+
3
9
  ### 1.1.0 (2026-05-17)
4
10
 
5
11
  #### Features
@@ -421,6 +421,10 @@ module Google
421
421
  template = Addressable::Template.new(root_url + upload_path + path)
422
422
  command = StorageUploadCommand.new(method, template, client_version: client_version)
423
423
  command.options = request_options.merge(options)
424
+ command.options.header = command.options.header&.dup || {}
425
+ unless command.options.header.any? { |k, _| k.to_s.casecmp('accept-encoding') == 0 }
426
+ command.options.header['Accept-Encoding'] = 'gzip'
427
+ end
424
428
  apply_command_defaults(command)
425
429
  command
426
430
  end
@@ -459,6 +463,10 @@ module Google
459
463
  template = Addressable::Template.new(root_url + base_path + path)
460
464
  command = StorageDownloadCommand.new(method, template, client_version: client_version)
461
465
  command.options = request_options.merge(options)
466
+ command.options.header = command.options.header&.dup || {}
467
+ unless command.options.header.any? { |k, _| k.to_s.casecmp('accept-encoding') == 0 }
468
+ command.options.header['Accept-Encoding'] = 'gzip'
469
+ end
462
470
  command.query['alt'] = 'media'
463
471
  apply_command_defaults(command)
464
472
  command
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "1.1.0".freeze
19
+ VERSION = "1.2.0".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.1.0
4
+ version: 1.2.0
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.1.0
156
+ documentation_uri: https://googleapis.dev/ruby/google-apis-core/v1.2.0
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:
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
- version: '3.1'
165
+ version: '3.2'
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
168
  - - ">="