obf 0.6.15 → 0.6.16
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/validator.rb +2 -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: 763009b31f37886df664851f5af6007cdbc04cd5
|
|
4
|
+
data.tar.gz: 909c4cbe753a5780de44cb3b1d012378ed3b3113
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 09012f645f159f080ce41ef31881ad9014d8d1588f6e10f422f592f08ef7ebb3db8cbee2608bfef289da1341ef5883177880208d88dae9f79b6dede594b5681a
|
|
7
|
+
data.tar.gz: 66e213ae72f9361b5eeabb98ac038c60f935b0a66547251e42c7013b3071a722553f9a0d0b1f9a7e9634a9d7dee7c3646fa946472ba6f7466a27847f56312743
|
data/lib/obf/validator.rb
CHANGED
|
@@ -204,7 +204,8 @@ module OBF
|
|
|
204
204
|
end
|
|
205
205
|
board_json = JSON.parse(zipper.read(path)) rescue nil
|
|
206
206
|
if !board_json || board_json['id'] != id
|
|
207
|
-
|
|
207
|
+
board_id = (board_json && board_json['id']) || "null"
|
|
208
|
+
err "board at path (#{path}) defined in manifest with id \"#{id}\" but actually has id \"#{board_id}\""
|
|
208
209
|
end
|
|
209
210
|
end
|
|
210
211
|
end
|