tarantool16 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4708dae76a87bea3c57671ad97120d4a60ecf5a6
4
- data.tar.gz: 16d47be30532317b0e29380952baaf90e8c2817f
3
+ metadata.gz: 15f0cdce1f8470261a302880dab218dab3bdca96
4
+ data.tar.gz: d4741e947f16031249f814ee47d26f9cb6451ab1
5
5
  SHA512:
6
- metadata.gz: 6577b96200a9cca5e14e5acba0203e14423e505a02219164716f49ec1160d1b1073c59170ac0227753dce09a040e1960524c2edee88efcc892ad68fd7ae731c3
7
- data.tar.gz: d51b72462995c71820cc174c459b1fc2848b0a03cd2b74067bbf7d9d17e5b7a89b8e4cab4f02317cf98396e003fa9072975b93c85daebc754cac4e6449e83aad
6
+ metadata.gz: 570159a2cd2aeda88a8e70d98e334354647c4e8cc32e63cd3cfbef9cf8636d6526564773e7ebf2103ebc421dbb671d3b5ba86dc90e1aff00bb4343b9a88a6dfb
7
+ data.tar.gz: 18ba0629d6f4946d872840b12fce21633137eb161feab8ccb4b71ddf55494100ab62ccb62008a829405b0d79410982f3ec759979d28445dbcf4cb7748a8546e2
@@ -7,7 +7,6 @@ module Tarantool16
7
7
 
8
8
  def initialize(host, opts = {})
9
9
  _init_common(host, opts)
10
- @nbuf = "\x00\x00\x00\x00\x00".force_encoding('BINARY')
11
10
  @reconnect_time = now_f - 1
12
11
  @socket = nil
13
12
  _connect
@@ -69,6 +68,7 @@ module Tarantool16
69
68
  unless greeting && greeting.bytesize == IPROTO_GREETING_SIZE
70
69
  raise Disconnected, "mailformed greeting #{greeting.inspect}"
71
70
  end
71
+ @nbuf = "\x00\x00\x00\x00\x00".force_encoding('BINARY')
72
72
  parse_greeting greeting
73
73
  authenticate if @user
74
74
  rescue ::Errno::ECONNREFUSED, ::Errno::EPIPE, Disconnected => e
@@ -1,3 +1,3 @@
1
1
  module Tarantool16
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
4
+ version: 0.0.5
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-07-29 00:00:00.000000000 Z
11
+ date: 2015-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler