obf 0.6.12 → 0.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/validator.rb +2 -2
- 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: 38e2b9153c3f65d8e3fab0216892f769e76a5a3a
|
4
|
+
data.tar.gz: decef2e81054b457e762409c0254c1ffac52390f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61d0060ed0bfbfadaec1e36404bee843301f8ff55e03af4558b698b46a0a946dd5f2a7e067f6759412734a496b315b7f3626c0b9153c8f7b6c1ff651715627fd
|
7
|
+
data.tar.gz: ea976460fc413420d3a6bcd9e1523a32c6418aebfea70064d1074fe1cf47ba57c73211bc0260db4d49a4fb17ab703235a3e323b3c291525c2d425c7db82e3623
|
data/lib/obf/validator.rb
CHANGED
@@ -210,7 +210,7 @@ module OBF
|
|
210
210
|
end
|
211
211
|
end
|
212
212
|
|
213
|
-
if json['paths'] && json['paths']['images'] && json['paths']['images'].
|
213
|
+
if json['paths'] && json['paths']['images'] && json['paths']['images'].is_a?(Hash)
|
214
214
|
json['paths']['images'].each do |id, path|
|
215
215
|
add_check("manifest_images[#{id}]", "manifest.json path.images.#{id}") do
|
216
216
|
found_paths << path
|
@@ -221,7 +221,7 @@ module OBF
|
|
221
221
|
end
|
222
222
|
end
|
223
223
|
|
224
|
-
if json['paths'] && json['paths']['sounds'] && json['paths']['sounds'].
|
224
|
+
if json['paths'] && json['paths']['sounds'] && json['paths']['sounds'].is_a?(Hash)
|
225
225
|
json['paths']['sounds'].each do |id, path|
|
226
226
|
add_check("manifest_sounds[#{id}]", "manifest.json path.sounds.#{id}") do
|
227
227
|
found_paths << path
|