iso_latte 1.4 → 1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iso_latte/version.rb +1 -1
- data/lib/iso_latte.rb +4 -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: fe0347d89e0d7dd0d17b7996c3b15513cc3503fa
|
4
|
+
data.tar.gz: c969cc1840851d701189a435b011f246421b2a9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 063d060ac3b77c262f1b6378f17d6325c099be224bd3958f2f98fb1940e543402b78618250b5e144c0b829d9e9434ee5551d095a72aaa925a3048869ed5113f7
|
7
|
+
data.tar.gz: 2dce0040685a5f153287e632e62cde1946010b14f6c9ec4c1026d3e5ad81e26577eab83958c6699daae707d9d2ca4c02f6665b80ded5a3810a5ba7929dccc2a1
|
data/lib/iso_latte/version.rb
CHANGED
data/lib/iso_latte.rb
CHANGED
@@ -108,15 +108,17 @@ module IsoLatte
|
|
108
108
|
|
109
109
|
def self.marshal(e, io)
|
110
110
|
begin
|
111
|
-
Marshal.dump(e, io)
|
111
|
+
return Marshal.dump(e, io)
|
112
112
|
rescue NoMethodError
|
113
|
+
rescue TypeError
|
113
114
|
end
|
114
115
|
|
115
116
|
begin
|
116
117
|
e2 = e.class.new(e.message)
|
117
118
|
e2.set_backtrace(e.backtrace)
|
118
|
-
Marshal.dump(e2, io)
|
119
|
+
return Marshal.dump(e2, io)
|
119
120
|
rescue NoMethodError
|
121
|
+
rescue TypeError
|
120
122
|
end
|
121
123
|
|
122
124
|
e3 = IsoLatte::Error.new("Marshalling error with: #{e.message}")
|