obf 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/obf/utils.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90b0010f10583fd2821a8156cce075b029b84c59
4
- data.tar.gz: 34839feaf07aad97fc44c30e7338c9fb6e985145
3
+ metadata.gz: a58e1a87192c7e9bf64eb32fe8a20c6f4ceef9a9
4
+ data.tar.gz: 4741f8305699b3c9bfb1b308bb2102dc1fdc4700
5
5
  SHA512:
6
- metadata.gz: 6bf5c2da435e9a0f5d2dc231becf229eaccdc72051fc4468e2fef2ddbb76f0e5421c49d4166998de4dfa55a8829d97d5f1afa31848811db0e095db4bb06f35a7
7
- data.tar.gz: e14b4957015a49266ac482c5550f3a6aea5ba4e857b5e9101926fbbe5cf596087cbdd810c0f0105013e1a8869d9b273a56ae5a3028faa6746b639ff91f19409b
6
+ metadata.gz: aa05e7946f41b79d92e33caf43baf3eb1949d435af473443e8cca0b6bfc257d39a8ed2ac0dd84fb2bc0dc236edf21e803fd20f479a1f299e22f595f86ade7755
7
+ data.tar.gz: a23491f88fcb5b34ec4424fc88ed0f1c4585483516855cdcf98db8a2cc16f5dbbc71b85ca1e0ad21ca0767c88d26348a90e78662d9bfef47f87dff68e5c13bf1
data/lib/obf/utils.rb CHANGED
@@ -162,8 +162,8 @@ module OBF::Utils
162
162
  # TODO: maybe convert to jpg instead of png?
163
163
  # see https://github.com/prawnpdf/prawn/issues/324
164
164
  # in that case, fill the image with a white background, perhaps?
165
- `convert #{file.path} -density 1200 -resize 300x300 -background white -gravity center -extent 300x300 #{file.path}.png`
166
- "#{file.path}.png"
165
+ `convert #{file.path} -density 1200 -resize 200x200 -background white -gravity center -extent 200x200 #{file.path}.jpg`
166
+ "#{file.path}.jpg"
167
167
  end
168
168
  end
169
169
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-24 00:00:00.000000000 Z
11
+ date: 2016-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json