obf 0.6.26 → 0.6.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/utils.rb +1 -1
- 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: 0a2dfd326edc9e166f9013d9695d4d2b4daea593
|
4
|
+
data.tar.gz: c1e8018503cc574b66bebd1fd88d2035d310bf13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f60d286764fd4a389766827dd9480acf4c87b09964f2d5f951799a7aa91d29d9d186dd8a6ba3cd5fcda5214244a12abb4120f7ad68004848fd1399ee4d743364
|
7
|
+
data.tar.gz: a67b8f446e52d5e997f78cfa556719cbcf01d8bd7289db11fb9957af21779c4925e06189e79ac46bba655d393e17098af4c3302dc1d10d13a69d8b796fadd332
|
data/lib/obf/utils.rb
CHANGED
@@ -161,7 +161,7 @@ module OBF::Utils
|
|
161
161
|
# TODO: maybe convert to jpg instead of png?
|
162
162
|
# see https://github.com/prawnpdf/prawn/issues/324
|
163
163
|
# in that case, fill the image with a white background, perhaps?
|
164
|
-
`convert #{file.path} -density 1200 -resize 300x300 -background
|
164
|
+
`convert #{file.path} -density 1200 -resize 300x300 -background white -gravity center -extent 300x300 #{file.path}.png`
|
165
165
|
"#{file.path}.png"
|
166
166
|
end
|
167
167
|
|
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.6.
|
4
|
+
version: 0.6.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Whitmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|