tesseract-ocr 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cb827519f64b7aba71ee22666e49e952a92ec41
4
- data.tar.gz: 2687f882e6e704ebd53026b522e471d7aa57c914
3
+ metadata.gz: 8ba69437f990d1dec349c582d119d1d8a5007477
4
+ data.tar.gz: 7e536618d411e1e568afb1a57958b10074d8c5db
5
5
  SHA512:
6
- metadata.gz: 356b6ed6de748cfaf3dbb017346400a802e4a0c060759f29cc2ddb254448ab4584d655f4bc794ba198cbd43bda35d8cb802665ff2f74ae60ca1f305c89d59f88
7
- data.tar.gz: 2340f05a490d53fb809a5bdcefed75a547674bbcc02b3200cf505335547e073f9fd2a2a04409e31de55865ae3afdc08d5121480246d06bce0432e4e4b17d794f
6
+ metadata.gz: c6509845536b6acc5451974756bc006bbdea858968f3cd793d3d59f57973eb8f777856ab230e9935caccb902ec73a4444de47527132d877b495fa30538dfd77b
7
+ data.tar.gz: 3528e0185fbf1c8c57284baa753e9e75c886f12952ebc2fb69169d9b08ea89a99b0b0df915b5f18e5dc00958baadbaabe696146d3a33284e3186eee100bd5078
@@ -99,7 +99,7 @@ class API
99
99
  end
100
100
  end
101
101
 
102
- def init (datapath = '.', language = 'eng', mode = :DEFAULT)
102
+ def init (datapath = Tesseract.prefix || '.', language = 'eng', mode = :DEFAULT)
103
103
  unless C::BaseAPI.init(to_ffi, datapath, language.to_s, mode).zero?
104
104
  raise 'the API did not Init correctly'
105
105
  end
@@ -24,6 +24,6 @@
24
24
 
25
25
  module Tesseract
26
26
  def self.version
27
- '0.1.6'
27
+ '0.1.7'
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tesseract-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - meh.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-24 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: call-me
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  version: '0'
232
232
  requirements: []
233
233
  rubyforge_project:
234
- rubygems_version: 2.2.0
234
+ rubygems_version: 2.4.5
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: A wrapper library to the tesseract-ocr API.