obf 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/obf/utils.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a58e1a87192c7e9bf64eb32fe8a20c6f4ceef9a9
|
|
4
|
+
data.tar.gz: 4741f8305699b3c9bfb1b308bb2102dc1fdc4700
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
166
|
-
"#{file.path}.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|