ffi-hiredis_vip-core 0.1.0.pre5 → 0.1.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ffi/hiredis_vip/core.rb +2 -2
- data/lib/ffi/hiredis_vip/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 011c95e3552fd74d301afef570ff2dc398921354
|
4
|
+
data.tar.gz: 3dd7a5c3af5b7807981c933aa7a42b88783545ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5661b92043eed1d43dcf55eec70c3daaec852134f76d085ef7b6152bc62761a8f2ec746b8493654d4dfa7f9f22921c532691386847f866e1284e7cff9af0a01
|
7
|
+
data.tar.gz: 233ce24a273331b4af6a892ee2b561a332ac5a09dc2f76eeea5002c430804d12bedae21cd73e5b4850a181f2e3a9900099320fe61c929c2605f18f0aee8e13b1
|
data/lib/ffi/hiredis_vip/core.rb
CHANGED
@@ -146,7 +146,7 @@ module FFI
|
|
146
146
|
attach_function :redisClusterReset, [:pointer], :void, :blocking => true # :pointer => redisClusterContext
|
147
147
|
|
148
148
|
def self.command(connection, command, *args)
|
149
|
-
::FFI::HiredisVip::Core::RedisReply.new(::FFI::
|
149
|
+
::FFI::HiredisVip::Core::RedisReply.new(::FFI::HiredisVip::Core.redisCommand(connection, command, *args))
|
150
150
|
end
|
151
151
|
|
152
152
|
def self.connect(host, port)
|
@@ -159,7 +159,7 @@ module FFI
|
|
159
159
|
end
|
160
160
|
|
161
161
|
def self.cluster_command(cluster_context, command, *args)
|
162
|
-
::FFI::
|
162
|
+
::FFI::HiredisVip::Core::RedisReply.new(::FFI::HiredisVip::Core.redisClusterCommand(cluster_context, command, *args))
|
163
163
|
end
|
164
164
|
|
165
165
|
def self.cluster_connect(addresses, flags = nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-hiredis_vip-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|