tarantool 0.5.5 → 0.5.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/lib/tarantool/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a092419a92761fc835af18b5294bdbbf35c9311
4
- data.tar.gz: 8098a252c36696c6b3e9dc818e573360c55da9e3
3
+ metadata.gz: a2ba9359cf06075c2df1253f0b5ea50b0d154871
4
+ data.tar.gz: d224be6e4900c2b6c400e58ad00b66c4c6fb1cd3
5
5
  SHA512:
6
- metadata.gz: 20530e19e7f871e7b1d2785e40d4792df27d59379b337a9a5f2d5999c0ead35db434f187bb3a18b0b90fad1fdf9d6afa6982461b9721fa56a8ed5a9243a94dec
7
- data.tar.gz: bda54ed12cec63fd8951bbba47037de27573f34a82519bb5c604860a83bac12533cf14b48d3b53f6d34939444b4bbe4bc5808a3d9c831832b0db97276e421d45
6
+ metadata.gz: 5f12001871eba01ab75d1a9eb9e9a4892141009efe6c88aa43a47a7c9ad7066b24860479e1ea71cdf6a9ff84cfb33081f5b136e452f0113827daff14677a0e1b
7
+ data.tar.gz: fd7f23675481a2e8daeb36f44a3aefed5d8c5fa28d53f2b6b9f941fc9638e66cd4040b73f5aa4fd0927c76615721164246caf19909a100ff7315ba3ab15b721f
data/README.md CHANGED
@@ -22,10 +22,12 @@ Available field types:
22
22
  - `:int`, `:integer` - nonnegative 32 bit integer
23
23
  - `:int64`, `:integer64` - nonnegative 64 bit integer
24
24
  - `:varint` - 32bit or 64bit integer, depending on value
25
- - `:str`, `:string` - UTF-8 string (attention: empty string is stored as "\x00", which converted back to "" on load)
25
+ - `:str`, `:string` - UTF-8 string (attention: empty string and every string started with "\x00" is prepended with "\x00", which is cut on load. It is done to distinguish empty string from nil)
26
26
  - `:bytes` - ASCII8-bit
27
27
  - `:auto` - do not use it (used for space without definition)
28
28
  - any object with #encode and #decode methods
29
+ (note: Tarantool itself has no notion of types - it stores only 'bytestrings'. So nil is stored as
30
+ empty 'bytestring', and every empty 'bytestring' fetched is converted to nil, despite field type)
29
31
 
30
32
  Declaration of indexes is optional for array spaces and required for hash spaces.
31
33
  When there is no indexes defined for space array, their behaviour is not fixes, so that
@@ -1,4 +1,4 @@
1
1
  module Tarantool
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.5.1"
3
3
  RECORD_VERSION = "0.4.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tarantool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Rudenko