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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c17d4474aa30be236e4162762f77dfa70ec2705
4
- data.tar.gz: f0e287223d98ecb2094c48a8dcca9f030834615a
3
+ metadata.gz: 011c95e3552fd74d301afef570ff2dc398921354
4
+ data.tar.gz: 3dd7a5c3af5b7807981c933aa7a42b88783545ee
5
5
  SHA512:
6
- metadata.gz: 9e1c4480814a6faca36e99bf9caca3ca2a31682d722fc9bfb80bf22bea422c0246810f8f21addfd4f3c18c518b3781355f23f05f94dae83c6eed684f200d7d71
7
- data.tar.gz: e3e356414bc3f70ea7fe22a003b8e2d18c7f935348921543689dc80a617c02125692103cf92e2e2f494cff3699c2c590a7bf08f15134a90c77110f5c61d64765
6
+ metadata.gz: d5661b92043eed1d43dcf55eec70c3daaec852134f76d085ef7b6152bc62761a8f2ec746b8493654d4dfa7f9f22921c532691386847f866e1284e7cff9af0a01
7
+ data.tar.gz: 233ce24a273331b4af6a892ee2b561a332ac5a09dc2f76eeea5002c430804d12bedae21cd73e5b4850a181f2e3a9900099320fe61c929c2605f18f0aee8e13b1
@@ -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::AutoPointer.new(::FFI::HiredisVip::Core.redisCommand(connection, command, *args), ::FFI::HiredisVip::Core.method(:freeReplyObject)))
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::AutoPointer.new(::FFI::HiredisVip::Core.redisClusterCommand(cluster_context, command, *args), ::FFI::HiredisVip::Core.method(:freeReplyObject))
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)
@@ -1,7 +1,7 @@
1
1
  module FFI
2
2
  module HiredisVip
3
3
  module Core
4
- VERSION = "0.1.0.pre5"
4
+ VERSION = "0.1.0.pre6"
5
5
  end
6
6
  end
7
7
  end
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.pre5
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-05 00:00:00.000000000 Z
11
+ date: 2016-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi