xhash_client 0.3.3 → 0.3.4

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: 21dcbe25c117136469c5d4771d19702d88bd72d53049facee20ed68af710c4d9
4
- data.tar.gz: ef284cac9fc9d8abde1732204705c0c56887cc2124ad4ed85fef5ae895a10a6a
3
+ metadata.gz: b6783bebe798aba1d8ea8082b7f1e40c8c4cb6a3af77734313217ef0b7a90832
4
+ data.tar.gz: a154fd54e709a7d7907ad9ed0ba67c05d2a11fe0b77a38bc23ce86b76f3eecd7
5
5
  SHA512:
6
- metadata.gz: b8864b24dc5d915a72d7a55deb07950f431e7a748286b3a0fcb6bf53b44282902a3db215ab501eb9e61de3d2626dfbfd20a809544f4cddfb21180506ac83ed9e
7
- data.tar.gz: cd939aed1627caf3be233bd18ae3e5db0ed53c25ddf8e19a05fb3183aec2a37d24c22dbf01b78c14542976857ae4c8010b97f622013a478437bbbab5a92730ae
6
+ metadata.gz: 7fa48096137d96837e81cc9e3d9fc322a8ba82ecb4e7547b65e96b498d2da1807c21d2bf3ca8fee7052b41f182da61a36030a0d9fa57b04154672826cfe7b5d1
7
+ data.tar.gz: f6135f52e4ed40d539d291891a931b3c20828f48845489d5977b1f543f4ba8972b02567c58838923e37632a86249d1ff480be9f1fea46d355584c1106b757870
@@ -96,7 +96,7 @@ module Xhash
96
96
  )
97
97
  body = {
98
98
  'document_url' => document_url, 'document_file' => document_file
99
- }
99
+ }.compact
100
100
 
101
101
  response =
102
102
  if document_file.nil?
@@ -1,3 +1,3 @@
1
1
  module Xhash
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
@@ -7,6 +7,8 @@ describe Xhash::OCR do
7
7
  body:
8
8
  JSON.dump(
9
9
  {
10
+ result: true,
11
+ execution_time: 2.7695868015289307,
10
12
  payload: {
11
13
  name: 'MARGARITA',
12
14
  last_name: 'GOMEZ',
@@ -16,7 +18,8 @@ describe Xhash::OCR do
16
18
  neighborhood: 'NACIO PITAGORAS 1253',
17
19
  zip_code: 'INT 4',
18
20
  city: 'COL. MORELOS 04800',
19
- type: 'INE'
21
+ type: 'INE',
22
+ control: "2"
20
23
  }
21
24
  }
22
25
  ),
@@ -46,6 +49,8 @@ describe Xhash::OCR do
46
49
  body:
47
50
  JSON.dump(
48
51
  {
52
+ result: true,
53
+ execution_time: 2.7695868015289307,
49
54
  payload: {
50
55
  name: 'MARGARITA',
51
56
  last_name: 'GOMEZ',
@@ -55,7 +60,8 @@ describe Xhash::OCR do
55
60
  neighborhood: 'NACIO PITAGORAS 1253',
56
61
  zip_code: 'INT 4',
57
62
  city: 'COL. MORELOS 04800',
58
- type: 'INE'
63
+ type: 'INE',
64
+ control: "2"
59
65
  }
60
66
  }
61
67
  ),
@@ -181,6 +187,8 @@ describe Xhash::OCR do
181
187
  body:
182
188
  JSON.dump(
183
189
  {
190
+ result: true,
191
+ execution_time: 2.7695868015289307,
184
192
  payload: {
185
193
  name: 'MARGARITA',
186
194
  last_name: 'GOMEZ',
@@ -190,7 +198,8 @@ describe Xhash::OCR do
190
198
  neighborhood: 'NACIO PITAGORAS 1253',
191
199
  zip_code: 'INT 4',
192
200
  city: 'COL. MORELOS 04800',
193
- type: 'INE'
201
+ type: 'INE',
202
+ control: "2"
194
203
  }
195
204
  }
196
205
  ),
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xhash_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yellowme
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-10-10 00:00:00.000000000 Z
@@ -123,7 +123,7 @@ homepage: https://rubygems.org/gems/xhash-ruby
123
123
  licenses:
124
124
  - MIT
125
125
  metadata: {}
126
- post_install_message:
126
+ post_install_message:
127
127
  rdoc_options: []
128
128
  require_paths:
129
129
  - lib
@@ -138,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.0.3
142
- signing_key:
141
+ rubygems_version: 3.1.2
142
+ signing_key:
143
143
  specification_version: 4
144
144
  summary: Ruby library built for Xhash API
145
145
  test_files: