google-cloud-vision 0.20.1 → 0.20.2

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: 4487906f7d671b64d23d2ea67cb6c36c49dc00ba
4
- data.tar.gz: 84d12de029a46b14fad0a131534106fe599f2adb
3
+ metadata.gz: 759e9d66fc5ac97bb5ae8c503601c9be1c661a31
4
+ data.tar.gz: 970f2c09c96cbe48ae9c1105a73ce50d16fefe0c
5
5
  SHA512:
6
- metadata.gz: 8ba0547278fafe65e073c064e3ccbb8193b57e82ae8372e515ffc1e7fd84e4ffd7560282b62ebd8532a1610efdb32c645b4edc48517c940fe22ea3bea9bfbdd0
7
- data.tar.gz: 9e144e338efc30dbc26a258596d1ab6033b118402686c0f6189073cc579389997afec4204b58b25edf4854f57d8c4baf8bdde142de0a5df0e7d151ea14451cc4
6
+ metadata.gz: 980170fbb90dd2f6bdcdbb1761418975688d4bfd05c5e618b3949f723d57c30e013cd82fcd811bfe638002c732c28acdf74fb21e850aa89c9a0aa1a6091b9c7e
7
+ data.tar.gz: 6b69299bdc20150cf0507f8f7a1ac9d0d7da05646fc249d453804e4a40f887b8da101830e5cc02417d329e3a50cac01e20607d181b6837f0230dca53e5895a5b
@@ -334,7 +334,7 @@ module Google
334
334
  @io.rewind
335
335
  "(#{@io.read(16)}...)"
336
336
  else
337
- "(#{url})"
337
+ "(#{@url})"
338
338
  end
339
339
  end
340
340
  end
@@ -351,7 +351,7 @@ module Google
351
351
  @io.rewind
352
352
  Google::Apis::VisionV1::Image.new content: @io.read
353
353
  elsif url?
354
- Google::Apis::VisionV1::Image.new source: { gcsImageUri: @url }
354
+ Google::Apis::VisionV1::Image.new source: { gcs_image_uri: @url }
355
355
  else
356
356
  fail ArgumentError, "Unable to use Image with Vision service."
357
357
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Vision
19
- VERSION = "0.20.1"
19
+ VERSION = "0.20.2"
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.20.1
4
+ version: 0.20.2
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-09-03 00:00:00.000000000 Z
12
+ date: 2016-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core