gapic-generator-cloud 0.10.1 → 0.11.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: e19aa05da89d8cd2c3786a6b8df6aabdf3a1e350a759d693f157f7aa97403da5
4
- data.tar.gz: 686c3ec9da22e5d3d6de80c53ba6ff7f98cbf32ae92dc60a91f62dee5849b15b
3
+ metadata.gz: 57149fac08b20d6e334e33b7e27e136430c024953f54bcd906f9a91c49ffe2db
4
+ data.tar.gz: bfa5c66f6d47bf20a6bbe9f217f2e34cbc6a94f53a5768830045a59d1c8a6d7c
5
5
  SHA512:
6
- metadata.gz: 5040c06a7e04e7d8a1f020bfe3332495ad1c346966237d14e813442b58416ff332eb955443191328c68b0ee35de907f0587d5b821d6015d86b7ce11dd96747cf
7
- data.tar.gz: 36d887e5fd2669fe1220f8a57816b1f06efd3a100ff18c9882458bfd57d364a618d8e76be2b514adf1596af1a6554f416fe38881767b98e8b9d7909bffb5bdd9
6
+ metadata.gz: bfc7b46a6028c007bf4b75b11c03067f39331c63f046153bbd63a6757427116c8c7859a8e3ea87c9ac211f96a4c694175c2379fb7b3a4b045fcf37e46d0e3034
7
+ data.tar.gz: 0ea77a6b3a09412112b5e183d578651b3176bb21820961b0e5611ef13858ca9b0f6ba4b03f438ff2dec523700a5c516494de380fda6c1df522435b8baf497eb5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Release History for gapic-generator-cloud
2
2
 
3
+ ### 0.11.0 / 2022-03-01
4
+
5
+ * Includes changes from gapic-generator 0.11.0
6
+
7
+ ### 0.10.6 / 2022-02-02
8
+
9
+ * Includes changes from gapic-generator 0.10.6
10
+ * Add api_shortname and release_level to generated repo-metadata.json file
11
+ * Point cloud client reference documentation URLs to cloud.google.com
12
+
13
+ ### 0.10.5 / 2022-01-20
14
+
15
+ * Includes changes from gapic-generator 0.10.5
16
+ * Interim support for wrappers of REST clients.
17
+
18
+ ### 0.10.4 / 2022-01-07
19
+
20
+ * Includes changes from gapic-generator 0.10.4
21
+ * Removes broken image links and fixes outdated content in the auth template.
22
+
23
+ ### 0.10.3 / 2021-11-04
24
+
25
+ * Includes changes from gapic-generator 0.10.3
26
+
27
+ ### 0.10.2 / 2021-11-01
28
+
29
+ * Includes changes from gapic-generator 0.10.2
30
+
3
31
  ### 0.10.1 / 2021-08-27
4
32
 
5
33
  * Includes changes from gapic-generator 0.10.1
@@ -18,7 +18,7 @@
18
18
  module Gapic
19
19
  module Generator
20
20
  module Cloud
21
- VERSION = "0.10.1"
21
+ VERSION = "0.11.0"
22
22
  end
23
23
  end
24
24
  end
@@ -59,7 +59,6 @@ module Gapic
59
59
  # Additional Gem level files
60
60
  cloud_files = []
61
61
  cloud_files << g("gem/repo-metadata.erb", ".repo-metadata.json", gem: gem)
62
- cloud_files << g("gem/yardopts-cloudrad.erb", ".yardopts-cloudrad", gem: gem)
63
62
  unless gem.services.empty? || gem.generic_endpoint?
64
63
  cloud_files << g("gem/authentication.erb", "AUTHENTICATION.md", gem: gem)
65
64
  end
@@ -87,7 +86,6 @@ module Gapic
87
86
  files << g("gem/repo-metadata.erb", ".repo-metadata.json", gem: gem)
88
87
  files << g("wrapper_gem/rubocop.erb", ".rubocop.yml", gem: gem)
89
88
  files << g("wrapper_gem/yardopts.erb", ".yardopts", gem: gem)
90
- files << g("wrapper_gem/yardopts-cloudrad.erb", ".yardopts-cloudrad", gem: gem)
91
89
  files << g("gem/authentication.erb", "AUTHENTICATION.md", gem: gem) unless gem.generic_endpoint?
92
90
  files << g("gem/changelog.erb", "CHANGELOG.md", gem: gem)
93
91
  files << g("wrapper_gem/gemfile.erb", "Gemfile", gem: gem)
@@ -48,6 +48,7 @@ module Gapic
48
48
  "ruby-cloud-quick-start-method" => ":gem.:quick_start_method",
49
49
  "ruby-cloud-default-service-host" => ":defaults.:service.:default_host",
50
50
  "ruby-cloud-grpc-service-config" => "grpc_service_config",
51
+ "ruby-cloud-service-yaml" => ":service_yaml",
51
52
  "ruby-cloud-wrapper-gem-override" => ":overrides.:wrapper_gem_name"
52
53
  }.freeze
53
54
 
@@ -98,6 +98,12 @@ module Gapic
98
98
  result["ruby-cloud-service-override"] = service_overrides unless service_overrides.empty?
99
99
  result
100
100
  end
101
+
102
+ ##
103
+ # Overrides the reference doc URL to point to the cloud-rad page
104
+ def library_documentation_url
105
+ gem_config(:library_documentation_url) || "https://cloud.google.com/ruby/docs/reference/#{name}/latest"
106
+ end
101
107
  end
102
108
 
103
109
  def self.cloud_gem_presenter api
@@ -15,6 +15,7 @@
15
15
  # limitations under the License.
16
16
 
17
17
  require "gapic/presenters"
18
+ require "gapic/presenters/wrapper_service_rest_presenter"
18
19
  require "gapic/ruby_info"
19
20
 
20
21
  module Gapic
@@ -23,6 +24,11 @@ module Gapic
23
24
  # A presenter for wrapper services.
24
25
  #
25
26
  class WrapperServicePresenter < ServicePresenter
27
+ def initialize *args, **kwargs
28
+ super(*args, **kwargs)
29
+ @rest = WrapperServiceRestPresenter.new self, @api
30
+ end
31
+
26
32
  def factory_method_name
27
33
  @factory_method_name ||= begin
28
34
  method_name = ActiveSupport::Inflector.underscore name
@@ -33,6 +39,22 @@ module Gapic
33
39
  end
34
40
  end
35
41
 
42
+ ##
43
+ # Returns this service presenter if there is a grpc client. Otherwise,
44
+ # returns the corresponding rest service presenter if there isn't a grpc
45
+ # client but there is a rest client. Otherwise, returns nil if there is
46
+ # neither client.
47
+ #
48
+ # @return [WrapperServicePresenter,WrapperServiceRestPresenter,nil]
49
+ #
50
+ def usable_service_presenter
51
+ if @api.generate_grpc_clients?
52
+ self
53
+ elsif @api.generate_rest_clients? && methods_rest_bindings?
54
+ rest
55
+ end
56
+ end
57
+
36
58
  def create_client_call
37
59
  "#{gem.namespace}.#{factory_method_name}"
38
60
  end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require "gapic/presenters"
18
+ require "gapic/ruby_info"
19
+
20
+ module Gapic
21
+ module Presenters
22
+ ##
23
+ # A presenter for wrapper services.
24
+ #
25
+ class WrapperServiceRestPresenter < ServiceRestPresenter
26
+ def factory_method_name
27
+ @factory_method_name ||= begin
28
+ method_name = ActiveSupport::Inflector.underscore main_service.name
29
+ suffix = main_service.gem.factory_method_suffix
30
+ method_name = "#{method_name}#{suffix}" unless method_name.end_with? suffix
31
+ method_name = "#{method_name}_client" if Gapic::RubyInfo.excluded_method_names.include? method_name
32
+ method_name
33
+ end
34
+ end
35
+
36
+ def create_client_call
37
+ "#{main_service.gem.namespace}.#{factory_method_name}"
38
+ end
39
+
40
+ def configure_client_call
41
+ "#{main_service.gem.namespace}.configure"
42
+ end
43
+
44
+ def credentials_class_xref
45
+ "`#{main_service.credentials_name_full}`"
46
+ end
47
+ end
48
+ end
49
+ end
@@ -125,15 +125,6 @@ To configure your system for this, simply:
125
125
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
126
126
  *should* only be used during development.
127
127
 
128
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
129
- [dev-console]: https://console.cloud.google.com/project
130
-
131
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
132
-
133
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
134
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
135
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
136
-
137
128
  ## Creating a Service Account
138
129
 
139
130
  Google Cloud requires **Service Account Credentials** to
@@ -144,31 +135,22 @@ If you are not running this client within
144
135
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
145
136
  need a Google Developers service account.
146
137
 
147
- 1. Visit the [Google Developers Console][dev-console].
138
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
148
139
  2. Create a new project or click on an existing project.
149
- 3. Activate the slide-out navigation tray and select **API Manager**. From
140
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
150
141
  here, you will enable the APIs that your application requires.
151
142
 
152
- ![Enable the APIs that your application requires][enable-apis]
153
-
154
143
  *Note: You may need to enable billing in order to use these services.*
155
144
 
156
145
  4. Select **Credentials** from the side navigation.
157
146
 
158
- You should see a screen like one of the following.
159
-
160
- ![Create a new service account][create-new-service-account]
161
-
162
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
163
-
164
- Find the "Add credentials" drop down and select "Service account" to be
165
- guided through downloading a new JSON key file.
147
+ Find the "Create credentials" drop down near the top of the page, and select
148
+ "Service account" to be guided through downloading a new JSON key file.
166
149
 
167
150
  If you want to re-use an existing service account, you can easily generate a
168
- new key file. Just select the account you wish to re-use, and click "Generate
169
- new JSON key":
170
-
171
- ![Re-use an existing service account][reuse-service-account]
151
+ new key file. Just select the account you wish to re-use, click the pencil
152
+ tool on the right side to edit the service account, select the **Keys** tab,
153
+ and then select **Add Key**.
172
154
 
173
155
  The key file you download will be used by this library to authenticate API
174
156
  requests and should be stored in a secure location.
@@ -149,11 +149,6 @@ task :doctest do
149
149
  puts "The <%= gem.name %> gem does not have doctest tests."
150
150
  end
151
151
 
152
- task :cloudrad do
153
- ENV["CLOUDRAD_GEM_NAME"] = "<%= gem.name %>"
154
- sh "bundle exec yard doc --fail-on-warning --yardopts .yardopts-cloudrad"
155
- end
156
-
157
152
  desc "Run the CI build"
158
153
  task :ci do
159
154
  header "BUILDING <%= gem.name %>"
@@ -2,6 +2,9 @@
2
2
  {
3
3
  <%- if gem.api_id -%>
4
4
  "api_id": "<%= gem.api_id %>",
5
+ <%- end -%>
6
+ <%- if gem.api_shortname -%>
7
+ "api_shortname": "<%= gem.api_shortname %>",
5
8
  <%- end -%>
6
9
  "client_documentation": "<%= gem.library_documentation_url %>",
7
10
  "distribution_name": "<%= gem.name %>",
@@ -16,6 +19,7 @@
16
19
  <%- if gem.product_documentation_url -%>
17
20
  "product_documentation": "<%= gem.product_documentation_url %>",
18
21
  <%- end -%>
22
+ "release_level": "unknown",
19
23
  "repo": "googleapis/google-cloud-ruby",
20
24
  "requires_billing": <%= !gem.free_tier? %>,
21
25
  <%- gem.generator_args_for_metadata.each do |key, val| -%>
@@ -1,6 +1,6 @@
1
1
  <%- assert_locals gem -%>
2
2
  --no-private
3
- --title=<%= gem.title %> API
3
+ --title="<%= gem.title %> API"
4
4
  --exclude _pb\.rb$
5
5
  --markup markdown
6
6
  --markup-provider redcarpet
@@ -19,20 +19,25 @@ require "google/cloud/config"
19
19
  config.add_field! :scope, nil, match: [::Array, ::String]
20
20
  config.add_field! :lib_name, nil, match: ::String
21
21
  config.add_field! :lib_version, nil, match: ::String
22
+ <%- unless gem.generate_rest_clients? -%>
22
23
  config.add_field! :interceptors, nil, match: ::Array
24
+ <%- end -%>
23
25
  config.add_field! :timeout, nil, match: ::Numeric
24
26
  config.add_field! :metadata, nil, match: ::Hash
27
+ <%- unless gem.generate_rest_clients? -%>
25
28
  config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
26
29
  config.add_field! :quota_project, nil, match: ::String
30
+ <%- end -%>
27
31
  end
28
32
  <%- end -%>
29
33
  <% end %>
30
34
  <%- gem.services.each do |service| -%>
35
+ <%- client_class_name_suffix = service.generate_rest_clients? ? "Rest::#{service.client_name}" : service.client_name -%>
31
36
  ##
32
37
  # Create a new client object for <%= service.module_name %>.
33
38
  #
34
39
  # By default, this returns an instance of
35
- # <%= gem.docs_link version: gem.default_version, class_name: "#{service.module_name}::Client" %>
40
+ # <%= gem.docs_link version: gem.default_version, class_name: "#{service.module_name}::#{client_class_name_suffix}" %>
36
41
  # for version <%= gem.default_version.capitalize %> of the API.
37
42
  # However, you can specify specify a different API version by passing it in the
38
43
  # `version` parameter. If the <%= service.module_name %> service is
@@ -47,7 +52,7 @@ end
47
52
  <%- end -%>
48
53
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
49
54
  # Defaults to `:<%= gem.default_version %>`.
50
- # @return [<%= service.module_name %>::Client] A client object for the specified version.
55
+ # @return [<%= service.module_name %>::<%= client_class_name_suffix %>] A client object for the specified version.
51
56
  #
52
57
  def self.<%= service.factory_method_name %> version: :<%= gem.default_version %>, &block
53
58
  require "<%= gem.namespace_require %>/#{version.to_s.downcase}"
@@ -57,7 +62,7 @@ def self.<%= service.factory_method_name %> version: :<%= gem.default_version %>
57
62
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
58
63
  .first
59
64
  package_module = <%= gem.namespace %>.const_get package_name
60
- package_module.const_get(:<%= service.module_name %>).const_get(:Client).new(&block)
65
+ package_module.const_get(:<%= service.module_name %>)<% if service.generate_rest_clients? %>.const_get(:Rest)<% end %>.const_get(:Client).new(&block)
61
66
  end
62
67
 
63
68
  <%- end -%>
@@ -74,12 +79,15 @@ end
74
79
  # The library name as recorded in instrumentation and logging.
75
80
  # * `lib_version` (*type:* `String`) -
76
81
  # The library version as recorded in instrumentation and logging.
82
+ <%- unless gem.generate_rest_clients? -%>
77
83
  # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
78
84
  # An array of interceptors that are run before calls are executed.
85
+ <%- end -%>
79
86
  # * `timeout` (*type:* `Numeric`) -
80
87
  # Default timeout in seconds.
81
88
  # * `metadata` (*type:* `Hash{Symbol=>String}`) -
82
- # Additional gRPC headers to be sent with the call.
89
+ # Additional <% if gem.generate_rest_clients? %>REST<% else %>gRPC<% end %> headers to be sent with the call.
90
+ <%- unless gem.generate_rest_clients? -%>
83
91
  # * `retry_policy` (*type:* `Hash`) -
84
92
  # The retry policy. The value is a hash with the following keys:
85
93
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -87,6 +95,7 @@ end
87
95
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
88
96
  # * `:retry_codes` (*type:* `Array<String>`) -
89
97
  # The error codes that should trigger a retry.
98
+ <%- end -%>
90
99
  #
91
100
  # @return [::Google::Cloud::Config] The default configuration used by this library
92
101
  #
@@ -8,13 +8,20 @@ require "gapic/grpc"
8
8
 
9
9
  class <%= gem.namespace %>::ClientConstructionMinitest < Minitest::Test
10
10
  <%- gem.services.each do |service| -%>
11
+ <%- client_class_name_suffix = service.generate_rest_clients? ? "Rest::#{service.client_name}" : service.client_name -%>
11
12
  def test_<%= service.factory_method_name %>
12
13
  Gapic::ServiceStub.stub :new, :stub do
14
+ <%- if service.generate_rest_clients? -%>
15
+ client = <%= gem.namespace %>.<%= service.factory_method_name %> do |config|
16
+ config.credentials = :dummy_credentials
17
+ end
18
+ <%- else -%>
13
19
  grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure
14
20
  client = <%= gem.namespace %>.<%= service.factory_method_name %> do |config|
15
21
  config.credentials = grpc_channel
16
22
  end
17
- assert_kind_of <%= gem.namespaced_class "#{service.module_name}::Client", version: gem.default_version %>, client
23
+ <%- end -%>
24
+ assert_kind_of <%= gem.namespaced_class "#{service.module_name}::#{client_class_name_suffix}", version: gem.default_version %>, client
18
25
  end
19
26
  end
20
27
 
@@ -148,11 +148,6 @@ task :doctest do
148
148
  puts "The <%= gem.name %> gem does not have doctest tests."
149
149
  end
150
150
 
151
- task :cloudrad do
152
- ENV["CLOUDRAD_GEM_NAME"] = "<%= gem.name %>"
153
- sh "bundle exec yard doc --fail-on-warning --yardopts .yardopts-cloudrad"
154
- end
155
-
156
151
  desc "Run the CI build"
157
152
  task :ci do
158
153
  header "BUILDING <%= gem.name %>"
@@ -60,6 +60,7 @@ versions of this library will likely require updates to use this version.
60
60
  See the {file:MIGRATING.md MIGRATING.md} document for more information.
61
61
 
62
62
  <%- end -%>
63
+ <%- unless gem.generate_rest_clients? -%>
63
64
  ## Enabling Logging
64
65
 
65
66
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
@@ -86,6 +87,7 @@ module GRPC
86
87
  end
87
88
  ```
88
89
 
90
+ <%- end -%>
89
91
  ## Supported Ruby Versions
90
92
 
91
93
  This library is supported on Ruby 2.5+.
@@ -1,6 +1,6 @@
1
1
  <%- assert_locals gem -%>
2
2
  --no-private
3
- --title=<%= gem.title %> API
3
+ --title="<%= gem.title %> API"
4
4
  --exclude _pb\.rb$
5
5
  --markup markdown
6
6
  --markup-provider redcarpet
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.10.1
4
+ version: 0.11.0
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: 2021-08-27 00:00:00.000000000 Z
13
+ date: 2022-02-28 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.10.1
35
+ version: 0.11.0
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.10.1
42
+ version: 0.11.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: google-style
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: 1.36.0
77
+ version: 1.41.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: 1.36.0
84
+ version: 1.41.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: minitest
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -124,6 +124,20 @@ dependencies:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
126
  version: '1.0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: pry
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0.14'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0.14'
127
141
  - !ruby/object:Gem::Dependency
128
142
  name: rake
129
143
  requirement: !ruby/object:Gem::Requirement
@@ -163,6 +177,7 @@ files:
163
177
  - lib/gapic/presenters/cloud_gem_presenter.rb
164
178
  - lib/gapic/presenters/wrapper_gem_presenter.rb
165
179
  - lib/gapic/presenters/wrapper_service_presenter.rb
180
+ - lib/gapic/presenters/wrapper_service_rest_presenter.rb
166
181
  - templates/cloud/gem/authentication.erb
167
182
  - templates/cloud/gem/gitignore.erb
168
183
  - templates/cloud/gem/license.erb
@@ -170,7 +185,6 @@ files:
170
185
  - templates/cloud/gem/readme.erb
171
186
  - templates/cloud/gem/repo-metadata.erb
172
187
  - templates/cloud/gem/rubocop.erb
173
- - templates/cloud/gem/yardopts-cloudrad.erb
174
188
  - templates/cloud/gem/yardopts.erb
175
189
  - templates/cloud/service/client/_credentials.erb
176
190
  - templates/cloud/service/client/_requires.erb
@@ -190,7 +204,6 @@ files:
190
204
  - templates/cloud/wrapper_gem/readme.erb
191
205
  - templates/cloud/wrapper_gem/rubocop.erb
192
206
  - templates/cloud/wrapper_gem/version_test.erb
193
- - templates/cloud/wrapper_gem/yardopts-cloudrad.erb
194
207
  - templates/cloud/wrapper_gem/yardopts.erb
195
208
  homepage: https://github.com/googleapis/gapic-generator-ruby
196
209
  licenses:
@@ -1,15 +0,0 @@
1
- <%- assert_locals gem -%>
2
- --no-private
3
- --title=<%= gem.title %> API
4
- --exclude _pb\.rb$
5
- --format yaml
6
- --template-path ../template
7
-
8
- ./lib/**/*.rb
9
- ./proto_docs/**/*.rb
10
- -
11
- README.md
12
- LICENSE.md
13
- <%- unless gem.generic_endpoint? -%>
14
- AUTHENTICATION.md
15
- <%- end -%>
@@ -1,17 +0,0 @@
1
- <%- assert_locals gem -%>
2
- --no-private
3
- --title=<%= gem.title %> API
4
- --exclude _pb\.rb$
5
- --format yaml
6
- --template-path ../template
7
-
8
- ./lib/**/*.rb
9
- -
10
- README.md
11
- <%- unless gem.generic_endpoint? -%>
12
- AUTHENTICATION.md
13
- <%- end -%>
14
- <%- if gem.migration? -%>
15
- MIGRATING.md
16
- <%- end -%>
17
- LICENSE.md