tarantool16 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tarantool16/connection/common.rb +4 -1
- data/lib/tarantool16/connection/dumb.rb +1 -1
- data/lib/tarantool16/version.rb +1 -1
- data/tarantool16.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62a5d736d466e1c713051fc111c67e3e938bf745
|
4
|
+
data.tar.gz: 29bbca98c7773046dff52f466fad62ff02126137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a56d98dd3030cf79931a9820f8109eb0eaa89b1fceca8b73915642429409e3a597bb80c819aaf7a2eb74f366d0ed8e1dc1098d1c4037f6cbbe4ed8bb463e2630
|
7
|
+
data.tar.gz: cc7c4d07c41ad772b38a4a3cd4fb8c0ed7b533116a444cdddc5c21e2b3f2d5f6e54178ea9fa50d866126c49e963ab0f304e13958790e32ad6f2b74c1a2399b9a
|
@@ -82,9 +82,12 @@ module Tarantool16
|
|
82
82
|
pints = pass1.unpack('L*')
|
83
83
|
sints = scramble.unpack('L*')
|
84
84
|
pints.size.times{|i| sints[i] ^= pints[i] }
|
85
|
+
packed = sints.pack('L*')
|
86
|
+
# tarantool waits packed as a string, so that force msgpack to pack as string
|
87
|
+
packed.force_encoding('utf-8')
|
85
88
|
format_request(REQUEST_TYPE_AUTHENTICATE, next_sync, {
|
86
89
|
IPROTO_USER_NAME => user,
|
87
|
-
IPROTO_TUPLE => [ 'chap-sha1',
|
90
|
+
IPROTO_TUPLE => [ 'chap-sha1', packed ]
|
88
91
|
})
|
89
92
|
end
|
90
93
|
|
data/lib/tarantool16/version.rb
CHANGED
data/tarantool16.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tarantool16
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sokolov Yura aka funny_falcon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.5.9
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.5.9
|
55
55
|
description: adapter for Tarantool 1.6
|
56
56
|
email:
|
57
57
|
- funny.falcon@gmail.com
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.4.
|
100
|
+
rubygems_version: 2.4.5
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: adapter for Tarantool 1.6
|