tesseract 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ *.gem
2
+ *.DS_Store
3
+ Gemfile.lock
data/LICENSE ADDED
@@ -0,0 +1,10 @@
1
+ Copyright (c) 2011 Scott Davis
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
+
9
+
10
+ Tesseract is released under the Apache License v2.0 more info here (http://code.google.com/p/tesseract-ocr)
@@ -0,0 +1,10 @@
1
+ require 'tesseract/dependency_checker'
2
+ require 'tesseract/file_handler'
3
+ require 'tesseract/process'
4
+ require 'pathname'
5
+ require 'digest/md5'
6
+
7
+
8
+ module Tesseract
9
+
10
+ end
@@ -1,7 +1,3 @@
1
- require 'dependency_checker'
2
- require 'file_handler'
3
- require 'pathname'
4
- require 'digest/md5'
5
1
  module Tesseract
6
2
  class Process
7
3
  attr_reader :image
@@ -0,0 +1,3 @@
1
+ module Tesseract
2
+ VERSION = '0.1.0'
3
+ end
@@ -1,8 +1,12 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "tesseract/version"
4
+
1
5
  Gem::Specification.new do |s|
2
6
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
3
7
 
4
8
  s.name = %q{tesseract}
5
- s.version = '0.0.2'
9
+ s.version = Tesseract::VERSION
6
10
  s.platform = Gem::Platform::RUBY
7
11
 
8
12
  s.authors = ["Scott Davis"]
@@ -13,7 +17,7 @@ Gem::Specification.new do |s|
13
17
  s.files = `git ls-files`.split("\n")
14
18
  s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
15
19
  s.require_path = 'tesseract'
16
- s.homepage = %q{http://github.com/jetviper21/ruby-tesseract}
20
+ s.homepage = %q{http://github.com/scottdavis/ruby-tesseract}
17
21
  s.rdoc_options = ["--charset=UTF-8"]
18
22
  s.required_rubygems_version = ">= 1.3.6"
19
23
  s.add_development_dependency "bundler", ">= 1.0.0"
metadata CHANGED
@@ -1,92 +1,71 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: tesseract
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Scott Davis
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-06-13 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-12-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: bundler
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70353869699840 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 23
29
- segments:
30
- - 1
31
- - 0
32
- - 0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.0.0
34
22
  type: :development
35
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *70353869699840
36
25
  description: Ruby wrapper for google tesseract
37
26
  email: jetviper21@gmail.com
38
27
  executables: []
39
-
40
28
  extensions: []
41
-
42
29
  extra_rdoc_files: []
43
-
44
- files:
30
+ files:
31
+ - .gitignore
45
32
  - Gemfile
46
- - Gemfile.lock
33
+ - LICENSE
47
34
  - Rakefile
48
35
  - Readme.md
36
+ - lib/tesseract.rb
37
+ - lib/tesseract/dependency_checker.rb
38
+ - lib/tesseract/file_handler.rb
39
+ - lib/tesseract/process.rb
40
+ - lib/tesseract/version.rb
49
41
  - tesseract.gemspec
50
- - tesseract/dependency_checker.rb
51
- - tesseract/file_handler.rb
52
- - tesseract/tesseract.rb
53
42
  - test/photo.jpeg
54
43
  - test/tesseract_test.rb
55
44
  - test/test_helper.rb
56
- homepage: http://github.com/jetviper21/ruby-tesseract
45
+ homepage: http://github.com/scottdavis/ruby-tesseract
57
46
  licenses: []
58
-
59
47
  post_install_message:
60
- rdoc_options:
48
+ rdoc_options:
61
49
  - --charset=UTF-8
62
- require_paths:
50
+ require_paths:
63
51
  - tesseract
64
- required_ruby_version: !ruby/object:Gem::Requirement
52
+ required_ruby_version: !ruby/object:Gem::Requirement
65
53
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- hash: 3
70
- segments:
71
- - 0
72
- version: "0"
73
- required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
59
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 23
79
- segments:
80
- - 1
81
- - 3
82
- - 6
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
83
63
  version: 1.3.6
84
64
  requirements: []
85
-
86
65
  rubyforge_project:
87
- rubygems_version: 1.7.2
66
+ rubygems_version: 1.8.10
88
67
  signing_key:
89
68
  specification_version: 3
90
69
  summary: Ruby wrapper for google tesseract
91
70
  test_files: []
92
-
71
+ has_rdoc:
@@ -1,21 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- tesseract (0.0.1)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- mocha (0.9.12)
10
- rake (0.8.7)
11
- shoulda (2.11.3)
12
-
13
- PLATFORMS
14
- ruby
15
-
16
- DEPENDENCIES
17
- bundler (>= 1.0.0)
18
- mocha (~> 0.9.12)
19
- rake (~> 0.8.7)
20
- shoulda (~> 2.11.3)
21
- tesseract!