gapic-generator 0.2.2 → 0.2.3
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gapic/generator/version.rb +1 -1
- data/lib/gapic/presenters/gem_presenter.rb +4 -2
- data/lib/gapic/presenters/method_presenter.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a5c16d4ae2bf94ccb62b00d0a7cd0d35fbebc348072649684f7550950ef370d
|
|
4
|
+
data.tar.gz: 162528840170a3992fa85e76d17e6110779cad71d22e5c670cc07647e6c931e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b0f283cae815e46051faed3bb47ce892772f3f8635b9ce85d6c1d1af7e7d66f87e5900079011abe356ff5f34e1a5e3b0a2bb5eb49d85237f47a695724b7acb1
|
|
7
|
+
data.tar.gz: d81fb0ca1e7787beb0dd886a2cf8e58ad53b05de862b73334e1f8eafb395de6d4f30538bd53b0ff27876c6e9d14d3dc4641297b6b669d6f99c193f80a925c71d
|
data/CHANGELOG.md
CHANGED
|
@@ -134,11 +134,13 @@ module Gapic
|
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
def free_tier?
|
|
137
|
-
|
|
137
|
+
# Default to false unless the config is explicitly set to "true"
|
|
138
|
+
gem_config(:free_tier) == "true"
|
|
138
139
|
end
|
|
139
140
|
|
|
140
141
|
def yard_strict?
|
|
141
|
-
|
|
142
|
+
# Default to true unless the config is explicitly set to "false"
|
|
143
|
+
gem_config(:yard_strict) != "false"
|
|
142
144
|
end
|
|
143
145
|
|
|
144
146
|
def entrypoint_require
|
|
@@ -160,6 +160,15 @@ module Gapic
|
|
|
160
160
|
|
|
161
161
|
def paged?
|
|
162
162
|
return false if server_streaming? # Cannot page a streaming response
|
|
163
|
+
|
|
164
|
+
# HACK(dazuma, 2020-04-06): Two specific RPCs should not be paged.
|
|
165
|
+
# This is an intentionally hard-coded exception (and a temporary one,
|
|
166
|
+
# to be removed when these methods no longer conform to AIP-4233.) For
|
|
167
|
+
# detailed information, see internal link go/actools-talent-pagination.
|
|
168
|
+
address = @method.address.join "."
|
|
169
|
+
return false if address == "google.cloud.talent.v4beta1.SearchProfiles"
|
|
170
|
+
return false if address == "google.cloud.talent.v4beta1.SearchJobs"
|
|
171
|
+
|
|
163
172
|
paged_request?(@method.input) && paged_response?(@method.output)
|
|
164
173
|
end
|
|
165
174
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gapic-generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
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-
|
|
13
|
+
date: 2020-04-06 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: actionpack
|