Skip to content

Commit

Permalink
Updated gemspec. Ruby 1.8.6 included Shellwords.
Browse files Browse the repository at this point in the history
  • Loading branch information
masom committed Dec 28, 2011
1 parent ce60097 commit af953e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/tesseract/process.rb
Expand Up @@ -4,6 +4,8 @@ class Process


attr_reader :image attr_reader :image


CONVERT_COMMAND = 'convert'
TESSERACT_COMMAND = 'tesseract'
# Initialize a Tesseract translation process # Initialize a Tesseract translation process
# image_name is the file to translate # image_name is the file to translate
# options can be of the following: # options can be of the following:
Expand All @@ -18,8 +20,8 @@ def initialize(image_name, options = {})
:tesseract_options => {}, :tesseract_options => {},
:convert_options => {:input => [], :output => []}, :convert_options => {:input => [], :output => []},
:lang => :eng, :lang => :eng,
:convert_command => 'convert', :convert_command => CONVERT_COMMAND,
:tesseract_command => 'tesseract', :tesseract_command => TESSERACT_COMMAND,
:check_deps => false :check_deps => false
} }
@out = nil @out = nil
Expand Down
2 changes: 1 addition & 1 deletion tesseract.gemspec
Expand Up @@ -21,5 +21,5 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"] s.rdoc_options = ["--charset=UTF-8"]
s.required_rubygems_version = ">= 1.3.6" s.required_rubygems_version = ">= 1.3.6"
s.add_development_dependency "bundler", ">= 1.0.0" s.add_development_dependency "bundler", ">= 1.0.0"
s.required_ruby_version = '>= 1.9.0' s.required_ruby_version = '>= 1.8.6'
end end

0 comments on commit af953e1

Please sign in to comment.