lib/acfs/middleware/msgpack.rb in acfs-0.48.1 vs lib/acfs/middleware/msgpack.rb in acfs-0.48.2
- old
+ new
@@ -7,10 +7,10 @@
unless defined?(::Mime::MSGPACK)
::Mime::Type.register 'application/x-msgpack', :msgpack
end
def mime
- ::Mime::MSGPACK
+ ::Mime[:msgpack]
end
def encode(data)
::MessagePack.pack data
end