tarantool16 0.0.1 → 0.0.2

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: 7438bad2e35b3f56d1949664f4e51a1c866550ed
4
- data.tar.gz: 802d8dd75d560a73b7b30bf8815908d49a484262
3
+ metadata.gz: e821a9a55bda27633670c894849201c1f0203acd
4
+ data.tar.gz: ea4593037a977d64d6a0be6046a3dc31257806fa
5
5
  SHA512:
6
- metadata.gz: 8cae0fe3c55291a6f2c503f7a4611f950e28d2679e8950b149697090ec185d6f0bfd875ccaf002899aa9b6020cda218c12578ad10a547ea00b3264d67e409d46
7
- data.tar.gz: 7281531d361f6bd6032c36d37c40527aacf0e9607efbc14cd1da6615d952f4e37994b35f1f7930cf62d8c67f7cafab895b72679dce367f8a678d84a7e51cb15c
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 (tarantool)[http://tarantool.org] version 1.6.
3
+ This is adapter for [tarantool](http://tarantool.org) version 1.6.
4
4
 
5
- (adapter for version <=1.5 is called (tarantool)[https://github.org/tarantoool/tarantool-ruby])
5
+ (adapter for version <=1.5 is called [tarantool](https://github.org/tarantoool/tarantool-ruby))
6
6
 
7
7
  ## Installation
8
8
 
@@ -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] || tkey.is_a?(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
@@ -1,3 +1,3 @@
1
1
  module Tarantool16
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
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.1
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-01-26 00:00:00.000000000 Z
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.3
100
+ rubygems_version: 2.4.4
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: adapter for Tarantool 1.6