tarantool16 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/tarantool16/dumb_db.rb +5 -1
- data/lib/tarantool16/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e821a9a55bda27633670c894849201c1f0203acd
|
4
|
+
data.tar.gz: ea4593037a977d64d6a0be6046a3dc31257806fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 484f7c408fa1654b81e87269079eee625240327f4d712bbc515da1cb8404811f7ec4a52191063500505ba3f62f9e12dbef72162a8d35dba97bd1c454f1626388
|
7
|
+
data.tar.gz: 4dc730e75618a6940994d6d40d51cdee9a8ff4090add375dddaea8e9e2f26969d5dbd8b50491440f0092c88861eeed1821191c0d3ced57ac7f67a5cf13164255
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Tarantool16
|
2
2
|
|
3
|
-
This is adapter for (
|
3
|
+
This is adapter for [tarantool](http://tarantool.org) version 1.6.
|
4
4
|
|
5
|
-
(adapter for version <=1.5 is called (
|
5
|
+
(adapter for version <=1.5 is called [tarantool](https://github.org/tarantoool/tarantool-ruby))
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
data/lib/tarantool16/dumb_db.rb
CHANGED
@@ -65,7 +65,7 @@ module Tarantool16
|
|
65
65
|
|
66
66
|
def delete(sno, key, opts = {})
|
67
67
|
ino = opts[:index]
|
68
|
-
need_hash = opts[:hash] ||
|
68
|
+
need_hash = opts[:hash] || key.is_a?(Hash)
|
69
69
|
_delete(sno, ino, key, need_hash, RETURN_OR_RAISE)
|
70
70
|
end
|
71
71
|
|
@@ -75,6 +75,10 @@ module Tarantool16
|
|
75
75
|
_update(sno, ino, key, ops, need_hash, RETURN_OR_RAISE)
|
76
76
|
end
|
77
77
|
|
78
|
+
def call(name, args)
|
79
|
+
_call(name, args, RETURN_OR_RAISE)
|
80
|
+
end
|
81
|
+
|
78
82
|
def _synchronized
|
79
83
|
yield
|
80
84
|
end
|
data/lib/tarantool16/version.rb
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.2
|
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-
|
11
|
+
date: 2015-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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.4
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: adapter for Tarantool 1.6
|