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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/obf/external.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6de44b1031f93761c343d16237a52774bb7eac26115059362c67adbb7e29fcf9
4
- data.tar.gz: c3f9bb83b70af873f954df14810ce63c7ef164eeb3b9fcf5c0766370432edfd5
3
+ metadata.gz: d5887852bddf42b571fd8f7eb218c687bac537a033eced3e39b4337d1dab5649
4
+ data.tar.gz: 8078156b8ff756c09a5d7b4fe6c2ed631bb8ba8bdc74a208d34eb462218cdb98
5
5
  SHA512:
6
- metadata.gz: a59b8d5ad10d2d11aeea4d62c5877f66adba5ce1e5366c1d9db63c49d9a76a54f121d485a33b3f2043895b2520643d04167c723b57f8373953a8fad575afce93
7
- data.tar.gz: 9e484cc271472db85ba86f2e5a78d6271b1168175bbdfc2b9d24c2f09bc8ff25403ff45a3424f0e1e6c17a8fb670783b63c105f39404ee324e8d19ad3b9164c9
6
+ metadata.gz: d92677f8f0365ab972cb8ea060a0bd69b4541342022c6f5600693c3e368ca29c230ca217ba08d9ba0a73b613c029564bc07c4cbcfaf3cd9ef5071c94530ccd61
7
+ data.tar.gz: b4fb1d7224de77acab7d80b6a7cdf707dbcad55d2e54f3e5ff78116e9dbd114259d40a640fbd8221addba0f88c80e6eb0ae3fb633ab8505324b753912f04e7a4
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8.9
4
+ version: 0.9.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer