bootsnap 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootsnap/load_path_cache/store.rb +2 -1
- data/lib/bootsnap/version.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: 10da15bf6873c1b1011ad6c3f3ebbee62b4845ac
|
4
|
+
data.tar.gz: 28868609b2f92bb2a70cbc984086fe9109382ae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff98ecbb065c35fbe32d476eb3b9940fdd671dc97cb1c2e8db431b9d4c47d471818c7c88748c86a054971c56af0ec37353d1ee707fc49ba6c515112df9e7c7ee
|
7
|
+
data.tar.gz: b11012203f9f4bc33bc3d2d99e212868570db9d5662051b58cd66fb4d0203e1566e78d10cfd23678b8340c50622404f427409c1be9f66875caef4959d2f6c9ca
|
@@ -58,7 +58,8 @@ module Bootsnap
|
|
58
58
|
def load_data
|
59
59
|
@data = begin
|
60
60
|
MessagePack.load(File.binread(@store_path))
|
61
|
-
|
61
|
+
# handle malformed data due to upgrade incompatability
|
62
|
+
rescue Errno::ENOENT, MessagePack::MalformedFormatError, MessagePack::UnknownExtTypeError
|
62
63
|
{}
|
63
64
|
end
|
64
65
|
end
|
data/lib/bootsnap/version.rb
CHANGED