bootsnap 0.2.13 → 0.2.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e96b608dfc3efcc29016099867c20525c8c6ab90
4
- data.tar.gz: 1b28b0c7a7da530afa65e6ff7a7a9665a3f0688d
3
+ metadata.gz: 10da15bf6873c1b1011ad6c3f3ebbee62b4845ac
4
+ data.tar.gz: 28868609b2f92bb2a70cbc984086fe9109382ae0
5
5
  SHA512:
6
- metadata.gz: 0b0ebfa2b761317a56ec348ec72f8fa56426f5ebd2f2c9158b951f34408a3d89ac0361cfc1dd00d9556cc9f6c1d722c5db35d80057e54446b894f8047a64f0d5
7
- data.tar.gz: d8071f275a597222f975d7791d3f3b4d08b48ee4ed95cc6135f969295716d7518271d3db78742c29a101ac15844c48e99830598865251d00e3db50aea1b74e84
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
- rescue Errno::ENOENT, MessagePack::MalformedFormatError
61
+ # handle malformed data due to upgrade incompatability
62
+ rescue Errno::ENOENT, MessagePack::MalformedFormatError, MessagePack::UnknownExtTypeError
62
63
  {}
63
64
  end
64
65
  end
@@ -1,3 +1,3 @@
1
1
  module Bootsnap
2
- VERSION = "0.2.13"
2
+ VERSION = "0.2.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootsnap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burke Libbey