google-apis-generator 0.6.0 → 0.9.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: 2359ed67c806fe73e0544eee4162d6fc631f567064c277750e16f3e0c1632738
4
- data.tar.gz: cd7498b4d74fe360f4811922c60c776b5b528bc75c746a5af5ce673ab8baca78
3
+ metadata.gz: 85a7b49172b12d7c191825af5794381f0538215fb9eec77fecc8279995a9803e
4
+ data.tar.gz: b5be7e568487cd268fbebcde35801b20ee53d3674efdaf2e3906afec52a9e500
5
5
  SHA512:
6
- metadata.gz: 575e5e0e9e1b18b64a92801e133a5da0d6b480c4f3df1601248438d67729ed16b9c9d67ba710b8d58641aec78af72a75e650fa913b3c54eab246afa4dafef58f
7
- data.tar.gz: 3fa6f498a606a23dd6d311b6bbd41e18abf01cf4ec4ce3b2660d59d5eb80ec18305d94237f50cacd045900e7eed34693f64c60062618a5cd9d0f234fff9a06d2
6
+ metadata.gz: 1d2d9e9412acc1bf6ddae53a4b86a1bc97eaa2d16b43188b11e21276245c4ac8692a454b59299aa9cfa7631cce5e8c3f198f0ade079efc1772395222ac6e3138
7
+ data.tar.gz: c2a0d998acd6197f91b458dfa68ebc1cba9443705ec8fdc4be9f716fb824f51fc159e4ea8f47b63e561ff363e78720ce8202dc1093df6ebb3267d21042fb7f08
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release History
2
2
 
3
+ ### 0.9.0 (2022-07-04)
4
+
5
+ #### Features
6
+
7
+ * Update core dependency to at least 0.7 ([#10551](https://github.com/googleapis/google-api-ruby-client/issues/10551))
8
+
9
+ ### 0.8.0 (2022-06-30)
10
+
11
+ #### Features
12
+
13
+ * Add storage specific download to respond with http header
14
+
15
+ ### 0.7.0 (2022-06-17)
16
+
17
+ #### Features
18
+
19
+ * Update core dependency to at least 0.6
20
+
3
21
  ### 0.6.0 (2022-06-06)
4
22
 
5
23
  #### 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)
@@ -29,5 +29,5 @@ Gem::Specification.new do |gem|
29
29
  gem.require_paths = ["lib"]
30
30
 
31
31
  gem.required_ruby_version = '>= 2.5'
32
- gem.add_runtime_dependency "google-apis-core", ">= 0.5", "< 2.a"
32
+ gem.add_runtime_dependency "google-apis-core", ">= 0.7", "< 2.a"
33
33
  end
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  class Generator
18
- VERSION = "0.6.0"
18
+ VERSION = "0.9.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.6.0
4
+ version: 0.9.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-14 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.5'
47
+ version: '0.7'
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
50
  version: 2.a
@@ -54,7 +54,7 @@ dependencies:
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: '0.5'
57
+ version: '0.7'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: 2.a
@@ -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.6.0
141
+ documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.9.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: []