google-cloud-vision 0.21.0 → 0.21.1

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
  SHA1:
3
- metadata.gz: 327b418796e39bd6b63dcc852e5118650cf14894
4
- data.tar.gz: 634d89492078f70090e2ef0d90ca956fa56b2a36
3
+ metadata.gz: c9918d745c78397b800ee2b890d70b9012b24c17
4
+ data.tar.gz: 6245a30d2b734fce8307a3c486ad279d1f2d3c40
5
5
  SHA512:
6
- metadata.gz: f5ba3495829c5814c14e77df4896d83b0005bf983ad1ad5f693483c1d7aa18c455a8ad2cf43ac86e0b59353448af90a69057496b771380dc33c6261348043e03
7
- data.tar.gz: fe7cbb4adcd8cb72d9b8e382f3c0f57f70c2a1fc52811c01bf2988e4e01c4c8a7ea9ef03d0b0b171dbefdc22ff4949a8a7067242c1069cfa84739df4bec941a2
6
+ metadata.gz: b5858087e90629b3a9ef699cf0b1d8bb8bfc05349d70416c43be628bd5d77ff2d32f9519c3b6cc8faeac83e6132aee69caf7488c5be680d331e99802c916b7e6
7
+ data.tar.gz: b8c19b4ee78bdd94847c462cf0c66de9a8712bb2386ceee3a4ec480d8a77b9957b5c443bf07f58b6b8df98851e850ad8883a6a70617c26b113baa6416b3e5455
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  require "google/cloud/vision/image"
17
- require "google/apis/vision_v1"
18
17
 
19
18
  module Google
20
19
  module Cloud
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  require "google/cloud/vision/location"
17
- require "google/apis/vision_v1"
18
17
  require "stringio"
19
18
  require "base64"
20
19
 
@@ -148,9 +148,9 @@ module Google
148
148
  def batch_annotate_images \
149
149
  requests,
150
150
  options: nil
151
- req = Google::Cloud::Vision::V1::BatchAnnotateImagesRequest.new(
151
+ req = Google::Cloud::Vision::V1::BatchAnnotateImagesRequest.new({
152
152
  requests: requests
153
- )
153
+ }.delete_if { |_, v| v.nil? })
154
154
  @batch_annotate_images.call(req, options)
155
155
  end
156
156
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Vision
19
- VERSION = "0.21.0"
19
+ VERSION = "0.21.1"
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-20 00:00:00.000000000 Z
12
+ date: 2016-10-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  version: '0'
258
258
  requirements: []
259
259
  rubyforge_project:
260
- rubygems_version: 2.6.4
260
+ rubygems_version: 2.5.1
261
261
  signing_key:
262
262
  specification_version: 4
263
263
  summary: API Client library for Google Cloud Vision API