obf 0.6.17 → 0.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/pdf.rb +6 -4
- data/lib/obf/utils.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7c3abd85b51992f1f4799c614b9bd9bbf7ebc4a
|
4
|
+
data.tar.gz: bb987c80108a276f15cbd59df075a695f506bd2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499b6a223fb47fdd8d69d0507aebe7948fbebaf008e259ae10fb3d2a4b252873ba51af9a32fa3ac847491ce78033be987a09ad3c573f1ce0e95b0cdb532ad1b9
|
7
|
+
data.tar.gz: 8e68996c743a16a0cd64f3a0323f514bc090069ab9bd65a7987136ee504a880fbb446f375cd10245536b148b8ca3356756ed8caef030c97c29050bdff83c8c0a
|
data/lib/obf/pdf.rb
CHANGED
@@ -185,10 +185,12 @@ module OBF::PDF
|
|
185
185
|
all_boards = visited_boards + unvisited_boards
|
186
186
|
if all_boards.none?{|b| b['id'] == button['load_board']['id'] || b['path'] == button['load_board']['path'] }
|
187
187
|
path = button['load_board']['path'] || manifest[button['load_board']['id']]
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
188
|
+
if path
|
189
|
+
b = OBF::Utils.parse_obf(zipper.read(path))
|
190
|
+
b['path'] = path
|
191
|
+
button['load_board']['id'] = b['id']
|
192
|
+
unvisited_boards << b
|
193
|
+
end
|
192
194
|
end
|
193
195
|
end
|
194
196
|
end
|
data/lib/obf/utils.rb
CHANGED