tesseract 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,3 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gemspec
3
+ gemspec
4
+
5
+ gem 'rake', '~> 0.8.7'
6
+ gem 'shoulda', '~> 2.11.3'
7
+ gem 'mocha', '~> 0.9.12'
@@ -6,10 +6,16 @@ PATH
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
+ mocha (0.9.12)
10
+ rake (0.8.7)
11
+ shoulda (2.11.3)
9
12
 
10
13
  PLATFORMS
11
14
  ruby
12
15
 
13
16
  DEPENDENCIES
14
17
  bundler (>= 1.0.0)
18
+ mocha (~> 0.9.12)
19
+ rake (~> 0.8.7)
20
+ shoulda (~> 2.11.3)
15
21
  tesseract!
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
2
2
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
3
3
 
4
4
  s.name = %q{tesseract}
5
- s.version = '0.0.1'
5
+ s.version = '0.0.2'
6
6
  s.platform = Gem::Platform::RUBY
7
7
 
8
8
  s.authors = ["Scott Davis"]
@@ -1,4 +1,5 @@
1
- Dir["tesseract/*.rb"].each { |file| require file }
1
+ require 'dependency_checker'
2
+ require 'file_handler'
2
3
  require 'pathname'
3
4
  require 'digest/md5'
4
5
  module Tesseract
@@ -1,10 +1,4 @@
1
- require 'test/unit'
2
- require 'test/unit/assertions'
3
- require 'rubygems'
4
- require 'shoulda'
5
1
  require 'test_helper'
6
- require 'mocha'
7
- require '../tesseract/tesseract'
8
2
 
9
3
  class TesseractTest < Test::Unit::TestCase
10
4
  TEST_FILE = File.join(File.dirname(__FILE__), 'photo.jpeg')
@@ -1,3 +1,9 @@
1
+ require 'test/unit'
2
+ require 'test/unit/assertions'
3
+ require 'rubygems'
4
+ require 'shoulda'
5
+ require 'mocha'
6
+ require 'tesseract'
1
7
  class Test::Unit::TestCase
2
8
  def silence_stream(stream)
3
9
  old_stream = stream.dup
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tesseract
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Scott Davis
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-22 00:00:00 -05:00
19
- default_executable:
18
+ date: 2011-06-13 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: bundler
@@ -48,13 +47,12 @@ files:
48
47
  - Rakefile
49
48
  - Readme.md
50
49
  - tesseract.gemspec
51
- - tesseract.rb
52
50
  - tesseract/dependency_checker.rb
53
51
  - tesseract/file_handler.rb
52
+ - tesseract/tesseract.rb
54
53
  - test/photo.jpeg
55
54
  - test/tesseract_test.rb
56
55
  - test/test_helper.rb
57
- has_rdoc: true
58
56
  homepage: http://github.com/jetviper21/ruby-tesseract
59
57
  licenses: []
60
58
 
@@ -86,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
84
  requirements: []
87
85
 
88
86
  rubyforge_project:
89
- rubygems_version: 1.4.2
87
+ rubygems_version: 1.7.2
90
88
  signing_key:
91
89
  specification_version: 3
92
90
  summary: Ruby wrapper for google tesseract