gapic-generator-ads 0.6.2

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: abb30bab3bfa7c8ac3a07f52ca39027bdc940fdc8e41292fdd246bb3c9b45e19
4
+ data.tar.gz: af07f97f970e449bd6ab2f988eab96d10f13ef87f7a319d95f6cab9aacb727f4
5
+ SHA512:
6
+ metadata.gz: 940e29004b5a7c495888c3f54bcb65c1f884e46b0a9ed4641ba9deb146fdce8c1a825577d7cc12b558d7e7201df7d47758952a8709de168041d939ff7b9c4508
7
+ data.tar.gz: 137e9e9d0aec46e97a6b9014a518bc53609480943a1349d48cdd7a26b9fa60c06e2ef1803caeddef6001fe49a3bc4184ecff89d24ea0cb51e5395ff90a054bd5
@@ -0,0 +1,110 @@
1
+ # Release History for gapic-generator-ads
2
+
3
+ ### 0.6.2 / 2020-06-18
4
+
5
+ * Includes changes from gapic-generator 0.6.2.
6
+
7
+ ### 0.6.1 / 2020-06-16
8
+
9
+ * Includes changes from gapic-generator 0.6.1.
10
+
11
+ ### 0.6.0 / 2020-06-02
12
+
13
+ * Includes changes from gapic-generator 0.6.0.
14
+
15
+ ### 0.5.1 / 2020-05-21
16
+
17
+ * Includes changes from gapic-generator 0.5.1
18
+
19
+ ### 0.5.0 / 2020-05-19
20
+
21
+ * Includes changes from gapic-generator 0.5.0
22
+
23
+ ### 0.4.2 / 2020-04-28
24
+
25
+ * Includes changes from gapic-generator 0.4.2
26
+
27
+ ### 0.4.0 / 2020-04-20
28
+
29
+ * Includes changes from gapic-generator 0.4.0
30
+
31
+ ### 0.3.3 / 2020-04-13
32
+
33
+ * Includes changes from gapic-generator 0.3.3
34
+
35
+ ### 0.3.2 / 2020-04-12
36
+
37
+ * Includes changes from gapic-generator 0.3.2
38
+
39
+ ### 0.3.1 / 2020-04-11
40
+
41
+ * Includes changes from gapic-generator 0.3.1
42
+
43
+ ### 0.3.0 / 2020-04-10
44
+
45
+ * Includes changes from gapic-generator 0.3.0
46
+
47
+ ### 0.2.3 / 2020-04-06
48
+
49
+ * Includes changes from gapic-generator 0.2.3
50
+
51
+ ### 0.2.2 / 2020-03-31
52
+
53
+ * Includes changes from gapic-generator 0.2.2
54
+
55
+ ### 0.2.1 / 2020-03-26
56
+
57
+ * Includes changes from gapic-generator 0.2.1
58
+
59
+ ### 0.2.0 / 2020-03-23
60
+
61
+ * Includes changes from gapic-generator 0.2.0
62
+ * Generate path helpers from both input and output resources by default.
63
+
64
+ ### 0.1.7 / 2020-03-18
65
+
66
+ * Includes changes from gapic-generator 0.1.7
67
+
68
+ ### 0.1.6 / 2020-03-17
69
+
70
+ * Includes changes from gapic-generator 0.1.6
71
+
72
+ ### 0.1.5 / 2020-03-13
73
+
74
+ * Includes changes from gapic-generator 0.1.5
75
+
76
+ ### 0.1.4 / 2020-03-12
77
+
78
+ * Includes changes from gapic-generator 0.1.4
79
+
80
+ ### 0.1.3 / 2020-03-11
81
+
82
+ * Includes changes from gapic-generator 0.1.3
83
+
84
+ ### 0.1.2 / 2020-03-09
85
+
86
+ * Includes changes from gapic-generator 0.1.2
87
+
88
+ ### 0.1.1 / 2020-03-09
89
+
90
+ * Includes changes from gapic-generator 0.1.1
91
+
92
+ ### 0.1.0 / 2020-03-07
93
+
94
+ * Includes changes from gapic-generator 0.1.0
95
+
96
+ ### 0.0.6 / 2020-03-03
97
+
98
+ * Includes changes from gapic-generator 0.0.6
99
+
100
+ ### 0.0.5 / 2020-02-25
101
+
102
+ * Includes changes from gapic-generator 0.0.5
103
+
104
+ ### 0.0.4 / 2020-02-19
105
+
106
+ * Includes changes from gapic-generator 0.0.4
107
+
108
+ ### 0.0.3 / 2020-02-05
109
+
110
+ * No changes specific to gapic-generator-ads
data/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,69 @@
1
+ # Ads Generator for Ruby
2
+
3
+ Create Ruby clients from a protocol buffer description of an API.
4
+
5
+ **Note** This project is a preview. Please try it out and let us know what you think,
6
+ but there are currently no guarantees of stability or support.
7
+
8
+ ## Usage
9
+ ### Install the Proto Compiler
10
+ This generator relies on the Protocol Buffer Compiler to [orchestrate] the
11
+ client generation.
12
+
13
+ ```sh
14
+ # Declare the protobuf version to use.
15
+ $ export PROTOBUF_VERSION=3.6.1
16
+
17
+ # Declare the target installation system.
18
+ # export SYSTEM=osx
19
+ $ export SYSTEM=linux
20
+
21
+ # Get the precompiled protobuf compiler.
22
+ $ curl --location https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip > usr/src/protoc/protoc-${PROTOBUF_VERSION}.zip
23
+ $ cd /usr/src/protoc/
24
+ $ unzip protoc-${PROTOBUF_VERSION}.zip
25
+ $ rm protoc-${PROTOBUF_VERSION}.zip
26
+
27
+ # Link the protoc to the path.
28
+ $ ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc
29
+ $ mkdir -p /protos/
30
+
31
+ # Move the common protobuf files to the local include folder.
32
+ $ cp -R /usr/src/protoc/include/* /usr/local/include/
33
+ ```
34
+
35
+ [orchestrate]: https://developers.google.com/protocol-buffers/docs/reference/ruby-generated
36
+
37
+ ### Build and Install the Generator
38
+ This tool is in pre-alpha so it is not yet released to RubyGems. You will have to
39
+ build the generator from scratch.
40
+
41
+ ```sh
42
+ $ git clone https://github.com/googleapis/gapic-generator-ruby.git
43
+ $ cd gapic-generator-ruby
44
+ $ gem build gapic-generator.gemspec
45
+ $ gem install gapic-generator-0.1.0.gem
46
+ $ which protoc-gen-ruby_gapic
47
+ > {Non-empty path}
48
+ ```
49
+
50
+ ### Generate an API
51
+ Installing this generator exposes `protoc-gen-ruby_gapic` on the PATH. By doing
52
+ so, it gives the protobuf compiler the CLI option `--ruby_gapic_out` on which
53
+ you can specify an output path for this generator.
54
+
55
+ If you want to experiment with an already-existing API, one example is available.
56
+ Note: You need to clone the googleapis repository from GitHub, and change
57
+ to a special branch:
58
+ ```sh
59
+ # Get the protos and it's dependencies.
60
+ $ git clone git@github.com:googleapis/api-common-protos.git
61
+ $ git clone git@github.com:googleapis/googleapis.git
62
+ $ cd googleapis
63
+ $ git checkout --track -b input-contract origin/input-contract
64
+
65
+ # Now you're ready to compile the API.
66
+ $ protoc google/ads/vision/v1/*.proto \
67
+ --proto_path=../api-common-protos/ --proto_path=. \
68
+ --ruby_gapic_out=/dest/
69
+ ```
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # Copyright 2019 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+
18
+
19
+ gem "gapic-generator"
20
+ require "gapic/runner"
21
+ require "google/protobuf/compiler/plugin.pb"
22
+
23
+ # Ensure that no encoding conversions are done on STDIN and STDOUT
24
+ # since we are passing binary data back and forth. Otherwise these
25
+ # streams will be mangled on Windows.
26
+ STDIN.binmode
27
+ STDOUT.binmode
28
+
29
+ request = Google::Protobuf::Compiler::CodeGeneratorRequest.decode STDIN.read
30
+
31
+ # Run the request, specifying the ads generator
32
+ response = Gapic::Runner.run request, generator: :ads
33
+
34
+ STDOUT.print response.serialize
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2019 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
+ # http://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
+
18
+ module Gapic
19
+ module Generator
20
+ module Ads
21
+ VERSION = "0.6.2"
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,91 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2019 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
+ # http://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/generators/default_generator"
18
+ require "gapic/presenters"
19
+
20
+ module Gapic
21
+ module Generators
22
+ # The generator orchestrates the rendering of templates for
23
+ # Google Ads projects.
24
+ class AdsGenerator < DefaultGenerator
25
+ # Initializes the generator.
26
+ #
27
+ # @param api [Gapic::Schema::Api] The API model/context to
28
+ # generate.
29
+ def initialize api
30
+ super
31
+
32
+ # if not specified otherwise in configuration, generate path helpers for the output messages in ads
33
+ api.generate_path_helpers_output = true unless api.generate_path_helpers_output_defined?
34
+ # if not specified otherwise in configuration, apply overrides to proto namespaces in ads
35
+ api.override_proto_namespaces = true unless api.override_proto_namespaces_defined?
36
+
37
+ # Configure to use prefer Ads templates
38
+ use_templates! File.join __dir__, "../../../templates/ads"
39
+ end
40
+
41
+ # Disable Rubocop because we expect generate to grow and violate more
42
+ # and more style rules.
43
+ # rubocop:disable all
44
+
45
+ # Generates all the files for the API.
46
+ #
47
+ # @return [Array<
48
+ # Google::Protobuf::Compiler::CodeGeneratorResponse::File>]
49
+ # The files that were generated for the API.
50
+ def generate
51
+ files = []
52
+
53
+ gem = Gapic::Presenters.gem_presenter @api
54
+
55
+ gem.packages.each do |package|
56
+ # Package level files
57
+ files << g("package.erb", "lib/#{package.package_file_path}", package: package)
58
+ package.services.each do |service|
59
+ # Service level files
60
+ files << g("service.erb", "lib/#{service.service_file_path}", service: service)
61
+ files << g("service/client.erb", "lib/#{service.client_file_path}", service: service)
62
+ files << g("service/credentials.erb", "lib/#{service.credentials_file_path}", service: service)
63
+ files << g("service/paths.erb", "lib/#{service.paths_file_path}", service: service) if service.paths?
64
+ files << g("service/operations.erb", "lib/#{service.operations_file_path}", service: service) if service.lro?
65
+ end
66
+ end
67
+
68
+ # Gem level files
69
+ files << g("gem/version.erb", "lib/#{gem.version_file_path}", gem: gem)
70
+
71
+ gem.proto_files.each do |proto_file|
72
+ files << g("proto_docs/proto_file.erb", "proto_docs/#{proto_file.docs_file_path}", file: proto_file)
73
+ end
74
+ files << g("proto_docs/readme.erb", "proto_docs/README.md", gem: gem)
75
+
76
+ format_files files
77
+
78
+ files
79
+ end
80
+
81
+ # rubocop:enable all
82
+
83
+ private
84
+
85
+ # Hook to override the default formatter
86
+ def format_files files
87
+ super
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,2 @@
1
+ <%- assert_locals service -%>
2
+ #require "google/ads/google_ads/error"
@@ -0,0 +1,3 @@
1
+ <%- assert_locals method -%>
2
+ #rescue GRPC::BadStatus => grpc_error
3
+ # raise Google::Ads::GoogleAds::Error.new grpc_error.message
@@ -0,0 +1,2 @@
1
+ <%- assert_locals method -%>
2
+ # @raise [Google::Ads::GoogleAds::Error] if the RPC is aborted.
@@ -0,0 +1,13 @@
1
+ # Copyright <%= Time.now.year %> Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gapic-generator-ads
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.2
5
+ platform: ruby
6
+ authors:
7
+ - Ernest Landrito
8
+ - Chris Smith
9
+ - Mike Moore
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2020-06-19 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: actionpack
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '5.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '5.2'
29
+ - !ruby/object:Gem::Dependency
30
+ name: gapic-generator
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 0.6.2
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.6.2
43
+ - !ruby/object:Gem::Dependency
44
+ name: protobuf
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '3.8'
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.8'
57
+ - !ruby/object:Gem::Dependency
58
+ name: bundler
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '2.1'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '2.1'
71
+ - !ruby/object:Gem::Dependency
72
+ name: google-style
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: 1.24.0
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: 1.24.0
85
+ - !ruby/object:Gem::Dependency
86
+ name: grpc-tools
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: 1.30.0.pre1
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: 1.30.0.pre1
99
+ - !ruby/object:Gem::Dependency
100
+ name: minitest
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '5.0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '5.0'
113
+ - !ruby/object:Gem::Dependency
114
+ name: minitest-focus
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '1.0'
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: '1.0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: rake
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '12.0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '12.0'
141
+ description:
142
+ email:
143
+ - landrito@google.com
144
+ - quartzmo@gmail.com
145
+ - mike@blowmage.com
146
+ executables:
147
+ - protoc-gen-ruby_ads
148
+ extensions: []
149
+ extra_rdoc_files: []
150
+ files:
151
+ - CHANGELOG.md
152
+ - LICENSE
153
+ - README.md
154
+ - bin/protoc-gen-ruby_ads
155
+ - lib/gapic/generator/ads/version.rb
156
+ - lib/gapic/generators/ads_generator.rb
157
+ - templates/ads/service/client/_requires.erb
158
+ - templates/ads/service/client/method/def/_rescue.erb
159
+ - templates/ads/service/client/method/docs/_error.erb
160
+ - templates/ads/shared/_license.erb
161
+ homepage: https://github.com/googleapis/gapic-generator-ruby
162
+ licenses:
163
+ - Apache-2.0
164
+ metadata: {}
165
+ post_install_message:
166
+ rdoc_options: []
167
+ require_paths:
168
+ - lib
169
+ required_ruby_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ requirements: []
180
+ rubygems_version: 3.0.3
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: An API Client Generator for Ruby in Ruby!
184
+ test_files: []