shear 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,37 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "shear/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "shear"
7
+ spec.version = Shear::VERSION
8
+ spec.authors = ["Buda.com", "Antonio López"]
9
+ spec.email = ["devs@buda.com", "antonio@buda.com"]
10
+ spec.homepage = "https://github.com/budacom/shear"
11
+ spec.summary = "Tool for getting text from document images"
12
+ spec.description = "A tool used to extract data from a given structured document image"
13
+ spec.license = "MIT"
14
+ spec.metadata = {
15
+ "documentation_uri" => "https://github.com/budacom/shear/wiki",
16
+ "source_code_uri" => "https://github.com/budacom/shear",
17
+ "demo_uri" => "https://shear-demo.herokuapp.com/"
18
+ }
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 2.1"
26
+ spec.add_development_dependency "coveralls", "~> 0.8"
27
+ spec.add_development_dependency "guard-rspec", "~> 4.7"
28
+ spec.add_development_dependency "pry", "~> 0.13"
29
+ spec.add_development_dependency "rspec", "~> 3.4"
30
+ spec.add_development_dependency "webmock", "~> 3.8"
31
+ spec.add_runtime_dependency "activesupport", ">= 4.2"
32
+ spec.add_runtime_dependency "faraday", "~> 0.17"
33
+ spec.add_runtime_dependency "faraday_middleware", "~> 0.14"
34
+ spec.add_runtime_dependency "google-cloud-vision", "~> 1.0"
35
+ spec.add_runtime_dependency "patron", "~> 0.6"
36
+ spec.add_runtime_dependency "rake", ">= 10", "< 14"
37
+ end
metadata ADDED
@@ -0,0 +1,250 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: shear
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Buda.com
8
+ - Antonio López
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2020-08-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '2.1'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '2.1'
28
+ - !ruby/object:Gem::Dependency
29
+ name: coveralls
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '0.8'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.8'
42
+ - !ruby/object:Gem::Dependency
43
+ name: guard-rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '4.7'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '4.7'
56
+ - !ruby/object:Gem::Dependency
57
+ name: pry
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '0.13'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.13'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.4'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.4'
84
+ - !ruby/object:Gem::Dependency
85
+ name: webmock
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '3.8'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '3.8'
98
+ - !ruby/object:Gem::Dependency
99
+ name: activesupport
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '4.2'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '4.2'
112
+ - !ruby/object:Gem::Dependency
113
+ name: faraday
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '0.17'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '0.17'
126
+ - !ruby/object:Gem::Dependency
127
+ name: faraday_middleware
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '0.14'
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '0.14'
140
+ - !ruby/object:Gem::Dependency
141
+ name: google-cloud-vision
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '1.0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '1.0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: patron
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '0.6'
161
+ type: :runtime
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '0.6'
168
+ - !ruby/object:Gem::Dependency
169
+ name: rake
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '10'
175
+ - - "<"
176
+ - !ruby/object:Gem::Version
177
+ version: '14'
178
+ type: :runtime
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '10'
185
+ - - "<"
186
+ - !ruby/object:Gem::Version
187
+ version: '14'
188
+ description: A tool used to extract data from a given structured document image
189
+ email:
190
+ - devs@buda.com
191
+ - antonio@buda.com
192
+ executables: []
193
+ extensions: []
194
+ extra_rdoc_files: []
195
+ files:
196
+ - ".github/workflows/main.yml"
197
+ - ".github/workflows/publisher.yml"
198
+ - ".gitignore"
199
+ - ".hound.yml"
200
+ - ".rspec"
201
+ - ".rubocop.yml"
202
+ - ".ruby-version"
203
+ - CHANGELOG.md
204
+ - Gemfile
205
+ - Gemfile.lock
206
+ - Guardfile
207
+ - LICENSE.txt
208
+ - README.md
209
+ - Rakefile
210
+ - bin/console
211
+ - bin/setup
212
+ - lib/shear.rb
213
+ - lib/shear/bounding_box_utils.rb
214
+ - lib/shear/template.rb
215
+ - lib/shear/template_match.rb
216
+ - lib/shear/version.rb
217
+ - lib/shear/word_collection.rb
218
+ - lib/stencils/base_stencil.rb
219
+ - lib/stencils/example_back_stencil.rb
220
+ - lib/stencils/example_front_stencil.rb
221
+ - lib/stencils/stencil_group.rb
222
+ - lib/utils/vision_utils.rb
223
+ - shear.gemspec
224
+ homepage: https://github.com/budacom/shear
225
+ licenses:
226
+ - MIT
227
+ metadata:
228
+ documentation_uri: https://github.com/budacom/shear/wiki
229
+ source_code_uri: https://github.com/budacom/shear
230
+ demo_uri: https://shear-demo.herokuapp.com/
231
+ post_install_message:
232
+ rdoc_options: []
233
+ require_paths:
234
+ - lib
235
+ required_ruby_version: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - ">="
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
240
+ required_rubygems_version: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ requirements: []
246
+ rubygems_version: 3.0.3
247
+ signing_key:
248
+ specification_version: 4
249
+ summary: Tool for getting text from document images
250
+ test_files: []