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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c88e9ae5990030e6fd090eaebcc037a128121621b2be5442e12353985530f90
4
- data.tar.gz: 3dd8af72aecf6cb4b2b2fedf692e987bf8aa74c7484e40ee1de677020a141e0b
3
+ metadata.gz: 4a5c16d4ae2bf94ccb62b00d0a7cd0d35fbebc348072649684f7550950ef370d
4
+ data.tar.gz: 162528840170a3992fa85e76d17e6110779cad71d22e5c670cc07647e6c931e6
5
5
  SHA512:
6
- metadata.gz: 0f508a5ab35d5a342c9f6a208bd888277cf82e3ba15215120b2bbdd71a01dff675fe54758e78e5f0a3240dfe3528aefcb120f7cb8b1caa9477f3f6dd5e6a9e5b
7
- data.tar.gz: c1188319beee864fa260f0c6ef5f2b9e34ec0b3778de3901cf544e8ab151075dfb450c45159cff4ae1c666c838f7b2ce105f5cb29c07cbe6f2ff9ff5f815f9ef
6
+ metadata.gz: 9b0f283cae815e46051faed3bb47ce892772f3f8635b9ce85d6c1d1af7e7d66f87e5900079011abe356ff5f34e1a5e3b0a2bb5eb49d85237f47a695724b7acb1
7
+ data.tar.gz: d81fb0ca1e7787beb0dd886a2cf8e58ad53b05de862b73334e1f8eafb395de6d4f30538bd53b0ff27876c6e9d14d3dc4641297b6b669d6f99c193f80a925c71d
@@ -1,5 +1,9 @@
1
1
  # Release History for gapic-generator
2
2
 
3
+ ### 0.2.3 / 2020-04-06
4
+
5
+ * No changes
6
+
3
7
  ### 0.2.2 / 2020-03-31
4
8
 
5
9
  * Updates to common protos, especially core types which were more than a year old.
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Gapic
18
18
  module Generator
19
- VERSION = "0.2.2"
19
+ VERSION = "0.2.3"
20
20
  end
21
21
  end
@@ -134,11 +134,13 @@ module Gapic
134
134
  end
135
135
 
136
136
  def free_tier?
137
- gem_config(:free_tier) ? true : false
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
- gem_config(:yard_strict) ? true : false
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.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-03-31 00:00:00.000000000 Z
13
+ date: 2020-04-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: actionpack