obf 0.6.16 → 0.6.17

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/external.rb +6 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 763009b31f37886df664851f5af6007cdbc04cd5
4
- data.tar.gz: 909c4cbe753a5780de44cb3b1d012378ed3b3113
3
+ metadata.gz: 143faf79ca1edd262dd8601959daf80e5d17e813
4
+ data.tar.gz: c7e1a61e81ba0f7424443651e1a44c0b0c2acd5b
5
5
  SHA512:
6
- metadata.gz: 09012f645f159f080ce41ef31881ad9014d8d1588f6e10f422f592f08ef7ebb3db8cbee2608bfef289da1341ef5883177880208d88dae9f79b6dede594b5681a
7
- data.tar.gz: 66e213ae72f9361b5eeabb98ac038c60f935b0a66547251e42c7013b3071a722553f9a0d0b1f9a7e9634a9d7dee7c3646fa946472ba6f7466a27847f56312743
6
+ metadata.gz: 1cacd176d740713620bf40d6774aec2324aa7add9effb5233058afe2708a218a26a3c5552e1e4480c75a451267c45628119ffb5b9dd80be5c606d0c223dd6c86
7
+ data.tar.gz: 85724db3be49b12fb3dfd1895ea2677e406b668d875d70a7542329ca7a72c9372b5604f7683d341e2aba3609a286132a7d3ecea70e3d44ee210284bd4f613ac4
data/lib/obf/external.rb CHANGED
@@ -268,10 +268,12 @@ module OBF::External
268
268
  all_boards = visited_boards + unvisited_boards
269
269
  if all_boards.none?{|b| b['id'] == button['load_board']['id'] || b['path'] == button['load_board']['path'] }
270
270
  path = button['load_board']['path'] || manifest[button['load_board']['id']]
271
- b = OBF::Utils.parse_obf(zipper.read(path))
272
- b['path'] = path
273
- button['load_board']['id'] = b['id']
274
- unvisited_boards << b
271
+ if path
272
+ b = OBF::Utils.parse_obf(zipper.read(path))
273
+ b['path'] = path
274
+ button['load_board']['id'] = b['id']
275
+ unvisited_boards << b
276
+ end
275
277
  end
276
278
  end
277
279
  end
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.16
4
+ version: 0.6.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-10 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json