obf 0.9.8.9 → 0.9.8.10
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/external.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5887852bddf42b571fd8f7eb218c687bac537a033eced3e39b4337d1dab5649
|
|
4
|
+
data.tar.gz: 8078156b8ff756c09a5d7b4fe6c2ed631bb8ba8bdc74a208d34eb462218cdb98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d92677f8f0365ab972cb8ea060a0bd69b4541342022c6f5600693c3e368ca29c230ca217ba08d9ba0a73b613c029564bc07c4cbcfaf3cd9ef5071c94530ccd61
|
|
7
|
+
data.tar.gz: b4fb1d7224de77acab7d80b6a7cdf707dbcad55d2e54f3e5ff78116e9dbd114259d40a640fbd8221addba0f88c80e6eb0ae3fb633ab8505324b753912f04e7a4
|
data/lib/obf/external.rb
CHANGED
|
@@ -227,7 +227,7 @@ module OBF::External
|
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
res['grid'] = OBF::Utils.parse_grid(hash['grid']) # TODO: more robust parsing here
|
|
230
|
-
if path_hash
|
|
230
|
+
if path_hash && path_hash['zip']
|
|
231
231
|
zip_path = "board_#{res['id']}.obf"
|
|
232
232
|
path_hash['boards'] ||= {}
|
|
233
233
|
path_hash['boards'][res['id']] = {
|
|
@@ -393,7 +393,7 @@ module OBF::External
|
|
|
393
393
|
end
|
|
394
394
|
else
|
|
395
395
|
OBF::Utils.as_progress_percent(0, 0.5) do
|
|
396
|
-
self.to_obf(board, tmp_path, {images: true})
|
|
396
|
+
self.to_obf(board, tmp_path, nil, {images: true})
|
|
397
397
|
end
|
|
398
398
|
OBF::Utils.as_progress_percent(0.5, 1.0) do
|
|
399
399
|
OBF::OBF.to_pdf(tmp_path, dest_path, opts)
|