rhocr 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Manifest +3 -3
  2. data/Rakefile +1 -1
  3. data/lib/rhocr.rb +2 -0
  4. data/rhocr.gemspec +4 -4
  5. metadata +6 -7
  6. data/lib/hocr.rb +0 -1
  7. data/test.rb +0 -8
data/Manifest CHANGED
@@ -1,3 +1,4 @@
1
+ Manifest
1
2
  README
2
3
  Rakefile
3
4
  data/Seite_Tagebuch_H_C_Lang_08.html
@@ -7,12 +8,11 @@ example/public/OCRTest.html
7
8
  example/public/OCRTest_marker.js
8
9
  example/public/img/Seite_Tagebuch_H_C_Lang_05.jpg
9
10
  example/public/img/Seite_Tagebuch_H_C_Lang_08.jpg
10
- lib/hocr.rb
11
11
  lib/ocr_box.rb
12
12
  lib/ocr_page.rb
13
13
  lib/ocrx_word.rb
14
+ lib/rhocr.rb
15
+ rhocr.gemspec
14
16
  rspec/ocr_box_spec.rb
15
17
  rspec/ocr_page_spec.rb
16
18
  rspec/ocrx_word_spec.rb
17
- test.rb
18
- Manifest
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('rhocr', '0.0.1') do |p|
5
+ Echoe.new('rhocr', '0.0.2') do |p|
6
6
  p.description = "Manipulate and use OCR data encode in HOCR"
7
7
  p.url = "http://github.com/daandi/rhocr"
8
8
  p.author = "Andreas Neumann"
data/lib/rhocr.rb ADDED
@@ -0,0 +1,2 @@
1
+ #coding: utf-8
2
+ require_relative "ocr_page"
data/rhocr.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rhocr}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Andreas Neumann"]
9
- s.date = %q{2011-07-01}
9
+ s.date = %q{2011-07-03}
10
10
  s.description = %q{Manipulate and use OCR data encode in HOCR}
11
11
  s.email = %q{info @nospam@ an-it.com}
12
- s.extra_rdoc_files = ["README", "lib/hocr.rb", "lib/ocr_box.rb", "lib/ocr_page.rb", "lib/ocrx_word.rb"]
13
- s.files = ["README", "Rakefile", "data/Seite_Tagebuch_H_C_Lang_08.html", "example/example_server.rb", "example/public/OCRTest.css", "example/public/OCRTest.html", "example/public/OCRTest_marker.js", "example/public/img/Seite_Tagebuch_H_C_Lang_05.jpg", "example/public/img/Seite_Tagebuch_H_C_Lang_08.jpg", "lib/hocr.rb", "lib/ocr_box.rb", "lib/ocr_page.rb", "lib/ocrx_word.rb", "rspec/ocr_box_spec.rb", "rspec/ocr_page_spec.rb", "rspec/ocrx_word_spec.rb", "test.rb", "Manifest", "rhocr.gemspec"]
12
+ s.extra_rdoc_files = ["README", "lib/ocr_box.rb", "lib/ocr_page.rb", "lib/ocrx_word.rb", "lib/rhocr.rb"]
13
+ s.files = ["Manifest", "README", "Rakefile", "data/Seite_Tagebuch_H_C_Lang_08.html", "example/example_server.rb", "example/public/OCRTest.css", "example/public/OCRTest.html", "example/public/OCRTest_marker.js", "example/public/img/Seite_Tagebuch_H_C_Lang_05.jpg", "example/public/img/Seite_Tagebuch_H_C_Lang_08.jpg", "lib/ocr_box.rb", "lib/ocr_page.rb", "lib/ocrx_word.rb", "lib/rhocr.rb", "rhocr.gemspec", "rspec/ocr_box_spec.rb", "rspec/ocr_page_spec.rb", "rspec/ocrx_word_spec.rb"]
14
14
  s.homepage = %q{http://github.com/daandi/rhocr}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rhocr", "--main", "README"]
16
16
  s.require_paths = ["lib"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rhocr
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andreas Neumann
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-01 00:00:00 +02:00
13
+ date: 2011-07-03 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -22,11 +22,12 @@ extensions: []
22
22
 
23
23
  extra_rdoc_files:
24
24
  - README
25
- - lib/hocr.rb
26
25
  - lib/ocr_box.rb
27
26
  - lib/ocr_page.rb
28
27
  - lib/ocrx_word.rb
28
+ - lib/rhocr.rb
29
29
  files:
30
+ - Manifest
30
31
  - README
31
32
  - Rakefile
32
33
  - data/Seite_Tagebuch_H_C_Lang_08.html
@@ -36,16 +37,14 @@ files:
36
37
  - example/public/OCRTest_marker.js
37
38
  - example/public/img/Seite_Tagebuch_H_C_Lang_05.jpg
38
39
  - example/public/img/Seite_Tagebuch_H_C_Lang_08.jpg
39
- - lib/hocr.rb
40
40
  - lib/ocr_box.rb
41
41
  - lib/ocr_page.rb
42
42
  - lib/ocrx_word.rb
43
+ - lib/rhocr.rb
44
+ - rhocr.gemspec
43
45
  - rspec/ocr_box_spec.rb
44
46
  - rspec/ocr_page_spec.rb
45
47
  - rspec/ocrx_word_spec.rb
46
- - test.rb
47
- - Manifest
48
- - rhocr.gemspec
49
48
  has_rdoc: true
50
49
  homepage: http://github.com/daandi/rhocr
51
50
  licenses: []
data/lib/hocr.rb DELETED
@@ -1 +0,0 @@
1
- #coding: utf-8
data/test.rb DELETED
@@ -1,8 +0,0 @@
1
- # coding: utf-8
2
- require_relative "lib/ocr_page.rb"
3
-
4
- ocr = OCRPage.new("data/Seite_Tagebuch_H_C_Lang_08.html")
5
-
6
- p ocr.lines[1]
7
- p ocr.words
8
-