valkey-objects 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 95b4899445513de587a18793a7a1f922aeb91765da84e16eb2d79d51e79b2c32
4
- data.tar.gz: 4a1edf50e93b4a1651f8fa14e5858469187d3be433aa07edd9979b45dcf5b507
3
+ metadata.gz: 01e5229bd508fec6e3a97e55d1dc84ca3e80bbce262eeb93acd7e72a6040bc33
4
+ data.tar.gz: 669be360de85ad18b935cf072fbb0b93249425bb12953526f5045dfd06cfb63b
5
5
  SHA512:
6
- metadata.gz: 32e9005b26cccf862edf94a206f31458b0e5a8257b36fc7302dce6f4496188ec0b0e1f22825ce5a85a1788bb71e9922b08ccc61030ec4a9a0c8a6165ebdcfbba
7
- data.tar.gz: 6164abc6a2f1fdfa391cbd745d1b152150ddc21c5dc41ae2aa339fbcf23fb118248d1a140f78dd073d47ee54cad7f5aeb0bf95e2b10996e382c38943598a67c2
6
+ metadata.gz: 2ddfff4e132c17f2a325b2bf0df69a58fcb4ebf4de8317b01c8b4a01e3eec469551467c0134a817f8731c9e69b9fd40d1e7fdcb9b2037759eed66f719d5b378c
7
+ data.tar.gz: b736aee121f99a64302832116f0cecefb402b7d0f1443dbc3957d9df0856b7140aeab396343bd6f29778dfeb955dd7cc56991f984c1552a1412aa64c6690cbf5
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Valkey
4
4
  module Objects
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
@@ -306,7 +306,7 @@ module VK
306
306
  VK.redis.call("SMEMBERS", key).each_with_index { |e, i| b.call(i, e) }
307
307
  end
308
308
  def include? k
309
- if VK.redis.call("SMISMEMBER", key, k)[0] == 1
309
+ if VK.redis.call("SMISMEMBER", key, k)[0] == 0
310
310
  return false
311
311
  else
312
312
  return true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valkey-objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson