nfreeze 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nfreeze.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: 87b897861736ba69245b56933998e9ce2e7e7d88
|
4
|
+
data.tar.gz: 783445f69b18ea05e5c786e9c3ea3190e30aa4a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1a8da2039eb3b6cd779cffdec847535089a50cb4b223a95ba97df255fc701accb65b858beb957f0d2128f1c1e7339426fb0b5d4d24654ff553c751f776bbb06
|
7
|
+
data.tar.gz: 689d30bf4cd7f9bf220ff55ebbbc66816058c3b8bd5e7530ca272e149541d2c0cef92b37b00799f9b3ccd34fcca52e2bf44f625a4f2de0e3eacf624f22c9b901
|
data/lib/nfreeze.rb
CHANGED
@@ -195,7 +195,7 @@ class << Marshal
|
|
195
195
|
x, minor = str.unpack 'cc'
|
196
196
|
netorder = x & 1
|
197
197
|
major = x >> 1
|
198
|
-
if major != 2 or minor
|
198
|
+
if major != 2 or minor < 6
|
199
199
|
raise "unsupported version #{major}.#{minor}"
|
200
200
|
elsif netorder != 1
|
201
201
|
raise "machine-endian unpredictalbe for this input"
|