valkey-objects 0.1.4 → 0.1.5

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: f7c6c5ce3863e4e9bb256dd1218cd56f62c4b08a48c7c1f5a686aabcfc7d7308
4
- data.tar.gz: 147d64b217213c6eb1ff04a29a0e7dc51a8a46e45c2b0b087042d2df5d4aaa19
3
+ metadata.gz: 62927bbac6643c13516511a2c328cbc766bfe7f158768a96f95a8ce3cbd827aa
4
+ data.tar.gz: 307fe0a9827410d1ddf7f6a9b6cb3470d0643bef7a15542723dc1062c3f8edb9
5
5
  SHA512:
6
- metadata.gz: 24a0bbca6bc325880dc8041b7ba5f76d4ce66863d39c5ba775a9199aab2a569df88e29df4b742f681831667b5a92170418eb796fbdecd8d688573e186d0f58fc
7
- data.tar.gz: 3284592d59354a5ccbf066cde5f715d9eef79c5d3e022ce93589e02c57cf23b0c88b09d4b93ecb4887900ea05f3e5dd8951f40d509b3e915834824c61f8ded57
6
+ metadata.gz: a679b9e5a8e6ec0a674478392044bde83808b6dc97018beac21ef340222d023f5c2b3e02030fbae1adbab5d469f79a4ce78db40180dc3682e432b86dc6917686
7
+ data.tar.gz: 203a4c234d1669e05f19311f6c4f6389de9100bdb13c777d85605507ae71f42e57fe79ac52c1ad73c764c2828ee9c61364aa2b1bc0bf8045d6c8bd58637506cd
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Valkey
4
4
  module Objects
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
@@ -266,6 +266,9 @@ module VK
266
266
  def []= k,v
267
267
  VK.redis.call("HMSET", key, k, v);
268
268
  end
269
+ def to_h
270
+ VK.redis.call("HGETALL", key);
271
+ end
269
272
  end
270
273
 
271
274
  class Q < O
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Olson