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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbb60f8d6fa05d2ca859b6bdf9bc102ce520e124
4
- data.tar.gz: ccecf26e78ef15774633aeddb7db7f9bd77a648e
3
+ metadata.gz: fe0347d89e0d7dd0d17b7996c3b15513cc3503fa
4
+ data.tar.gz: c969cc1840851d701189a435b011f246421b2a9a
5
5
  SHA512:
6
- metadata.gz: ee629ccfa2d5cfcdc40a1338f3203a244d1afd3dde8de0825eddc7973e376d26bd27466636c957dc9a47828e12d23714ee641965d3869c02206c24528557e5d9
7
- data.tar.gz: 799d0881063a6c3c98a404f18f71f7da2b41854ba83d5e218b44eb6025bf92ca4ffbb663ae2234a473c88cc72af9baf9e88403f3a60a1bf0142c0699a97a0b34
6
+ metadata.gz: 063d060ac3b77c262f1b6378f17d6325c099be224bd3958f2f98fb1940e543402b78618250b5e144c0b829d9e9434ee5551d095a72aaa925a3048869ed5113f7
7
+ data.tar.gz: 2dce0040685a5f153287e632e62cde1946010b14f6c9ec4c1026d3e5ad81e26577eab83958c6699daae707d9d2ca4c02f6665b80ded5a3810a5ba7929dccc2a1
@@ -1,3 +1,3 @@
1
1
  module IsoLatte
2
- VERSION = "1.4"
2
+ VERSION = "1.5"
3
3
  end
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}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso_latte
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.4'
4
+ version: '1.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emcien Engineering