lib/qrack/transport/buffer08.rb in bunny-0.7.12 vs lib/qrack/transport/buffer08.rb in bunny-0.7.13
- old
+ new
@@ -192,10 +192,10 @@
case value
when String
table.write(:octet, 83) # 'S'
table.write(:longstr, value.to_s)
- when Fixnum
+ when Integer
table.write(:octet, 73) # 'I'
table.write(:long, value)
when Float
table.write(:octet, 68) # 'D'
# XXX there's gotta be a better way to do this..