redpack 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/rblib/redpack/transport.rb +1 -2
  2. metadata +1 -1
@@ -60,12 +60,11 @@ class RedisClientTransport
60
60
  # puts "done waiting for #{@return_queue_name}"
61
61
  if data && data[1]
62
62
  begin
63
- # redis_packet = MessagePack.unpack(data[1])
64
63
  redis_packet = BSON.deserialize(data[1])
65
64
  msg = redis_packet["data"]
66
65
  if msg
67
66
  if msg[0] == RESPONSE
68
- on_response(msg[1], msg[2], msg[3])
67
+ on_response(msg[1].to_i, msg[2], msg[3])
69
68
  else
70
69
  puts "unknown message type #{msg[0]}"
71
70
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: redpack
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.5
5
+ version: 1.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dean Mao