obf 0.6.26 → 0.6.27

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 +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03b2d1fa6adea80a98e5191f2284ac80ec797281
4
- data.tar.gz: 91b2fec98baa06c78ad6e7d95ade707b759613a4
3
+ metadata.gz: 0a2dfd326edc9e166f9013d9695d4d2b4daea593
4
+ data.tar.gz: c1e8018503cc574b66bebd1fd88d2035d310bf13
5
5
  SHA512:
6
- metadata.gz: 8ca7754ab260581591cde8ec1d95bd8968d7155c031a0ce66c7f109c947876596d7ffc20c8cdc79ffbb7b5a5ae0f2eb693c8af6bfe0613c50da0c76df8164448
7
- data.tar.gz: 904658f88c2099eeb06bfb799cbfbcba385ccfd1c59df3b5da80e1699b6a4ddf6455bbb895b5ce086b1a50aae2909b46d66e18ba71a0458c6b1baffd44c16240
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 none -gravity center -extent 300x300 #{file.path}.png`
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.26
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-27 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json