rtesseract 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.document +0 -0
- data/.rspec +0 -0
- data/.travis.yml +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +17 -16
- data/LICENSE.txt +0 -0
- data/README.rdoc +0 -0
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/lib/processors/mini_magick.rb +0 -0
- data/lib/processors/quick_magick.rb +0 -0
- data/lib/processors/rmagick.rb +0 -0
- data/lib/rtesseract.rb +2 -1
- data/lib/rtesseract/errors.rb +0 -0
- data/lib/rtesseract/mixed.rb +0 -0
- data/rtesseract.gemspec +4 -4
- data/spec/rtesseract_mixed_spec.rb +0 -0
- data/spec/rtesseract_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bff852efe41047726ea1a68ef50438e4656f6765
|
4
|
+
data.tar.gz: 134b056d3ccb8a57c8292339e6b9c72d4d5d25bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39150133cb08807e1ee4d86f6f176748d6056e83c3084339fad2c3d83af833107cf371c124650af56550783916cb5a173234ed15736abbb4017d38c250ced14e
|
7
|
+
data.tar.gz: 07d19dd13c1ad7e4f285eb9cbc448d785f7f2af6718eecb9eb0c6ea36a28d856706f1e5be78da08ec21732276d5f7378b144c81d4d73f4aae5127c5e01eabfa7
|
data/.document
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.3.
|
4
|
+
addressable (2.3.6)
|
5
5
|
builder (3.2.2)
|
6
6
|
coveralls (0.7.0)
|
7
7
|
multi_json (~> 1.3)
|
@@ -9,13 +9,14 @@ GEM
|
|
9
9
|
simplecov (>= 0.7)
|
10
10
|
term-ansicolor
|
11
11
|
thor
|
12
|
-
descendants_tracker (0.0.
|
12
|
+
descendants_tracker (0.0.4)
|
13
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
13
14
|
diff-lcs (1.1.3)
|
14
15
|
docile (1.1.3)
|
15
16
|
faraday (0.9.0)
|
16
17
|
multipart-post (>= 1.2, < 3)
|
17
|
-
git (1.2.
|
18
|
-
github_api (0.11.
|
18
|
+
git (1.2.7)
|
19
|
+
github_api (0.11.3)
|
19
20
|
addressable (~> 2.3)
|
20
21
|
descendants_tracker (~> 0.0.1)
|
21
22
|
faraday (~> 0.8, < 0.10)
|
@@ -23,8 +24,8 @@ GEM
|
|
23
24
|
multi_json (>= 1.7.5, < 2.0)
|
24
25
|
nokogiri (~> 1.6.0)
|
25
26
|
oauth2
|
26
|
-
hashie (
|
27
|
-
highline (1.6.
|
27
|
+
hashie (3.0.0)
|
28
|
+
highline (1.6.21)
|
28
29
|
jeweler (2.0.1)
|
29
30
|
builder
|
30
31
|
bundler (>= 1.0)
|
@@ -35,27 +36,26 @@ GEM
|
|
35
36
|
rake
|
36
37
|
rdoc
|
37
38
|
json (1.8.1)
|
38
|
-
jwt (0.
|
39
|
-
multi_json (>= 1.5)
|
39
|
+
jwt (1.0.0)
|
40
40
|
mime-types (2.1)
|
41
41
|
mini_magick (3.7.0)
|
42
42
|
subexec (~> 0.2.1)
|
43
|
-
mini_portile (0.
|
44
|
-
multi_json (1.
|
43
|
+
mini_portile (0.6.0)
|
44
|
+
multi_json (1.10.1)
|
45
45
|
multi_xml (0.5.5)
|
46
46
|
multipart-post (2.0.0)
|
47
|
-
nokogiri (1.6.1)
|
48
|
-
mini_portile (
|
49
|
-
oauth2 (0.9.
|
47
|
+
nokogiri (1.6.2.1)
|
48
|
+
mini_portile (= 0.6.0)
|
49
|
+
oauth2 (0.9.4)
|
50
50
|
faraday (>= 0.8, < 0.10)
|
51
|
-
jwt (~>
|
51
|
+
jwt (~> 1.0)
|
52
52
|
multi_json (~> 1.3)
|
53
53
|
multi_xml (~> 0.5)
|
54
54
|
rack (~> 1.2)
|
55
55
|
quick_magick (0.8.0)
|
56
56
|
rack (1.5.2)
|
57
|
-
rake (10.
|
58
|
-
rdoc (
|
57
|
+
rake (10.3.2)
|
58
|
+
rdoc (4.1.1)
|
59
59
|
json (~> 1.4)
|
60
60
|
rest-client (1.6.7)
|
61
61
|
mime-types (>= 1.16)
|
@@ -77,6 +77,7 @@ GEM
|
|
77
77
|
term-ansicolor (1.2.2)
|
78
78
|
tins (~> 0.8)
|
79
79
|
thor (0.18.1)
|
80
|
+
thread_safe (0.3.4)
|
80
81
|
tins (0.13.2)
|
81
82
|
|
82
83
|
PLATFORMS
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.rdoc
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.2
|
File without changes
|
File without changes
|
data/lib/processors/rmagick.rb
CHANGED
File without changes
|
data/lib/rtesseract.rb
CHANGED
@@ -163,7 +163,8 @@ class RTesseract
|
|
163
163
|
|
164
164
|
# Read image from memory blob
|
165
165
|
def from_blob(blob)
|
166
|
-
blob_file = Tempfile.new('blob')
|
166
|
+
blob_file = Tempfile.new('blob', :encoding => 'ascii-8bit')
|
167
|
+
blob_file.binmode
|
167
168
|
blob_file.write(blob)
|
168
169
|
blob_file.rewind
|
169
170
|
blob_file.flush
|
data/lib/rtesseract/errors.rb
CHANGED
File without changes
|
data/lib/rtesseract/mixed.rb
CHANGED
File without changes
|
data/rtesseract.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rtesseract 1.2.
|
5
|
+
# stub: rtesseract 1.2.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rtesseract"
|
9
|
-
s.version = "1.2.
|
9
|
+
s.version = "1.2.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Danilo Jeremias da Silva"]
|
14
|
-
s.date = "2014-02
|
14
|
+
s.date = "2014-07-02"
|
15
15
|
s.description = "Ruby library for working with the Tesseract OCR."
|
16
16
|
s.email = "dannnylo@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
|
|
49
49
|
]
|
50
50
|
s.homepage = "http://github.com/dannnylo/rtesseract"
|
51
51
|
s.licenses = ["MIT"]
|
52
|
-
s.rubygems_version = "2.2.
|
52
|
+
s.rubygems_version = "2.2.2"
|
53
53
|
s.summary = "Ruby library for working with the Tesseract OCR."
|
54
54
|
|
55
55
|
if s.respond_to? :specification_version then
|
File without changes
|
data/spec/rtesseract_spec.rb
CHANGED
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtesseract
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Jeremias da Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02
|
11
|
+
date: 2014-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: jeweler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 2.0.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 2.0.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: coveralls
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Ruby library for working with the Tesseract OCR.
|
@@ -102,10 +102,10 @@ extra_rdoc_files:
|
|
102
102
|
- LICENSE.txt
|
103
103
|
- README.rdoc
|
104
104
|
files:
|
105
|
-
- .document
|
106
|
-
- .rspec
|
107
|
-
- .travis.sh
|
108
|
-
- .travis.yml
|
105
|
+
- ".document"
|
106
|
+
- ".rspec"
|
107
|
+
- ".travis.sh"
|
108
|
+
- ".travis.yml"
|
109
109
|
- Gemfile
|
110
110
|
- Gemfile.lock
|
111
111
|
- LICENSE.txt
|
@@ -139,17 +139,17 @@ require_paths:
|
|
139
139
|
- lib
|
140
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- -
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.2.
|
152
|
+
rubygems_version: 2.2.2
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Ruby library for working with the Tesseract OCR.
|