gapic-generator-cloud 0.6.0 → 0.6.1

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: '02926a88b55343003c21f8032beb370d1bbdb2ae37ebf88aefe0ddd4d40a69df'
4
- data.tar.gz: ced33bd5a212b6bd52a31bb9a49eee2913423a0350bfea48f33d18ced6ca3a83
3
+ metadata.gz: e44e51d3d13b507d3363356e2e40e2dc85a7e8e665ae00cd9fa0c4b6c04182f8
4
+ data.tar.gz: eb581e249dffcf4154f461859b0cf301b54b95234c7c204d767e70c516a65258
5
5
  SHA512:
6
- metadata.gz: 7ceca5878427fafb3b122924851298a99addaa2832ff45eb3219178cbb63e31545a91504909e54c1c05d945a75967c3f98680e4a2dbf0728270269ae5ba18bd1
7
- data.tar.gz: 82e55f290ca429d499158c9f33342e3895b06c6de1e2d1d37eee88718561501444f713503279c04d4fb7bd13fbf41d42b98cae4293d6a3edb8940f014057e1a3
6
+ metadata.gz: c52f4ae104825343a0eedb7917afaa5fe24bbb0ca4f98048ea1d1812c148c085b441483cc25e9868e4b905c8dd5b09c4fc504ce6ca320099c9232cbfbcced157
7
+ data.tar.gz: 2b4196ddb9520ca21ebbcd3d57ceee55b5462720e538d2bf77ca2a572bc971fd111fbab9e3df7476b7d225232dc03fbd117ef804831076c29e7bcd3609fa50bd
@@ -1,5 +1,11 @@
1
1
  # Release History for gapic-generator-cloud
2
2
 
3
+ ### 0.6.1 / 2020-06-16
4
+
5
+ * Includes changes from gapic-generator 0.6.1.
6
+ * Populate additional repo-metadata fields.
7
+ * Remove authentication file from the gemspec for generic wrappers.
8
+
3
9
  ### 0.6.0 / 2020-06-02
4
10
 
5
11
  * Includes changes from gapic-generator 0.6.0.
@@ -38,7 +38,9 @@ value_option_map = {
38
38
  ":gem.:version_dependencies" => "ruby-cloud-wrapper-of",
39
39
  ":gem.:migration_version" => "ruby-cloud-migration-version",
40
40
  ":gem.:product_documentation_url" => "ruby-cloud-product-url",
41
+ ":gem.:issue_tracker_url" => "ruby-cloud-issues-url",
41
42
  ":gem.:api_id" => "ruby-cloud-api-id",
43
+ ":gem.:api_shortname" => "ruby-cloud-api-shortname",
42
44
  ":gem.:factory_method_suffix" => "ruby-cloud-factory-method-suffix"
43
45
  }
44
46
 
@@ -18,7 +18,7 @@
18
18
  module Gapic
19
19
  module Generator
20
20
  module Cloud
21
- VERSION = "0.6.0"
21
+ VERSION = "0.6.1"
22
22
  end
23
23
  end
24
24
  end
@@ -79,8 +79,9 @@ module Gapic
79
79
  end
80
80
 
81
81
  def extra_files
82
- files = ["README.md", "AUTHENTICATION.md", "LICENSE.md", ".yardopts"]
83
- files << "MIGRATING.md" if migration?
82
+ files = ["README.md", "LICENSE.md", ".yardopts"]
83
+ files.insert 1, "AUTHENTICATION.md" unless generic_endpoint?
84
+ files.append "MIGRATING.md" if migration?
84
85
  files
85
86
  end
86
87
 
@@ -26,7 +26,7 @@ In order to use this library, you first need to go through the following steps:
26
26
  1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
27
27
  <%- end -%>
28
28
  <%- if gem.api_id -%>
29
- 1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id %>.googleapis.com)
29
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id %>)
30
30
  <%- end -%>
31
31
  1. {file:AUTHENTICATION.md Set up authentication.}
32
32
 
@@ -1,6 +1,21 @@
1
1
  <%- assert_locals gem -%>
2
2
  {
3
- "language": "ruby",
3
+ <%- if gem.api_id -%>
4
+ "api_id": "<%= gem.api_id %>",
5
+ <%- end -%>
6
+ "client_documentation": "<%= gem.library_documentation_url %>",
4
7
  "distribution_name": "<%= gem.name %>",
5
- "client_documentation": "https://googleapis.dev/ruby/<%= gem.name %>/latest"
8
+ <%- if gem.issue_tracker_url -%>
9
+ "issue_tracker": "<%= gem.issue_tracker_url %>",
10
+ <%- end -%>
11
+ "language": "ruby",
12
+ <%- if gem.api_shortname -%>
13
+ "name": "<%= gem.api_shortname %>",
14
+ <%- end -%>
15
+ "name_pretty": "<%= gem.title %> API",
16
+ <%- if gem.product_documentation_url -%>
17
+ "product_documentation": "<%= gem.product_documentation_url %>",
18
+ <%- end -%>
19
+ "repo": "googleapis/google-cloud-ruby",
20
+ "requires_billing": <%= !gem.free_tier? %>
6
21
  }
@@ -44,7 +44,7 @@ In order to use this library, you first need to go through the following steps:
44
44
  1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
45
45
  <%- end -%>
46
46
  <%- if gem.api_id -%>
47
- 1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id %>.googleapis.com)
47
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id %>)
48
48
  <%- end -%>
49
49
  1. {file:AUTHENTICATION.md Set up authentication.}
50
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gapic-generator-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernest Landrito
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-06-02 00:00:00.000000000 Z
13
+ date: 2020-06-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: actionpack
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.6.0
35
+ version: 0.6.1
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.6.0
42
+ version: 0.6.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: google-style
45
45
  requirement: !ruby/object:Gem::Requirement