gapic-generator-ads 0.6.5 → 0.6.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9cd6e4fb2a4d5cf334ba9ae22b6ff21215be233711dfec8232529ca38cb3973
4
- data.tar.gz: 379fa0a8ef280c63f0ac971bddcfe863a4717a2d42054a882758a75920b5e273
3
+ metadata.gz: 0d0a24fe6109b0de7d1ba4aa533279a690972fedefee218e288018dc989a0fb0
4
+ data.tar.gz: 396b10fa657ef91c7a01f1b038c62e940ab58b4ce31a975cc735ff8eb4f11a4e
5
5
  SHA512:
6
- metadata.gz: 36d04d925e7e3d10596289b4f084c4ab743bb008dbf27353aa99fe05febdb291e17a5b2897bf41587a8f2d7d143cec0ec5e98d98f6a2fc3e5ef6ce0b20b081f9
7
- data.tar.gz: 3270a3e35757be4c44127875c53874e850588632b92ecf583d067c40b0857f4fcf906ff84fd17989294a70c80b5713f05f2dbfc281e6b59a922f6c0fe59528d5
6
+ metadata.gz: 26c86277cec9623d81e7020f410a0fc41a48dcef00b9c31dbd90f774ab8f4fbf364b908eb73829b634a173656e2c0a41c99a6e9fc666efefe12c80ae7535348c
7
+ data.tar.gz: '0833b560a4d5fd3ed0ea508a82a67889468acababe2149c343c477567e32332f26920b294e6c7503b58831c90c789234f5cc97934bb2ea54daf3ef6ac4e04a56'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Release History for gapic-generator-ads
2
2
 
3
+ ### 0.6.11 / 2021-02-01
4
+
5
+ * Includes changes from gapic-generator 0.6.11.
6
+
7
+ ### 0.6.10 / 2021-01-13
8
+
9
+ * Includes changes from gapic-generator 0.6.10
10
+
11
+ ### 0.6.9 / 2020-12-07
12
+
13
+ * Includes changes from gapic-generator 0.6.9.
14
+
15
+ ### 0.6.8 / 2020-09-16
16
+
17
+ * Includes changes from gapic-generator 0.6.8.
18
+
19
+ ### 0.6.7 / 2020-08-07
20
+
21
+ * Includes changes from gapic-generator 0.6.7.
22
+
23
+ ### 0.6.6 / 2020-08-05
24
+
25
+ * Includes changes from gapic-generator 0.6.6.
26
+
3
27
  ### 0.6.5 / 2020-07-16
4
28
 
5
29
  * Includes changes from gapic-generator 0.6.5.
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # Copyright 2020 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
+ $LOAD_PATH.unshift ::File.expand_path("../lib", __dir__)
19
+ $LOAD_PATH.unshift ::File.expand_path("../../gapic-generator/lib", __dir__)
20
+
21
+ require "gapic/generator/version"
22
+ require "gapic/runner"
23
+ require "google/protobuf/compiler/plugin.pb"
24
+
25
+ # Ensure that no encoding conversions are done on STDIN and STDOUT
26
+ # since we are passing binary data back and forth. Otherwise these
27
+ # streams will be mangled on Windows.
28
+ STDIN.binmode
29
+ STDOUT.binmode
30
+
31
+ request = Google::Protobuf::Compiler::CodeGeneratorRequest.decode STDIN.read
32
+
33
+ # Run the request, specifying the ads generator
34
+ response = Gapic::Runner.run request, generator: :ads
35
+
36
+ STDOUT.print response.serialize
@@ -18,7 +18,7 @@
18
18
  module Gapic
19
19
  module Generator
20
20
  module Ads
21
- VERSION = "0.6.5"
21
+ VERSION = "0.6.11"
22
22
  end
23
23
  end
24
24
  end
@@ -15,6 +15,7 @@
15
15
  # limitations under the License.
16
16
 
17
17
  require "gapic/generators/default_generator"
18
+ require "gapic/generators/default_generator_parameters"
18
19
  require "gapic/presenters"
19
20
 
20
21
  module Gapic
@@ -80,6 +81,12 @@ module Gapic
80
81
 
81
82
  # rubocop:enable all
82
83
 
84
+ # Schema of the parameters that the generator accepts
85
+ # @return [Gapic::Schema::ParameterSchema]
86
+ def self.parameter_schema
87
+ DefaultGeneratorParameters.default_schema
88
+ end
89
+
83
90
  private
84
91
 
85
92
  # Hook to override the default formatter
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gapic-generator-ads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.11
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-07-20 00:00:00.000000000 Z
13
+ date: 2021-02-01 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.5
35
+ version: 0.6.11
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.5
42
+ version: 0.6.11
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: protobuf
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -137,6 +137,7 @@ files:
137
137
  - CHANGELOG.md
138
138
  - LICENSE
139
139
  - README.md
140
+ - bin/protoc-gen-bazel_ruby_ads
140
141
  - bin/protoc-gen-ruby_ads
141
142
  - lib/gapic/generator/ads/version.rb
142
143
  - lib/gapic/generators/ads_generator.rb
@@ -163,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
164
  - !ruby/object:Gem::Version
164
165
  version: '0'
165
166
  requirements: []
166
- rubygems_version: 3.0.3
167
+ rubygems_version: 3.1.4
167
168
  signing_key:
168
169
  specification_version: 4
169
170
  summary: An API Client Generator for Ruby in Ruby!