jsl-moneta 0.6.1 → 0.6.2

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.
data/lib/moneta/rufus.rb CHANGED
@@ -20,12 +20,12 @@ module Moneta
20
20
 
21
21
  def [](key)
22
22
  if val = super
23
- Marshal.load(val.unpack("m")[0])
23
+ Marshal.load(val)
24
24
  end
25
25
  end
26
26
 
27
27
  def []=(key, value)
28
- super(key, [Marshal.dump(value)].pack("m"))
28
+ super(key, Marshal.dump(value))
29
29
  end
30
30
  end
31
31
 
data/lib/moneta/tyrant.rb CHANGED
@@ -22,12 +22,12 @@ module Moneta
22
22
 
23
23
  def [](key)
24
24
  if val = super
25
- Marshal.load(val.unpack("m")[0])
25
+ Marshal.load(val)
26
26
  end
27
27
  end
28
28
 
29
29
  def []=(key, value)
30
- super(key, [Marshal.dump(value)].pack("m"))
30
+ super(key, Marshal.dump(value))
31
31
  end
32
32
  end
33
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsl-moneta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz