Permalink
Browse files

Updated gemspec. Ruby 1.8.6 included Shellwords.

  • Loading branch information...
1 parent ce60097 commit af953e11c59038e19ba5e98fce42a0c831a90ca5 @masom masom committed Dec 28, 2011
Showing with 5 additions and 3 deletions.
  1. +4 −2 lib/tesseract/process.rb
  2. +1 −1 tesseract.gemspec
@@ -4,6 +4,8 @@ class Process
attr_reader :image
+ CONVERT_COMMAND = 'convert'
+ TESSERACT_COMMAND = 'tesseract'
# Initialize a Tesseract translation process
# image_name is the file to translate
# options can be of the following:
@@ -18,8 +20,8 @@ def initialize(image_name, options = {})
:tesseract_options => {},
:convert_options => {:input => [], :output => []},
:lang => :eng,
- :convert_command => 'convert',
- :tesseract_command => 'tesseract',
+ :convert_command => CONVERT_COMMAND,
+ :tesseract_command => TESSERACT_COMMAND,
:check_deps => false
}
@out = nil
View
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.required_rubygems_version = ">= 1.3.6"
s.add_development_dependency "bundler", ">= 1.0.0"
- s.required_ruby_version = '>= 1.9.0'
+ s.required_ruby_version = '>= 1.8.6'
end

0 comments on commit af953e1

Please sign in to comment.