cloudmersive-ocr-api-client 1.4.6 → 1.4.7
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91379773e64ccfe33dc3a643498621edff3d73dd3ee05e5dc41c82b72f42e683
|
4
|
+
data.tar.gz: d9a63d35fa4b0b6ec529cba064748fa156c7debcef0fd3016c7fb28240eace83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6f86330bb5d23d786360f6daee9d9fc4c9f859a180a0d736ac98114aba29d5f346ecb04280563aefa7fbe9673516b6c56b232b29d85b0f0f7afcef610d02d0c
|
7
|
+
data.tar.gz: '099411024020eae885cd69f0073186abd6a2bb8d35faf52dfe793d348d66eb533fb5be8cda95401bfdc96ea219a57985842ecca390741657b09e5d26d54b7bff'
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The powerful Optical Character Recognition (OCR) APIs let you convert scanned im
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.4.
|
10
|
+
- Package version: 1.4.7
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-ocr-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-ocr-api-client-1.4.
|
26
|
+
gem install ./cloudmersive-ocr-api-client-1.4.7.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-ocr-api-client-1.4.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-ocr-api-client-1.4.7.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'cloudmersive-ocr-api-client', '~> 1.4.
|
34
|
+
gem 'cloudmersive-ocr-api-client', '~> 1.4.7'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/FormFieldDefinition.md
CHANGED
@@ -19,5 +19,6 @@ Name | Type | Description | Notes
|
|
19
19
|
**target_field_horizontal_adjustment** | **Float** | Optional - horizontal adjestment in relative width of the field | [optional]
|
20
20
|
**target_field_vertical_adjustment** | **Float** | Optional - vertical adjestment in relative height of the field | [optional]
|
21
21
|
**ignore** | **Array<String>** | Optional - Ignore any result items that contain a partial or complete match with these text strings | [optional]
|
22
|
+
**options** | **String** | Optional - additional options that can be set for this field definition, separated by commas. Possible values are AllowMultiMatch (allow the same anchor to be matched to multiple fields) | [optional]
|
22
23
|
|
23
24
|
|
@@ -63,6 +63,9 @@ module CloudmersiveOcrApiClient
|
|
63
63
|
# Optional - Ignore any result items that contain a partial or complete match with these text strings
|
64
64
|
attr_accessor :ignore
|
65
65
|
|
66
|
+
# Optional - additional options that can be set for this field definition, separated by commas. Possible values are AllowMultiMatch (allow the same anchor to be matched to multiple fields)
|
67
|
+
attr_accessor :options
|
68
|
+
|
66
69
|
|
67
70
|
# Attribute mapping from ruby-style variable name to JSON key.
|
68
71
|
def self.attribute_map
|
@@ -82,7 +85,8 @@ module CloudmersiveOcrApiClient
|
|
82
85
|
:'target_field_height_relative' => :'TargetFieldHeight_Relative',
|
83
86
|
:'target_field_horizontal_adjustment' => :'TargetFieldHorizontalAdjustment',
|
84
87
|
:'target_field_vertical_adjustment' => :'TargetFieldVerticalAdjustment',
|
85
|
-
:'ignore' => :'Ignore'
|
88
|
+
:'ignore' => :'Ignore',
|
89
|
+
:'options' => :'Options'
|
86
90
|
}
|
87
91
|
end
|
88
92
|
|
@@ -104,7 +108,8 @@ module CloudmersiveOcrApiClient
|
|
104
108
|
:'target_field_height_relative' => :'Float',
|
105
109
|
:'target_field_horizontal_adjustment' => :'Float',
|
106
110
|
:'target_field_vertical_adjustment' => :'Float',
|
107
|
-
:'ignore' => :'Array<String>'
|
111
|
+
:'ignore' => :'Array<String>',
|
112
|
+
:'options' => :'String'
|
108
113
|
}
|
109
114
|
end
|
110
115
|
|
@@ -182,6 +187,10 @@ module CloudmersiveOcrApiClient
|
|
182
187
|
end
|
183
188
|
end
|
184
189
|
|
190
|
+
if attributes.has_key?(:'Options')
|
191
|
+
self.options = attributes[:'Options']
|
192
|
+
end
|
193
|
+
|
185
194
|
end
|
186
195
|
|
187
196
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -217,7 +226,8 @@ module CloudmersiveOcrApiClient
|
|
217
226
|
target_field_height_relative == o.target_field_height_relative &&
|
218
227
|
target_field_horizontal_adjustment == o.target_field_horizontal_adjustment &&
|
219
228
|
target_field_vertical_adjustment == o.target_field_vertical_adjustment &&
|
220
|
-
ignore == o.ignore
|
229
|
+
ignore == o.ignore &&
|
230
|
+
options == o.options
|
221
231
|
end
|
222
232
|
|
223
233
|
# @see the `==` method
|
@@ -229,7 +239,7 @@ module CloudmersiveOcrApiClient
|
|
229
239
|
# Calculates hash code according to all attributes.
|
230
240
|
# @return [Fixnum] Hash code
|
231
241
|
def hash
|
232
|
-
[field_id, left_anchor, top_anchor, bottom_anchor, anchor_mode, data_type, target_digit_count, minimum_character_count, allow_numeric_digits, vertical_alignment_type, horizontal_alignment_type, target_field_width_relative, target_field_height_relative, target_field_horizontal_adjustment, target_field_vertical_adjustment, ignore].hash
|
242
|
+
[field_id, left_anchor, top_anchor, bottom_anchor, anchor_mode, data_type, target_digit_count, minimum_character_count, allow_numeric_digits, vertical_alignment_type, horizontal_alignment_type, target_field_width_relative, target_field_height_relative, target_field_horizontal_adjustment, target_field_vertical_adjustment, ignore, options].hash
|
233
243
|
end
|
234
244
|
|
235
245
|
# Builds the object from hash
|
@@ -128,5 +128,11 @@ describe 'FormFieldDefinition' do
|
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
+
describe 'test attribute "options"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
131
137
|
end
|
132
138
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-ocr-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|