google-apis-generator 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28771fcc818694d14c5fa1cabfdd27c89301a0bfa166d244a01b6e2d6bf03030
4
- data.tar.gz: c3ab5ac1d7ae62084c04b79b98ab23edd33971863a0e2fdd962a601febc0cef9
3
+ metadata.gz: 534cdbef38103c89b8ac6b57388bd7e7d119623f627b22bc6ec3d04efd48275a
4
+ data.tar.gz: 177c833737e7934114f1b25d5a292be20c2792f97712cdf86cba8c9a43476caa
5
5
  SHA512:
6
- metadata.gz: 7066f6af990e24d8658e474a7a6597830791720dc3d35c1ec0e5bb9e5359a1f2552f774194ffa7fb53c313608fa115930d76ae32a53ffae78b138df22816dde9
7
- data.tar.gz: cab31f067908e07630c33c11813a93ebd56ec46415716e37b532c363db56de12cb203c7e2f2c2d88898f5f73c3720981ecccbf3c2af35e06a1ec49d9862d1cf9
6
+ metadata.gz: 84c54fc232fcd2397422eb09fe6cf35e0dbb71a02db452256a818619ed2d72ddb196a388cfb3bdb2d1755991f6cd56f503bdcc3868ec3909acb7f0d3a6230ea6
7
+ data.tar.gz: b15dd5671b411a170fd2cf1210254f04f36f550615487c8530707db3d27687cf02a8ddb31daf79804f6ff487554ee937fa022bef6fbfb9c3470e90ae85556cae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 0.8.0 (2022-06-30)
4
+
5
+ #### Features
6
+
7
+ * Add storage specific download to respond with http header
8
+
3
9
  ### 0.7.0 (2022-06-17)
4
10
 
5
11
  #### Features
@@ -58,6 +58,13 @@ def <%= api_method.generated_name %>(<% for param in api_method.required_paramet
58
58
  command.upload_source = upload_source
59
59
  command.upload_content_type = content_type
60
60
  end
61
+ <% elsif api_method.supports_media_download? && api.name == 'Storage' %>
62
+ if download_dest.nil?
63
+ command = make_simple_command(:<%= api_method.http_method.downcase %>, '<%= api_method.path %>', options)
64
+ else
65
+ command = make_storage_download_command(:<%= api_method.http_method.downcase %>, '<%= api_method.path %>', options)
66
+ command.download_dest = download_dest
67
+ end
61
68
  <% elsif api_method.supports_media_download? -%>
62
69
  if download_dest.nil?
63
70
  command = make_simple_command(:<%= api_method.http_method.downcase %>, '<%= api_method.path %>', options)
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  class Generator
18
- VERSION = "0.7.0"
18
+ VERSION = "0.8.0"
19
19
  end
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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: 2022-06-17 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -138,7 +138,7 @@ licenses:
138
138
  metadata:
139
139
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
140
140
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator/CHANGELOG.md
141
- documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.7.0
141
+ documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.8.0
142
142
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator
143
143
  post_install_message:
144
144
  rdoc_options: []