Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix unpack 8 and 16 bit

  • Loading branch information...
commit 38e26d7c6d1ff865f0a0afe0a6b6135cbbcccdc5 1 parent 2968c10
@funny-falcon funny-falcon authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/tarantool/util.rb
  2. +1 −1  lib/tarantool/version.rb
View
4 lib/tarantool/util.rb
@@ -28,7 +28,7 @@ module Packer
def unpack_int8!(data)
int = data.getbyte(0)
data[0, 1] = EMPTY
- data
+ int
end
def unpack_int16(data)
@@ -38,7 +38,7 @@ def unpack_int16(data)
def unpack_int16!(data)
int = data.getbyte(0) + data.getbyte(1) * 256
data[0, 2] = EMPTY
- data
+ int
end
def unpack_int32(int)
View
2  lib/tarantool/version.rb
@@ -1,4 +1,4 @@
module Tarantool
- VERSION = "0.4.2"
+ VERSION = "0.4.2.1"
RECORD_VERSION = "0.4.1.1"
end
Please sign in to comment.
Something went wrong with that request. Please try again.