rtesseract 1.0.3 → 1.0.4

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: 42054b679026c44ac1108f2bca357fb50824c835
4
- data.tar.gz: b343b9211f26135a74b0c3caa26a01a674e6daef
3
+ metadata.gz: f448efba206c34ef3b724c94cef32431e204c63d
4
+ data.tar.gz: e5dc7a8774b74c1905f173cc865ccca2529a9ec6
5
5
  SHA512:
6
- metadata.gz: 704c90a0b6f7da50a377a975c472e2c58b01addc4fc669d467e3da81558616fbf42f0e045459794538c94f6546433b6722561fa4fe6fb316a60a034354b9ba7e
7
- data.tar.gz: ad9389e23f54113f5bd28bfb5eb12195a34b8e97f283437edccf3c2a399a6384ae27a8000968f5caeb89b7387c05b46155d36f6488940a414a455efa3bac4813
6
+ metadata.gz: 2e946b231c93e453fe65464dfbd1ca2a460494fc4b07aefcfab0bc16eac7ad2f95ab23079af3b1c6a710c726704a5e8e3d9511fc7877736b96f26b5d52113772
7
+ data.tar.gz: 04b78ea1c989450a88d1b336c8981d9ee50c7520f96b4faa3593f3246acae8fa54a2fbe6768070f5e331b608e62c0e32e6cb8cf78051b363898a25d0176472dd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -5,7 +5,9 @@ module MiniMagickProcessor
5
5
  def image_to_tiff
6
6
  tmp_file = Tempfile.new(["",".tif"])
7
7
  cat = @instance || read_with_processor(@source.to_s)
8
- cat.format("tif")
8
+ cat.format("tif") do |c|
9
+ c.compress "None"
10
+ end
9
11
  cat.crop("#{@w}x#{@h}+#{@x}+#{@y}") unless [@x, @y, @w, @h].compact == []
10
12
  cat.write tmp_file.path.to_s
11
13
  return tmp_file
data/rtesseract.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rtesseract"
8
- s.version = "1.0.3"
8
+ s.version = "1.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Danilo Jeremias da Silva"]
12
- s.date = "2013-12-20"
12
+ s.date = "2014-01-15"
13
13
  s.description = "Ruby library for working with the Tesseract OCR."
14
14
  s.email = "dannnylo@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtesseract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Jeremias da Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-20 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec