ocr 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ Copyright 2012 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,31 @@
1
+ #Ocr
2
+ OCR web services gateway for Ruby.
3
+
4
+ #Description
5
+ Recognize text and characters from image files using web services.
6
+
7
+ ##Web services
8
+
9
+ #Installation
10
+ ##From the command line
11
+
12
+ ```shell
13
+ gem install ocr
14
+ ```
15
+
16
+ ##Using Gemfile
17
+
18
+ 1 Add to your application Gemfile
19
+
20
+ ```ruby
21
+ gem 'ocr'
22
+ ```
23
+
24
+ 2 Type
25
+
26
+ ```shell
27
+ bundle install
28
+ ```
29
+
30
+ # License
31
+ Released under the MIT license: [http://www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)
@@ -0,0 +1,14 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ task :default => :test
5
+
6
+ desc "Run all tests"
7
+ task :test do
8
+ exec "rspec --color"
9
+ end
10
+
11
+ desc "Generate docs"
12
+ task :rdoc do
13
+ exec "rdoc --all"
14
+ end
@@ -0,0 +1,4 @@
1
+ module Ocr
2
+ class Ocr
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module Ocr
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,10 @@
1
+ # encoding: utf-8
2
+
3
+ root = File.expand_path('../..', __FILE__)
4
+ require File.join(root, %w[lib ocr])
5
+
6
+ describe Ocr::Ocr do
7
+ it "should be correct size" do
8
+ Ocr::Ocr.new
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ocr
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Miguel Adolfo Barroso
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-24 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: &16343120 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.7.0
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *16343120
25
+ description: Recognize text and characters from image files using web services.
26
+ email:
27
+ - mabarroso@mabarroso.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - lib/ocr.rb
33
+ - lib/ocr/version.rb
34
+ - MIT-LICENSE
35
+ - Rakefile
36
+ - README.md
37
+ - spec/ocr_spec.rb
38
+ homepage: https://github.com/mabarroso/ocr
39
+ licenses: []
40
+ post_install_message:
41
+ rdoc_options: []
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ requirements: []
57
+ rubyforge_project:
58
+ rubygems_version: 1.8.10
59
+ signing_key:
60
+ specification_version: 3
61
+ summary: OCR web services gateway for Ruby.
62
+ test_files:
63
+ - spec/ocr_spec.rb