tesseract_bin 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ext/tesseract_bin/extconf.rb +2 -7
- data/lib/tesseract_bin.rb +5 -6
- data/tesseract_bin.gemspec +7 -7
- metadata +12 -14
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -3,15 +3,10 @@ require 'mkmf'
|
|
3
3
|
root = File.expand_path('../../..', __FILE__)
|
4
4
|
|
5
5
|
Dir.chdir(File.join(root, 'vendor/tesseract-2.04')) do
|
6
|
-
system "./configure", "--prefix=#{root} --exec-prefix=#{root}"
|
7
|
-
puts "make"
|
6
|
+
system "./configure", "--prefix=#{root}", "--exec-prefix=#{root}"
|
8
7
|
system "make"
|
9
|
-
|
10
|
-
#system "make install"
|
11
|
-
puts root.inspect
|
12
|
-
# puts "make clean"
|
8
|
+
system "make install"
|
13
9
|
# system "make clean"
|
14
10
|
end
|
15
11
|
|
16
12
|
create_makefile 'tesseract_bin'
|
17
|
-
|
data/lib/tesseract_bin.rb
CHANGED
@@ -2,11 +2,10 @@ require 'pathname'
|
|
2
2
|
|
3
3
|
module TesseractBin
|
4
4
|
Root = Pathname.new(File.expand_path('../..', __FILE__))
|
5
|
-
|
5
|
+
Bin = Root.join('bin')
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
Executables = Bin.children.inject({}) { |h, p|
|
8
|
+
h[p.basename.to_s.to_sym] = p.to_s
|
9
|
+
h
|
10
|
+
}
|
11
11
|
end
|
12
|
-
|
data/tesseract_bin.gemspec
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{tesseract_bin}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2012-01-
|
11
|
+
s.authors = [%q{Danilo Jeremias da Silva}]
|
12
|
+
s.date = %q{2012-01-30}
|
13
13
|
s.description = %q{Gem binary of tesseract version 2.04}
|
14
14
|
s.email = %q{dannnylo@gmail.com}
|
15
|
-
s.extensions = [
|
15
|
+
s.extensions = [%q{ext/tesseract_bin/extconf.rb}]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
18
18
|
"README.rdoc"
|
@@ -631,9 +631,9 @@ Gem::Specification.new do |s|
|
|
631
631
|
"vendor/tesseract-2.04/wordrec/wordclass.h"
|
632
632
|
]
|
633
633
|
s.homepage = %q{http://github.com/dannnylo/tesseract_bin}
|
634
|
-
s.licenses = [
|
635
|
-
s.require_paths = [
|
636
|
-
s.rubygems_version = %q{1.6
|
634
|
+
s.licenses = [%q{MIT}]
|
635
|
+
s.require_paths = [%q{lib}]
|
636
|
+
s.rubygems_version = %q{1.8.6}
|
637
637
|
s.summary = %q{Gem binary of tesseract 2.04}
|
638
638
|
|
639
639
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tesseract_bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
13
|
-
default_executable:
|
12
|
+
date: 2012-01-30 00:00:00.000000000Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: shoulda
|
17
|
-
requirement: &
|
16
|
+
requirement: &13549140 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
@@ -22,10 +21,10 @@ dependencies:
|
|
22
21
|
version: '0'
|
23
22
|
type: :development
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *13549140
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
26
|
name: rdoc
|
28
|
-
requirement: &
|
27
|
+
requirement: &13548540 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ~>
|
@@ -33,10 +32,10 @@ dependencies:
|
|
33
32
|
version: '3.12'
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
35
|
+
version_requirements: *13548540
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
37
|
name: bundler
|
39
|
-
requirement: &
|
38
|
+
requirement: &13547940 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
@@ -44,10 +43,10 @@ dependencies:
|
|
44
43
|
version: 1.0.0
|
45
44
|
type: :development
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
46
|
+
version_requirements: *13547940
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: jeweler
|
50
|
-
requirement: &
|
49
|
+
requirement: &13547340 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ~>
|
@@ -55,7 +54,7 @@ dependencies:
|
|
55
54
|
version: 1.8.3
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
57
|
+
version_requirements: *13547340
|
59
58
|
description: Gem binary of tesseract version 2.04
|
60
59
|
email: dannnylo@gmail.com
|
61
60
|
executables: []
|
@@ -676,7 +675,6 @@ files:
|
|
676
675
|
- vendor/tesseract-2.04/wordrec/tface.h
|
677
676
|
- vendor/tesseract-2.04/wordrec/wordclass.cpp
|
678
677
|
- vendor/tesseract-2.04/wordrec/wordclass.h
|
679
|
-
has_rdoc: true
|
680
678
|
homepage: http://github.com/dannnylo/tesseract_bin
|
681
679
|
licenses:
|
682
680
|
- MIT
|
@@ -692,7 +690,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
692
690
|
version: '0'
|
693
691
|
segments:
|
694
692
|
- 0
|
695
|
-
hash:
|
693
|
+
hash: 2541870848671809768
|
696
694
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
697
695
|
none: false
|
698
696
|
requirements:
|
@@ -701,7 +699,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
701
699
|
version: '0'
|
702
700
|
requirements: []
|
703
701
|
rubyforge_project:
|
704
|
-
rubygems_version: 1.6
|
702
|
+
rubygems_version: 1.8.6
|
705
703
|
signing_key:
|
706
704
|
specification_version: 3
|
707
705
|
summary: Gem binary of tesseract 2.04
|